From 93a6590af7f866838d883d92fac655251685c3d7 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 2 May 2009 18:58:26 +0200 Subject: adding doxygen files --- ue2/doxygen/annotated.html | 45 ++ ue2/doxygen/cbitmap_8h-source.html | 92 +++ ue2/doxygen/cfile_8h-source.html | 62 ++ ue2/doxygen/classCBitmap-members.html | 54 ++ ue2/doxygen/classCBitmap.html | 876 +++++++++++++++++++++ ue2/doxygen/classCBitmap.png | Bin 0 -> 638 bytes ue2/doxygen/classCFile-members.html | 34 + ue2/doxygen/classCFile.html | 294 +++++++ ue2/doxygen/classCFile.png | Bin 0 -> 614 bytes ue2/doxygen/classCFile_1_1FileError-members.html | 29 + ue2/doxygen/classCFile_1_1FileError.html | 83 ++ ue2/doxygen/classCPixelFormat-members.html | 35 + ue2/doxygen/classCPixelFormat.html | 351 +++++++++ ue2/doxygen/classCPixelFormat.png | Bin 0 -> 923 bytes ...ssCPixelFormat_1_1PixelFormatError-members.html | 29 + .../classCPixelFormat_1_1PixelFormatError.html | 83 ++ ue2/doxygen/classCPixelFormat__BGR24-members.html | 40 + ue2/doxygen/classCPixelFormat__BGR24.html | 326 ++++++++ ue2/doxygen/classCPixelFormat__BGR24.png | Bin 0 -> 460 bytes ue2/doxygen/classCPixelFormat__BGR555-members.html | 40 + ue2/doxygen/classCPixelFormat__BGR555.html | 322 ++++++++ ue2/doxygen/classCPixelFormat__BGR555.png | Bin 0 -> 472 bytes .../classCPixelFormat__Indexed8-members.html | 40 + ue2/doxygen/classCPixelFormat__Indexed8.html | 326 ++++++++ ue2/doxygen/classCPixelFormat__Indexed8.png | Bin 0 -> 464 bytes ue2/doxygen/classCPixmap-members.html | 61 ++ ue2/doxygen/classCPixmap.html | 596 ++++++++++++++ ue2/doxygen/classCPixmap.png | Bin 0 -> 377 bytes ue2/doxygen/classCScriptparser-members.html | 34 + ue2/doxygen/classCScriptparser.html | 297 +++++++ .../classCScriptparser_1_1ParserError-members.html | 32 + ue2/doxygen/classCScriptparser_1_1ParserError.html | 204 +++++ ue2/doxygen/classCWindowsBitmap-members.html | 58 ++ ue2/doxygen/classCWindowsBitmap.html | 462 +++++++++++ ue2/doxygen/classCWindowsBitmap.png | Bin 0 -> 464 bytes ue2/doxygen/cpixelformat_8h-source.html | 69 ++ ue2/doxygen/cpixelformat__bgr24_8h-source.html | 56 ++ ue2/doxygen/cpixelformat__bgr555_8h-source.html | 64 ++ ue2/doxygen/cpixelformat__indexed8_8h-source.html | 56 ++ ue2/doxygen/cpixmap_8h-source.html | 102 +++ ue2/doxygen/cscriptparser_8h-source.html | 80 ++ ue2/doxygen/cwindowsbitmap_8h-source.html | 108 +++ ue2/doxygen/doxygen.css | 358 +++++++++ ue2/doxygen/doxygen.png | Bin 0 -> 1281 bytes ue2/doxygen/files.html | 31 + ue2/doxygen/functions.html | 293 +++++++ ue2/doxygen/functions_func.html | 203 +++++ ue2/doxygen/functions_vars.html | 150 ++++ ue2/doxygen/hierarchy.html | 51 ++ ue2/doxygen/index.html | 22 + ue2/doxygen/namespaces.html | 23 + ue2/doxygen/namespacestd.html | 32 + .../structCPixelFormat_1_1RGBPIXEL-members.html | 31 + ue2/doxygen/structCPixelFormat_1_1RGBPIXEL.html | 95 +++ ...tructCPixmap_1_1PIXMAP__FILEHEADER-members.html | 37 + .../structCPixmap_1_1PIXMAP__FILEHEADER.html | 197 +++++ ...indowsBitmap_1_1BITMAP__FILEHEADER-members.html | 32 + ...structCWindowsBitmap_1_1BITMAP__FILEHEADER.html | 112 +++ ...indowsBitmap_1_1BITMAP__INFOHEADER-members.html | 39 + ...structCWindowsBitmap_1_1BITMAP__INFOHEADER.html | 231 ++++++ ue2/doxygen/tab_b.gif | Bin 0 -> 35 bytes ue2/doxygen/tab_l.gif | Bin 0 -> 706 bytes ue2/doxygen/tab_r.gif | Bin 0 -> 2585 bytes ue2/doxygen/tabs.css | 102 +++ 64 files changed, 7479 insertions(+) create mode 100644 ue2/doxygen/annotated.html create mode 100644 ue2/doxygen/cbitmap_8h-source.html create mode 100644 ue2/doxygen/cfile_8h-source.html create mode 100644 ue2/doxygen/classCBitmap-members.html create mode 100644 ue2/doxygen/classCBitmap.html create mode 100644 ue2/doxygen/classCBitmap.png create mode 100644 ue2/doxygen/classCFile-members.html create mode 100644 ue2/doxygen/classCFile.html create mode 100644 ue2/doxygen/classCFile.png create mode 100644 ue2/doxygen/classCFile_1_1FileError-members.html create mode 100644 ue2/doxygen/classCFile_1_1FileError.html create mode 100644 ue2/doxygen/classCPixelFormat-members.html create mode 100644 ue2/doxygen/classCPixelFormat.html create mode 100644 ue2/doxygen/classCPixelFormat.png create mode 100644 ue2/doxygen/classCPixelFormat_1_1PixelFormatError-members.html create mode 100644 ue2/doxygen/classCPixelFormat_1_1PixelFormatError.html create mode 100644 ue2/doxygen/classCPixelFormat__BGR24-members.html create mode 100644 ue2/doxygen/classCPixelFormat__BGR24.html create mode 100644 ue2/doxygen/classCPixelFormat__BGR24.png create mode 100644 ue2/doxygen/classCPixelFormat__BGR555-members.html create mode 100644 ue2/doxygen/classCPixelFormat__BGR555.html create mode 100644 ue2/doxygen/classCPixelFormat__BGR555.png create mode 100644 ue2/doxygen/classCPixelFormat__Indexed8-members.html create mode 100644 ue2/doxygen/classCPixelFormat__Indexed8.html create mode 100644 ue2/doxygen/classCPixelFormat__Indexed8.png create mode 100644 ue2/doxygen/classCPixmap-members.html create mode 100644 ue2/doxygen/classCPixmap.html create mode 100644 ue2/doxygen/classCPixmap.png create mode 100644 ue2/doxygen/classCScriptparser-members.html create mode 100644 ue2/doxygen/classCScriptparser.html create mode 100644 ue2/doxygen/classCScriptparser_1_1ParserError-members.html create mode 100644 ue2/doxygen/classCScriptparser_1_1ParserError.html create mode 100644 ue2/doxygen/classCWindowsBitmap-members.html create mode 100644 ue2/doxygen/classCWindowsBitmap.html create mode 100644 ue2/doxygen/classCWindowsBitmap.png create mode 100644 ue2/doxygen/cpixelformat_8h-source.html create mode 100644 ue2/doxygen/cpixelformat__bgr24_8h-source.html create mode 100644 ue2/doxygen/cpixelformat__bgr555_8h-source.html create mode 100644 ue2/doxygen/cpixelformat__indexed8_8h-source.html create mode 100644 ue2/doxygen/cpixmap_8h-source.html create mode 100644 ue2/doxygen/cscriptparser_8h-source.html create mode 100644 ue2/doxygen/cwindowsbitmap_8h-source.html create mode 100644 ue2/doxygen/doxygen.css create mode 100644 ue2/doxygen/doxygen.png create mode 100644 ue2/doxygen/files.html create mode 100644 ue2/doxygen/functions.html create mode 100644 ue2/doxygen/functions_func.html create mode 100644 ue2/doxygen/functions_vars.html create mode 100644 ue2/doxygen/hierarchy.html create mode 100644 ue2/doxygen/index.html create mode 100644 ue2/doxygen/namespaces.html create mode 100644 ue2/doxygen/namespacestd.html create mode 100644 ue2/doxygen/structCPixelFormat_1_1RGBPIXEL-members.html create mode 100644 ue2/doxygen/structCPixelFormat_1_1RGBPIXEL.html create mode 100644 ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER-members.html create mode 100644 ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER.html create mode 100644 ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER-members.html create mode 100644 ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER.html create mode 100644 ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER-members.html create mode 100644 ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER.html create mode 100644 ue2/doxygen/tab_b.gif create mode 100644 ue2/doxygen/tab_l.gif create mode 100644 ue2/doxygen/tab_r.gif create mode 100644 ue2/doxygen/tabs.css (limited to 'ue2') diff --git a/ue2/doxygen/annotated.html b/ue2/doxygen/annotated.html new file mode 100644 index 0000000..02aa8e4 --- /dev/null +++ b/ue2/doxygen/annotated.html @@ -0,0 +1,45 @@ + + +imgsynth2: Class List + + + + +
+ +
+
+ +
+

imgsynth2 Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + + + + + + + + + + + + + + + + +
CBitmapAbstract implementation of CFile handling Bitmaps
CFileAbstract class for handling files. Needed for generic use in CScriptparser
CFile::FileErrorException thrown by implemententations of CFile
CPixelFormatAbstract class for handling different color bitcount of Bitmaps
CPixelFormat::PixelFormatErrorException thrown by implemententations of CPixelFormat
CPixelFormat::RGBPIXELRGB Pixel structure
CPixelFormat_BGR24Implementation of CPixelFormat handling 24bit color Windows Bitmaps
CPixelFormat_BGR555Implementation of CPixelFormat handling BGR555 color (real color) Windows Bitmaps
CPixelFormat_Indexed8Implementation of CPixelFormat handling 24bit indexed bitmaps
CPixmapImplementation of CFile handling Pixmap file format
CPixmap::PIXMAP_FILEHEADERPixmap Header structure
CScriptparserClass for parsing simple scriptfiles
CScriptparser::ParserErrorException thrown by CScriptparser
CWindowsBitmapImplementation of CBitmap handling Windows Bitmaps
CWindowsBitmap::BITMAP_FILEHEADERWindows Bitmap File Header structure
CWindowsBitmap::BITMAP_INFOHEADERWindows Bitmap Info Header structure
+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cbitmap_8h-source.html b/ue2/doxygen/cbitmap_8h-source.html new file mode 100644 index 0000000..87912e7 --- /dev/null +++ b/ue2/doxygen/cbitmap_8h-source.html @@ -0,0 +1,92 @@ + + +imgsynth2: imgsynth2/cbitmap.h Source File + + + + +
+ +
+

imgsynth2/cbitmap.h

00001 
+00008 #ifndef CBITMAP_H
+00009 #define CBITMAP_H
+00010 
+00011 #include <stdint.h>
+00012 #include <map>
+00013 #include "cfile.h"
+00014 #include "cpixelformat.h"
+00015 
+00026 class CBitmap : public CFile
+00027 {
+00028   public:
+00038     CBitmap()
+00039       : m_pixeldata(NULL), m_pixelformat(NULL), m_rowsize(0)
+00040     {}
+00041 
+00042 
+00052     virtual ~CBitmap();
+00053 
+00065     virtual void read(std::ifstream& in) = 0;
+00066 
+00077     virtual void write(std::ofstream& out) = 0;
+00078 
+00088     uint8_t *getPixelData()
+00089     {
+00090       return m_pixeldata;
+00091     }
+00092 
+00102     std::map<uint32_t, CPixelFormat::RGBPIXEL *>& getColorTable()
+00103     {
+00104       return m_colortable;
+00105     }
+00106 
+00116     uint32_t getRowSize()
+00117     {
+00118       return m_rowsize;
+00119     }
+00120 
+00130     virtual const uint32_t getPixelDataSize() = 0;
+00131 
+00141     virtual const uint32_t getHeight() = 0;
+00142 
+00152     virtual const uint32_t getWidth() = 0;
+00153 
+00163     virtual const bool isMirrored() = 0;
+00164 
+00175     virtual const bool hasColorTable() = 0;
+00176 
+00177   protected:
+00189     void callFunc(const std::string& func, const std::list<std::string>& params);
+00190 
+00203     void fillrect(std::list<std::string> params);
+00204 
+00216     void invert(std::list<std::string> params);
+00217 
+00229     void brightness(std::list<std::string> params);
+00230 
+00242     void mirror_y(std::list<std::string> params);
+00243 
+00255     void mirror_x(std::list<std::string> params);
+00256 
+00257     /* members */
+00259     uint8_t *m_pixeldata;
+00261     std::map<uint32_t, CPixelFormat::RGBPIXEL *> m_colortable;
+00263     std::set<CPixelFormat *> m_handlers;
+00265     CPixelFormat *m_pixelformat;
+00267     uint32_t m_rowsize;
+00268 };
+00269 
+00270 #endif
+00271 
+00272 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cfile_8h-source.html b/ue2/doxygen/cfile_8h-source.html new file mode 100644 index 0000000..b048f61 --- /dev/null +++ b/ue2/doxygen/cfile_8h-source.html @@ -0,0 +1,62 @@ + + +imgsynth2: imgsynth2/cfile.h Source File + + + + +
+ +
+

imgsynth2/cfile.h

00001 
+00009 #ifndef CFILE_H
+00010 #define CFILE_H
+00011 
+00012 #include <string>
+00013 #include <set>
+00014 #include <list>
+00015 #include <fstream>
+00016 #include <stdexcept>
+00017 
+00029 class CFile
+00030 {
+00031   public:
+00036     class FileError : public std::invalid_argument {
+00037       public:
+00047         FileError(const std::string& what)
+00048           : std::invalid_argument(what)
+00049         {}
+00050     };
+00051 
+00061     virtual ~CFile()
+00062     {};
+00063 
+00073     virtual void read(std::ifstream& in) = 0;
+00074 
+00084     virtual void write(std::ofstream& out) = 0;
+00085 
+00097     virtual void callFunc(const std::string& func, const std::list<std::string>& params) = 0;
+00098 
+00108     bool supportsType(const std::string& type)
+00109     {
+00110       return (m_types.find(type) == m_types.end()) ? false : true;
+00111     }
+00112 
+00113   protected:
+00114     /* members */
+00116     std::set<std::string> m_types;
+00117 };
+00118 
+00119 #endif
+00120 
+00121 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCBitmap-members.html b/ue2/doxygen/classCBitmap-members.html new file mode 100644 index 0000000..d7a0c38 --- /dev/null +++ b/ue2/doxygen/classCBitmap-members.html @@ -0,0 +1,54 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CBitmap Member List

This is the complete list of members for CBitmap, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
brightness(std::list< std::string > params)CBitmap [protected]
callFunc(const std::string &func, const std::list< std::string > &params)CBitmap [protected, virtual]
CBitmap()CBitmap [inline]
fillrect(std::list< std::string > params)CBitmap [protected]
getColorTable()CBitmap [inline]
getHeight()=0CBitmap [pure virtual]
getPixelData()CBitmap [inline]
getPixelDataSize()=0CBitmap [pure virtual]
getRowSize()CBitmap [inline]
getWidth()=0CBitmap [pure virtual]
hasColorTable()=0CBitmap [pure virtual]
invert(std::list< std::string > params)CBitmap [protected]
isMirrored()=0CBitmap [pure virtual]
m_colortableCBitmap [protected]
m_handlersCBitmap [protected]
m_pixeldataCBitmap [protected]
m_pixelformatCBitmap [protected]
m_rowsizeCBitmap [protected]
m_typesCFile [protected]
mirror_x(std::list< std::string > params)CBitmap [protected]
mirror_y(std::list< std::string > params)CBitmap [protected]
read(std::ifstream &in)=0CBitmap [pure virtual]
supportsType(const std::string &type)CFile [inline]
write(std::ofstream &out)=0CBitmap [pure virtual]
~CBitmap()CBitmap [virtual]
~CFile()CFile [inline, virtual]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCBitmap.html b/ue2/doxygen/classCBitmap.html new file mode 100644 index 0000000..20cedd7 --- /dev/null +++ b/ue2/doxygen/classCBitmap.html @@ -0,0 +1,876 @@ + + +imgsynth2: CBitmap Class Reference + + + + +
+ +
+
+ +
+

CBitmap Class Reference

Abstract implementation of CFile handling Bitmaps. +More... +

+#include <cbitmap.h> +

+

+Inheritance diagram for CBitmap:
+
+ +

+ +CFile +CPixmap +CWindowsBitmap + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CBitmap ()
 Default ctor.
virtual ~CBitmap ()
 Default dtor.
virtual void read (std::ifstream &in)=0
 Reads Windows Bitmap from filestream. On error an exception is thrown.
virtual void write (std::ofstream &out)=0
 Writes Windows Bitmap to filestream.
uint8_t * getPixelData ()
 Returns pointer to pixelbuffer.
std::map< uint32_t,
+ CPixelFormat::RGBPIXEL * > & 
getColorTable ()
 Returns reference to colortable.
uint32_t getRowSize ()
 Returns number of bytes of one row.
virtual const uint32_t getPixelDataSize ()=0
 Return size of pixelbuffer.
virtual const uint32_t getHeight ()=0
 Return height of bitmap in pixel.
virtual const uint32_t getWidth ()=0
 Return width of bitmap in pixel.
virtual const bool isMirrored ()=0
 Windows Bitmaps can be stored upside down.
virtual const bool hasColorTable ()=0
 Check if bitmap has a colortable (we don't support this yet for windows bitmaps).

Protected Member Functions

void callFunc (const std::string &func, const std::list< std::string > &params)
 Delegates the function and its parameters to the correct internal method.
void fillrect (std::list< std::string > params)
 Fills rectangle in image starting on position x, y width size width, height and color red, green, blue.
void invert (std::list< std::string > params)
 Invert image.
void brightness (std::list< std::string > params)
 Increase/decrease brightness of image.
void mirror_y (std::list< std::string > params)
 Mirror image around the y-axis.
void mirror_x (std::list< std::string > params)
 Mirror image around the x-axis.

Protected Attributes

uint8_t * m_pixeldata
std::map< uint32_t,
+ CPixelFormat::RGBPIXEL * > 
m_colortable
std::set
+< CPixelFormat * > 
m_handlers
CPixelFormatm_pixelformat
uint32_t m_rowsize
+


Detailed Description

+Abstract implementation of CFile handling Bitmaps. +

+

Modulname:
cbitmap
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
17.04.2009
+Implementation of CFile handling Bitmaps.

+In order to support operations on bitmaps with different color bitcounts different implementations of CPixelFormat are used. These classes are allowed to modify the bitmap headers and pixelbuffer directly.

+On error CFile::FileError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
CBitmap::CBitmap (  )  [inline]
+
+
+ +

+Default ctor. +

+

Methodname:
CBitmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CBitmap::~CBitmap (  )  [virtual]
+
+
+ +

+Default dtor. +

+

Methodname:
~CBitmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual void CBitmap::read (std::ifstream &  in  )  [pure virtual]
+
+
+ +

+Reads Windows Bitmap from filestream. On error an exception is thrown. +

+

Methodname:
read
+
Parameters:
+ + +
in filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
CFile::FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CFile.

+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + + +
virtual void CBitmap::write (std::ofstream &  out  )  [pure virtual]
+
+
+ +

+Writes Windows Bitmap to filestream. +

+

Methodname:
write
+
Parameters:
+ + +
out filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CFile.

+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + +
uint8_t* CBitmap::getPixelData (  )  [inline]
+
+
+ +

+Returns pointer to pixelbuffer. +

+

Methodname:
getPixelData
+
Parameters:
+ + +
- 
+
+
Returns:
pointer to pixelbuffer
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
std::map<uint32_t, CPixelFormat::RGBPIXEL *>& CBitmap::getColorTable (  )  [inline]
+
+
+ +

+Returns reference to colortable. +

+

Methodname:
getColorTable
+
Parameters:
+ + +
- 
+
+
Returns:
reference to colortable
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
uint32_t CBitmap::getRowSize (  )  [inline]
+
+
+ +

+Returns number of bytes of one row. +

+

Methodname:
getRowSize
+
Parameters:
+ + +
- 
+
+
Returns:
number of bytes of one row
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
virtual const uint32_t CBitmap::getPixelDataSize (  )  [pure virtual]
+
+
+ +

+Return size of pixelbuffer. +

+

Methodname:
getPixelDataSize
+
Parameters:
+ + +
- 
+
+
Returns:
size of pixelbuffer
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + +
virtual const uint32_t CBitmap::getHeight (  )  [pure virtual]
+
+
+ +

+Return height of bitmap in pixel. +

+

Methodname:
getHeight
+
Parameters:
+ + +
- 
+
+
Returns:
height of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + +
virtual const uint32_t CBitmap::getWidth (  )  [pure virtual]
+
+
+ +

+Return width of bitmap in pixel. +

+

Methodname:
getWidth
+
Parameters:
+ + +
- 
+
+
Returns:
width of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + +
virtual const bool CBitmap::isMirrored (  )  [pure virtual]
+
+
+ +

+Windows Bitmaps can be stored upside down. +

+

Methodname:
isMirrored
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap is stored upside down. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + +
virtual const bool CBitmap::hasColorTable (  )  [pure virtual]
+
+
+ +

+Check if bitmap has a colortable (we don't support this yet for windows bitmaps). +

+

Methodname:
hasColorTable
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap has a colortable. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void CBitmap::callFunc (const std::string &  func,
const std::list< std::string > &  params 
) [protected, virtual]
+
+
+ +

+Delegates the function and its parameters to the correct internal method. +

+

Methodname:
callFunc
+
Parameters:
+ + + +
func function name
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
ParserError 
+
+
Conditions:
none
+ +

Implements CFile.

+ +
+

+ +

+
+ + + + + + + + + +
void CBitmap::fillrect (std::list< std::string >  params  )  [protected]
+
+
+ +

+Fills rectangle in image starting on position x, y width size width, height and color red, green, blue. +

+

Methodname:
fillrect
+
Parameters:
+ + +
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+Scriptfile syntax: fillrect(x, y, width, height, red, green, blue) +
+

+ +

+
+ + + + + + + + + +
void CBitmap::invert (std::list< std::string >  params  )  [protected]
+
+
+ +

+Invert image. +

+

Methodname:
invert
+
Parameters:
+ + +
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+Scriptfile syntax: invert() +
+

+ +

+
+ + + + + + + + + +
void CBitmap::brightness (std::list< std::string >  params  )  [protected]
+
+
+ +

+Increase/decrease brightness of image. +

+

Methodname:
brightness
+
Parameters:
+ + +
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+Scriptfile syntax: brightness(factor) +
+

+ +

+
+ + + + + + + + + +
void CBitmap::mirror_y (std::list< std::string >  params  )  [protected]
+
+
+ +

+Mirror image around the y-axis. +

+

Methodname:
mirror_y
+
Parameters:
+ + +
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+Scriptfile syntax: mirror_y() +
+

+ +

+
+ + + + + + + + + +
void CBitmap::mirror_x (std::list< std::string >  params  )  [protected]
+
+
+ +

+Mirror image around the x-axis. +

+

Methodname:
mirror_x
+
Parameters:
+ + +
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+Scriptfile syntax: mirror_y() +
+

+


Member Data Documentation

+ +
+
+ + + + +
uint8_t* CBitmap::m_pixeldata [protected]
+
+
+ +

+pointer to pixelbuffer +

+

+ +

+
+ + + + +
std::map<uint32_t, CPixelFormat::RGBPIXEL *> CBitmap::m_colortable [protected]
+
+
+ +

+colortable map +

+

+ +

+
+ + + + +
std::set<CPixelFormat *> CBitmap::m_handlers [protected]
+
+
+ +

+set of supported PixelFormat handlers +

+

+ +

+
+ + + + +
CPixelFormat* CBitmap::m_pixelformat [protected]
+
+
+ +

+pointer to CPixelFormat implementation +

+

+ +

+
+ + + + +
uint32_t CBitmap::m_rowsize [protected]
+
+
+ +

+number of bytes of one row in the image +

+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCBitmap.png b/ue2/doxygen/classCBitmap.png new file mode 100644 index 0000000..c8996f4 Binary files /dev/null and b/ue2/doxygen/classCBitmap.png differ diff --git a/ue2/doxygen/classCFile-members.html b/ue2/doxygen/classCFile-members.html new file mode 100644 index 0000000..7ce4c57 --- /dev/null +++ b/ue2/doxygen/classCFile-members.html @@ -0,0 +1,34 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CFile Member List

This is the complete list of members for CFile, including all inherited members.

+ + + + + + +
callFunc(const std::string &func, const std::list< std::string > &params)=0CFile [pure virtual]
m_typesCFile [protected]
read(std::ifstream &in)=0CFile [pure virtual]
supportsType(const std::string &type)CFile [inline]
write(std::ofstream &out)=0CFile [pure virtual]
~CFile()CFile [inline, virtual]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCFile.html b/ue2/doxygen/classCFile.html new file mode 100644 index 0000000..960cc29 --- /dev/null +++ b/ue2/doxygen/classCFile.html @@ -0,0 +1,294 @@ + + +imgsynth2: CFile Class Reference + + + + +
+ +
+
+ +
+

CFile Class Reference

Abstract class for handling files. Needed for generic use in CScriptparser. +More... +

+#include <cfile.h> +

+

+Inheritance diagram for CFile:
+
+ +

+ +CBitmap +CPixmap +CWindowsBitmap + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual ~CFile ()
 Default dtor (virtual).
virtual void read (std::ifstream &in)=0
 Pure virtual method (interface). Should read data from filestream.
virtual void write (std::ofstream &out)=0
 Pure virtual method (interface). Should write data to filestream.
virtual void callFunc (const std::string &func, const std::list< std::string > &params)=0
 Pure virtual method (interface). Should delegate the function and its parameters to the correct internal method.
bool supportsType (const std::string &type)
 Check if filetype is supported by this implementation.

Protected Attributes

std::set< std::string > m_types

Classes

class  FileError
 Exception thrown by implemententations of CFile. More...
+


Detailed Description

+Abstract class for handling files. Needed for generic use in CScriptparser. +

+

Modulname:
cfile
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
17.04.2009
+Abstract class for handling files. Needed for generic use in CScriptparser.

+In order for CScriptparser to determine which instance of CFile supports which filetype, every implemententation need to insert their filetypes to the member m_types in their constructor.

+On error throw FileError.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual CFile::~CFile (  )  [inline, virtual]
+
+
+ +

+Default dtor (virtual). +

+

Methodname:
~CFile
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual void CFile::read (std::ifstream &  in  )  [pure virtual]
+
+
+ +

+Pure virtual method (interface). Should read data from filestream. +

+

Methodname:
read
+
Parameters:
+ + +
in filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+ +

Implemented in CBitmap, CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + + +
virtual void CFile::write (std::ofstream &  out  )  [pure virtual]
+
+
+ +

+Pure virtual method (interface). Should write data to filestream. +

+

Methodname:
write
+
Parameters:
+ + +
out filestream to write data to
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+ +

Implemented in CBitmap, CPixmap, and CWindowsBitmap.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
virtual void CFile::callFunc (const std::string &  func,
const std::list< std::string > &  params 
) [pure virtual]
+
+
+ +

+Pure virtual method (interface). Should delegate the function and its parameters to the correct internal method. +

+

Methodname:
callFunc
+
Parameters:
+ + + +
func function name
params function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+ +

Implemented in CBitmap.

+ +
+

+ +

+
+ + + + + + + + + +
bool CFile::supportsType (const std::string &  type  )  [inline]
+
+
+ +

+Check if filetype is supported by this implementation. +

+

Methodname:
supportsType
+
Parameters:
+ + +
type filetype
+
+
Returns:
true if filetype is supported. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
std::set<std::string> CFile::m_types [protected]
+
+
+ +

+set of filetypes suppported by this implementation +

+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCFile.png b/ue2/doxygen/classCFile.png new file mode 100644 index 0000000..a4291c5 Binary files /dev/null and b/ue2/doxygen/classCFile.png differ diff --git a/ue2/doxygen/classCFile_1_1FileError-members.html b/ue2/doxygen/classCFile_1_1FileError-members.html new file mode 100644 index 0000000..1b74835 --- /dev/null +++ b/ue2/doxygen/classCFile_1_1FileError-members.html @@ -0,0 +1,29 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CFile::FileError Member List

This is the complete list of members for CFile::FileError, including all inherited members.

+ +
FileError(const std::string &what)CFile::FileError [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCFile_1_1FileError.html b/ue2/doxygen/classCFile_1_1FileError.html new file mode 100644 index 0000000..06bbb2f --- /dev/null +++ b/ue2/doxygen/classCFile_1_1FileError.html @@ -0,0 +1,83 @@ + + +imgsynth2: CFile::FileError Class Reference + + + + +
+ +
+
+ +
+ +

CFile::FileError Class Reference

Exception thrown by implemententations of CFile. +More... +

+#include <cfile.h> +

+ +

+List of all members. + + + + + +

Public Member Functions

 FileError (const std::string &what)
 Default exception ctor.
+


Detailed Description

+Exception thrown by implemententations of CFile.

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CFile::FileError::FileError (const std::string &  what  )  [inline]
+
+
+ +

+Default exception ctor. +

+

Methodname:
FileError
+
Parameters:
+ + +
what message to pass along
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat-members.html b/ue2/doxygen/classCPixelFormat-members.html new file mode 100644 index 0000000..a42b554 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat-members.html @@ -0,0 +1,35 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat Member List

This is the complete list of members for CPixelFormat, including all inherited members.

+ + + + + + + +
CPixelFormat(CBitmap *bitmap)CPixelFormat [inline]
getBitCount()=0CPixelFormat [pure virtual]
getMaxColor(RGBPIXEL &pixel)=0CPixelFormat [pure virtual]
getPixel(RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
m_bitmapCPixelFormat [protected]
setPixel(const RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
~CPixelFormat()CPixelFormat [inline, virtual]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat.html b/ue2/doxygen/classCPixelFormat.html new file mode 100644 index 0000000..45b9136 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat.html @@ -0,0 +1,351 @@ + + +imgsynth2: CPixelFormat Class Reference + + + + +
+ +
+
+ +
+

CPixelFormat Class Reference

Abstract class for handling different color bitcount of Bitmaps. +More... +

+#include <cpixelformat.h> +

+

+Inheritance diagram for CPixelFormat:
+
+ +

+ +CPixelFormat_BGR24 +CPixelFormat_BGR555 +CPixelFormat_Indexed8 + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPixelFormat (CBitmap *bitmap)
 Default ctor.
virtual ~CPixelFormat ()
 Default dtor (virtual).
virtual void getPixel (RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0
 Get pixel at coordinates x, y.
virtual void setPixel (const RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0
 Modifies pixel at coordinates x, y.
virtual uint32_t getBitCount ()=0
 returns color bitcount supported by this class
virtual void getMaxColor (RGBPIXEL &pixel)=0
 Get maximum values for RGB pixel.

Protected Attributes

CBitmapm_bitmap

Classes

class  PixelFormatError
 Exception thrown by implemententations of CPixelFormat. More...
struct  RGBPIXEL
 RGB Pixel structure. More...
+


Detailed Description

+Abstract class for handling different color bitcount of Bitmaps. +

+Needed for generic use in CBitmap.

+On error throw PixelFormatError.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CPixelFormat::CPixelFormat (CBitmap bitmap  )  [inline]
+
+
+ +

+Default ctor. +

+

Methodname:
CPixelFormat
+
Parameters:
+ + +
bitmap pointer to CBitmap instance
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
virtual CPixelFormat::~CPixelFormat (  )  [inline, virtual]
+
+
+ +

+Default dtor (virtual). +

+

Methodname:
~CPixelFormat
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void CPixelFormat::getPixel (RGBPIXEL pixel,
const uint32_t  x,
const uint32_t  y 
) [pure virtual]
+
+
+ +

+Get pixel at coordinates x, y. +

+

Methodname:
getPixel
+
Parameters:
+ + + + +
pixel reference to pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual void CPixelFormat::setPixel (const RGBPIXEL pixel,
const uint32_t  x,
const uint32_t  y 
) [pure virtual]
+
+
+ +

+Modifies pixel at coordinates x, y. +

+

Methodname:
setPixel
+
Parameters:
+ + + + +
pixel reference to new pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
virtual uint32_t CPixelFormat::getBitCount (  )  [pure virtual]
+
+
+ +

+returns color bitcount supported by this class +

+

Methodname:
getBitCount
+
Parameters:
+ + +
- 
+
+
Returns:
color bitcount supported by this class
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implemented in CPixelFormat_BGR24, CPixelFormat_BGR555, and CPixelFormat_Indexed8.

+ +
+

+ +

+
+ + + + + + + + + +
virtual void CPixelFormat::getMaxColor (RGBPIXEL pixel  )  [pure virtual]
+
+
+ +

+Get maximum values for RGB pixel. +

+

Methodname:
getMaxColor
+
Parameters:
+ + +
pixel reference to pixel struct
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
CBitmap* CPixelFormat::m_bitmap [protected]
+
+
+ +

+pointer to CBitmap instance +

+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat.png b/ue2/doxygen/classCPixelFormat.png new file mode 100644 index 0000000..4400072 Binary files /dev/null and b/ue2/doxygen/classCPixelFormat.png differ diff --git a/ue2/doxygen/classCPixelFormat_1_1PixelFormatError-members.html b/ue2/doxygen/classCPixelFormat_1_1PixelFormatError-members.html new file mode 100644 index 0000000..7ec975f --- /dev/null +++ b/ue2/doxygen/classCPixelFormat_1_1PixelFormatError-members.html @@ -0,0 +1,29 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat::PixelFormatError Member List

This is the complete list of members for CPixelFormat::PixelFormatError, including all inherited members.

+ +
PixelFormatError(const std::string &what)CPixelFormat::PixelFormatError [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat_1_1PixelFormatError.html b/ue2/doxygen/classCPixelFormat_1_1PixelFormatError.html new file mode 100644 index 0000000..d427f66 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat_1_1PixelFormatError.html @@ -0,0 +1,83 @@ + + +imgsynth2: CPixelFormat::PixelFormatError Class Reference + + + + +
+ +
+
+ +
+ +

CPixelFormat::PixelFormatError Class Reference

Exception thrown by implemententations of CPixelFormat. +More... +

+#include <cpixelformat.h> +

+ +

+List of all members. + + + + + +

Public Member Functions

 PixelFormatError (const std::string &what)
 Default exception ctor.
+


Detailed Description

+Exception thrown by implemententations of CPixelFormat.

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CPixelFormat::PixelFormatError::PixelFormatError (const std::string &  what  )  [inline]
+
+
+ +

+Default exception ctor. +

+

Methodname:
PixelFormatError
+
Parameters:
+ + +
what message to pass along
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__BGR24-members.html b/ue2/doxygen/classCPixelFormat__BGR24-members.html new file mode 100644 index 0000000..c89bab1 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__BGR24-members.html @@ -0,0 +1,40 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat_BGR24 Member List

This is the complete list of members for CPixelFormat_BGR24, including all inherited members.

+ + + + + + + + + + + + +
CPixelFormat(CBitmap *bitmap)CPixelFormat [inline]
CPixelFormat_BGR24(CBitmap *bitmap)CPixelFormat_BGR24 [inline]
getBitCount()CPixelFormat_BGR24 [inline, virtual]
getMaxColor(RGBPIXEL &pixel)CPixelFormat_BGR24 [inline]
CPixelFormat::getMaxColor(RGBPIXEL &pixel)=0CPixelFormat [pure virtual]
getPixel(RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_BGR24
CPixelFormat::getPixel(RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
m_bitmapCPixelFormat [protected]
setPixel(const RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_BGR24
CPixelFormat::setPixel(const RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
~CPixelFormat()CPixelFormat [inline, virtual]
~CPixelFormat_BGR24()CPixelFormat_BGR24 [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__BGR24.html b/ue2/doxygen/classCPixelFormat__BGR24.html new file mode 100644 index 0000000..f678ab1 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__BGR24.html @@ -0,0 +1,326 @@ + + +imgsynth2: CPixelFormat_BGR24 Class Reference + + + + +
+ +
+
+ +
+

CPixelFormat_BGR24 Class Reference

Implementation of CPixelFormat handling 24bit color Windows Bitmaps. +More... +

+#include <cpixelformat_bgr24.h> +

+

+Inheritance diagram for CPixelFormat_BGR24:
+
+ +

+ +CPixelFormat + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPixelFormat_BGR24 (CBitmap *bitmap)
 Default ctor.
 ~CPixelFormat_BGR24 ()
 Default dtor.
void getPixel (RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Get pixel at coordinates x, y.
void setPixel (const RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Modifies pixel at coordinates x, y.
uint32_t getBitCount ()
 returns color bitcount supported by this class
void getMaxColor (RGBPIXEL &pixel)
 Get maximum values for RGB pixel.
+


Detailed Description

+Implementation of CPixelFormat handling 24bit color Windows Bitmaps. +

+

Modulname:
cpixelformat_bgr24
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
18.04.2009
+Implementation of CPixelFormat handling 24bit color Windows Bitmaps.

+On error CPixelFormat::PixelFormatError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CPixelFormat_BGR24::CPixelFormat_BGR24 (CBitmap bitmap  )  [inline]
+
+
+ +

+Default ctor. +

+

Methodname:
CPixelFormat_BGR24
+
Parameters:
+ + +
bitmap pointer to CBitmap instance
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CPixelFormat_BGR24::~CPixelFormat_BGR24 (  )  [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~CPixelFormat_BGR24
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_BGR24::getPixel (RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Get pixel at coordinates x, y. +

+

Methodname:
getPixel
+
Parameters:
+ + + + +
pixel reference to pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_BGR24::setPixel (const RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Modifies pixel at coordinates x, y. +

+

Methodname:
setPixel
+
Parameters:
+ + + + +
pixel reference to new pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
uint32_t CPixelFormat_BGR24::getBitCount (  )  [inline, virtual]
+
+
+ +

+returns color bitcount supported by this class +

+

Methodname:
getBitCount
+
Parameters:
+ + +
- 
+
+
Returns:
color bitcount supported by this class
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CPixelFormat.

+ +
+

+ +

+
+ + + + + + + + + +
void CPixelFormat_BGR24::getMaxColor (RGBPIXEL &  pixel  )  [inline]
+
+
+ +

+Get maximum values for RGB pixel. +

+

Methodname:
getMaxColor
+
Parameters:
+ + +
pixel reference to pixel struct
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__BGR24.png b/ue2/doxygen/classCPixelFormat__BGR24.png new file mode 100644 index 0000000..3ccabc3 Binary files /dev/null and b/ue2/doxygen/classCPixelFormat__BGR24.png differ diff --git a/ue2/doxygen/classCPixelFormat__BGR555-members.html b/ue2/doxygen/classCPixelFormat__BGR555-members.html new file mode 100644 index 0000000..4736f5b --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__BGR555-members.html @@ -0,0 +1,40 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat_BGR555 Member List

This is the complete list of members for CPixelFormat_BGR555, including all inherited members.

+ + + + + + + + + + + + +
CPixelFormat(CBitmap *bitmap)CPixelFormat [inline]
CPixelFormat_BGR555(CBitmap *bitmap)CPixelFormat_BGR555 [inline]
getBitCount()CPixelFormat_BGR555 [inline, virtual]
getMaxColor(RGBPIXEL &pixel)CPixelFormat_BGR555 [inline]
CPixelFormat::getMaxColor(RGBPIXEL &pixel)=0CPixelFormat [pure virtual]
getPixel(RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_BGR555
CPixelFormat::getPixel(RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
m_bitmapCPixelFormat [protected]
setPixel(const RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_BGR555
CPixelFormat::setPixel(const RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
~CPixelFormat()CPixelFormat [inline, virtual]
~CPixelFormat_BGR555()CPixelFormat_BGR555 [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__BGR555.html b/ue2/doxygen/classCPixelFormat__BGR555.html new file mode 100644 index 0000000..1ecf5a9 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__BGR555.html @@ -0,0 +1,322 @@ + + +imgsynth2: CPixelFormat_BGR555 Class Reference + + + + +
+ +
+
+ +
+

CPixelFormat_BGR555 Class Reference

Implementation of CPixelFormat handling BGR555 color (real color) Windows Bitmaps. +More... +

+#include <cpixelformat_bgr555.h> +

+

+Inheritance diagram for CPixelFormat_BGR555:
+
+ +

+ +CPixelFormat + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPixelFormat_BGR555 (CBitmap *bitmap)
 Default ctor.
 ~CPixelFormat_BGR555 ()
 Default dtor.
void getPixel (RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Get pixel at coordinates x, y.
void setPixel (const RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Modifies pixel at coordinates x, y.
uint32_t getBitCount ()
 returns color bitcount supported by this class
void getMaxColor (RGBPIXEL &pixel)
 Get maximum values for RGB pixel.
+


Detailed Description

+Implementation of CPixelFormat handling BGR555 color (real color) Windows Bitmaps. +

+On error CPixelFormat::PixelFormatError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CPixelFormat_BGR555::CPixelFormat_BGR555 (CBitmap bitmap  )  [inline]
+
+
+ +

+Default ctor. +

+

Methodname:
CPixelFormat_BGR55
+
Parameters:
+ + +
bitmap pointer to CBitmap instance
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CPixelFormat_BGR555::~CPixelFormat_BGR555 (  )  [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~CPixelFormat_BGR555
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_BGR555::getPixel (RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Get pixel at coordinates x, y. +

+

Methodname:
getPixel
+
Parameters:
+ + + + +
pixel reference to pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_BGR555::setPixel (const RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Modifies pixel at coordinates x, y. +

+

Methodname:
setPixel
+
Parameters:
+ + + + +
pixel reference to new pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
uint32_t CPixelFormat_BGR555::getBitCount (  )  [inline, virtual]
+
+
+ +

+returns color bitcount supported by this class +

+

Methodname:
getBitCount
+
Parameters:
+ + +
- 
+
+
Returns:
color bitcount supported by this class
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CPixelFormat.

+ +
+

+ +

+
+ + + + + + + + + +
void CPixelFormat_BGR555::getMaxColor (RGBPIXEL &  pixel  )  [inline]
+
+
+ +

+Get maximum values for RGB pixel. +

+

Methodname:
getMaxColor
+
Parameters:
+ + +
pixel reference to pixel struct
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__BGR555.png b/ue2/doxygen/classCPixelFormat__BGR555.png new file mode 100644 index 0000000..2765b0c Binary files /dev/null and b/ue2/doxygen/classCPixelFormat__BGR555.png differ diff --git a/ue2/doxygen/classCPixelFormat__Indexed8-members.html b/ue2/doxygen/classCPixelFormat__Indexed8-members.html new file mode 100644 index 0000000..1b36aa9 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__Indexed8-members.html @@ -0,0 +1,40 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat_Indexed8 Member List

This is the complete list of members for CPixelFormat_Indexed8, including all inherited members.

+ + + + + + + + + + + + +
CPixelFormat(CBitmap *bitmap)CPixelFormat [inline]
CPixelFormat_Indexed8(CBitmap *bitmap)CPixelFormat_Indexed8 [inline]
getBitCount()CPixelFormat_Indexed8 [inline, virtual]
getMaxColor(RGBPIXEL &pixel)CPixelFormat_Indexed8 [inline]
CPixelFormat::getMaxColor(RGBPIXEL &pixel)=0CPixelFormat [pure virtual]
getPixel(RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_Indexed8
CPixelFormat::getPixel(RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
m_bitmapCPixelFormat [protected]
setPixel(const RGBPIXEL &pixel, uint32_t x, uint32_t y)CPixelFormat_Indexed8
CPixelFormat::setPixel(const RGBPIXEL &pixel, const uint32_t x, const uint32_t y)=0CPixelFormat [pure virtual]
~CPixelFormat()CPixelFormat [inline, virtual]
~CPixelFormat_Indexed8()CPixelFormat_Indexed8 [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__Indexed8.html b/ue2/doxygen/classCPixelFormat__Indexed8.html new file mode 100644 index 0000000..2cdeb02 --- /dev/null +++ b/ue2/doxygen/classCPixelFormat__Indexed8.html @@ -0,0 +1,326 @@ + + +imgsynth2: CPixelFormat_Indexed8 Class Reference + + + + +
+ +
+
+ +
+

CPixelFormat_Indexed8 Class Reference

Implementation of CPixelFormat handling 24bit indexed bitmaps. +More... +

+#include <cpixelformat_indexed8.h> +

+

+Inheritance diagram for CPixelFormat_Indexed8:
+
+ +

+ +CPixelFormat + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPixelFormat_Indexed8 (CBitmap *bitmap)
 Default ctor.
 ~CPixelFormat_Indexed8 ()
 Default dtor.
void getPixel (RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Get pixel at coordinates x, y.
void setPixel (const RGBPIXEL &pixel, uint32_t x, uint32_t y)
 Modifies pixel at coordinates x, y.
uint32_t getBitCount ()
 returns the bitcount needed for indexing the color tabel.
void getMaxColor (RGBPIXEL &pixel)
 Get maximum values for RGB pixel.
+


Detailed Description

+Implementation of CPixelFormat handling 24bit indexed bitmaps. +

+

Modulname:
cpixelformat_bgr24
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
02.05.2009
+Implementation of CPixelFormat handling 24bit indexed bitmaps.

+On error CPixelFormat::PixelFormatError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CPixelFormat_Indexed8::CPixelFormat_Indexed8 (CBitmap bitmap  )  [inline]
+
+
+ +

+Default ctor. +

+

Methodname:
CPixelFormat_Indexed8
+
Parameters:
+ + +
bitmap pointer to CBitmap instance
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CPixelFormat_Indexed8::~CPixelFormat_Indexed8 (  )  [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~CPixelFormat_Indexed8
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_Indexed8::getPixel (RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Get pixel at coordinates x, y. +

+

Methodname:
getPixel
+
Parameters:
+ + + + +
pixel reference to pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void CPixelFormat_Indexed8::setPixel (const RGBPIXEL &  pixel,
uint32_t  x,
uint32_t  y 
)
+
+
+ +

+Modifies pixel at coordinates x, y. +

+

Methodname:
setPixel
+
Parameters:
+ + + + +
pixel reference to new pixel data
x x-coordinate
y y-coordinate
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
PixelFormatError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
uint32_t CPixelFormat_Indexed8::getBitCount (  )  [inline, virtual]
+
+
+ +

+returns the bitcount needed for indexing the color tabel. +

+

Methodname:
getBitCount
+
Parameters:
+ + +
- 
+
+
Returns:
bitcount of indexes supported by this class
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CPixelFormat.

+ +
+

+ +

+
+ + + + + + + + + +
void CPixelFormat_Indexed8::getMaxColor (RGBPIXEL &  pixel  )  [inline]
+
+
+ +

+Get maximum values for RGB pixel. +

+

Methodname:
getMaxColor
+
Parameters:
+ + +
pixel reference to pixel struct
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixelFormat__Indexed8.png b/ue2/doxygen/classCPixelFormat__Indexed8.png new file mode 100644 index 0000000..b0c5016 Binary files /dev/null and b/ue2/doxygen/classCPixelFormat__Indexed8.png differ diff --git a/ue2/doxygen/classCPixmap-members.html b/ue2/doxygen/classCPixmap-members.html new file mode 100644 index 0000000..eb88a34 --- /dev/null +++ b/ue2/doxygen/classCPixmap-members.html @@ -0,0 +1,61 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixmap Member List

This is the complete list of members for CPixmap, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
brightness(std::list< std::string > params)CBitmap [protected]
callFunc(const std::string &func, const std::list< std::string > &params)CBitmap [protected, virtual]
CBitmap()CBitmap [inline]
CPixmap()CPixmap
fillrect(std::list< std::string > params)CBitmap [protected]
getCArrayLine(std::ifstream &in)CPixmap [protected]
getColorTable()CBitmap [inline]
getHeight()CPixmap [inline, virtual]
getLine(std::ifstream &in, bool ignore_comments=true)CPixmap [protected]
getPixelData()CBitmap [inline]
getPixelDataSize()CPixmap [inline, virtual]
getRowSize()CBitmap [inline]
getWidth()CPixmap [inline, virtual]
getXPMColorID(unsigned int index, unsigned int length)CPixmap [protected]
hasColorTable()CPixmap [inline, virtual]
invert(std::list< std::string > params)CBitmap [protected]
isMirrored()CPixmap [inline, virtual]
m_colortableCBitmap [protected]
m_fileheaderCPixmap [protected]
m_handlersCBitmap [protected]
m_imagenameCPixmap [protected]
m_pixeldataCBitmap [protected]
m_pixelformatCBitmap [protected]
m_rowsizeCBitmap [protected]
m_typesCFile [protected]
mirror_x(std::list< std::string > params)CBitmap [protected]
mirror_y(std::list< std::string > params)CBitmap [protected]
read(std::ifstream &in)CPixmap [virtual]
supportsType(const std::string &type)CFile [inline]
write(std::ofstream &out)CPixmap [virtual]
~CBitmap()CBitmap [virtual]
~CFile()CFile [inline, virtual]
~CPixmap()CPixmap [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixmap.html b/ue2/doxygen/classCPixmap.html new file mode 100644 index 0000000..cb1d740 --- /dev/null +++ b/ue2/doxygen/classCPixmap.html @@ -0,0 +1,596 @@ + + +imgsynth2: CPixmap Class Reference + + + + +
+ +
+
+ +
+

CPixmap Class Reference

Implementation of CFile handling Pixmap file format. +More... +

+#include <cpixmap.h> +

+

+Inheritance diagram for CPixmap:
+
+ +

+ +CBitmap +CFile + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPixmap ()
 Default ctor.
 ~CPixmap ()
 Default dtor.
void read (std::ifstream &in)
 Reads Pixmap from filestream. On error an exception is thrown.
void write (std::ofstream &out)
 Writes Pixmap to filestream.
const uint32_t getPixelDataSize ()
 Return size of pixelbuffer.
const uint32_t getHeight ()
 Return height of bitmap in pixel.
const uint32_t getWidth ()
 Return width of bitmap in pixel.
const bool hasColorTable ()
 Check if bitmap has a colortable (we don't support this yet for windows bitmaps).
const bool isMirrored ()
 Windows Bitmaps can be stored upside down.

Protected Member Functions

std::string getLine (std::ifstream &in, bool ignore_comments=true)
 read trimmed line (terminated by
+) from filestream
std::string getCArrayLine (std::ifstream &in)
 read trimmed c-arrayline from filestream
const std::string getXPMColorID (unsigned int index, unsigned int length)
 get xpm color identifier, generated using an index

Protected Attributes

PIXMAP_FILEHEADER m_fileheader
std::string m_imagename

Classes

struct  PIXMAP_FILEHEADER
 Pixmap Header structure. More...
+


Detailed Description

+Implementation of CFile handling Pixmap file format. +

+In order to support operations on pixmaps in color mode an implementations of CPixelFormat is used. These classe are allowed to modify the pixmap header, pixelbuffer and color table directly.

+On error CFile::FileError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
CPixmap::CPixmap (  ) 
+
+
+ +

+Default ctor. +

+

Methodname:
CPixmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CPixmap::~CPixmap (  )  [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~CPixmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
void CPixmap::read (std::ifstream &  in  )  [virtual]
+
+
+ +

+Reads Pixmap from filestream. On error an exception is thrown. +

+

Methodname:
read
+
Parameters:
+ + +
in filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
CFile::FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + + +
void CPixmap::write (std::ofstream &  out  )  [virtual]
+
+
+ +

+Writes Pixmap to filestream. +

+

Methodname:
write
+
Parameters:
+ + +
out filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CPixmap::getPixelDataSize (  )  [inline, virtual]
+
+
+ +

+Return size of pixelbuffer. +

+

Methodname:
getPixelDataSize
+
Parameters:
+ + +
- 
+
+
Returns:
size of pixelbuffer
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CPixmap::getHeight (  )  [inline, virtual]
+
+
+ +

+Return height of bitmap in pixel. +

+

Methodname:
getHeight
+
Parameters:
+ + +
- 
+
+
Returns:
height of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CPixmap::getWidth (  )  [inline, virtual]
+
+
+ +

+Return width of bitmap in pixel. +

+

Methodname:
getWidth
+
Parameters:
+ + +
- 
+
+
Returns:
width of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const bool CPixmap::hasColorTable (  )  [inline, virtual]
+
+
+ +

+Check if bitmap has a colortable (we don't support this yet for windows bitmaps). +

+

Methodname:
hasColorTable
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap has a colortable. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const bool CPixmap::isMirrored (  )  [inline, virtual]
+
+
+ +

+Windows Bitmaps can be stored upside down. +

+

Methodname:
isMirrored
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap is stored upside down. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
std::string CPixmap::getLine (std::ifstream &  in,
bool  ignore_comments = true 
) [protected]
+
+
+ +

+read trimmed line (terminated by
+) from filestream +

+

Methodname:
getLine
+
Parameters:
+ + + +
in filestream to read data from
ignore_comments true: ignore c-like comments
+
+
Returns:
return trimmed line from filestream
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + +
std::string CPixmap::getCArrayLine (std::ifstream &  in  )  [protected]
+
+
+ +

+read trimmed c-arrayline from filestream +

+

Methodname:
getArrayLine
+
Parameters:
+ + +
in filestream to read data from
+
+
Returns:
return trimmed c-arrayline from filestream
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
const std::string CPixmap::getXPMColorID (unsigned int  index,
unsigned int  length 
) [protected]
+
+
+ +

+get xpm color identifier, generated using an index +

+

Methodname:
getXPMColorID
+
Parameters:
+ + + +
index index used to generate the xpm color identifier
length length of xpm color identifier
+
+
Returns:
return xpm color identifier, generated using index
+
Global variables used:
none
+
Exceptions:
+ + +
FileError 
+
+
Conditions:
none
+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
PIXMAP_FILEHEADER CPixmap::m_fileheader [protected]
+
+
+ +

+fileheader +

+

+ +

+
+ + + + +
std::string CPixmap::m_imagename [protected]
+
+
+ +

+name of image/c-array +

+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCPixmap.png b/ue2/doxygen/classCPixmap.png new file mode 100644 index 0000000..d74db19 Binary files /dev/null and b/ue2/doxygen/classCPixmap.png differ diff --git a/ue2/doxygen/classCScriptparser-members.html b/ue2/doxygen/classCScriptparser-members.html new file mode 100644 index 0000000..b318df4 --- /dev/null +++ b/ue2/doxygen/classCScriptparser-members.html @@ -0,0 +1,34 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CScriptparser Member List

This is the complete list of members for CScriptparser, including all inherited members.

+ + + + + + +
callFunc(const std::string &func, const std::list< std::string > &funcparams)CScriptparser [protected]
CScriptparser(const std::string &scriptfile)CScriptparser
parse()CScriptparser
read(std::list< std::string > funcparams)CScriptparser [protected]
write(std::list< std::string > funcparams)CScriptparser [protected]
~CScriptparser()CScriptparser


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCScriptparser.html b/ue2/doxygen/classCScriptparser.html new file mode 100644 index 0000000..f4bf6cb --- /dev/null +++ b/ue2/doxygen/classCScriptparser.html @@ -0,0 +1,297 @@ + + +imgsynth2: CScriptparser Class Reference + + + + +
+ +
+
+ +
+

CScriptparser Class Reference

class for parsing simple scriptfiles +More... +

+#include <cscriptparser.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CScriptparser (const std::string &scriptfile)
 Default ctor.
 ~CScriptparser ()
 Default dtor.
void parse ()
 Start parsing the scriptfile.

Protected Member Functions

void callFunc (const std::string &func, const std::list< std::string > &funcparams)
 Delegates the function and its parameters to the correct method (internal or handler).
void read (std::list< std::string > funcparams)
 Handles/wrappes read-command. according to the filetype the read-method of the corresponding handler will be called inside.
void write (std::list< std::string > funcparams)
 Handles/wrappes write-command. according to the filetype the write-method of the corresponding handler will be called inside.

Classes

class  ParserError
 Exception thrown by CScriptparser. More...
+


Detailed Description

+class for parsing simple scriptfiles +

+

Modulname:
cscriptparser
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
17.04.2009
+Parses a simple line based scriptfile with some limitations: first function (starting a block) must be a read-command, last must be a write-command (ending this block).

+read- and write-commands have hard coded parameters, number#1 being a filetype. Classes handling certain filetypes must be of type CFile. Custom functions will be passed to CFile::callFunc().

+On error ParserError will be thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CScriptparser::CScriptparser (const std::string &  scriptfile  ) 
+
+
+ +

+Default ctor. +

+

Methodname:
CScriptparser
+
Parameters:
+ + +
scriptfile filename of script to parse
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
bad_alloc 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CScriptparser::~CScriptparser (  ) 
+
+
+ +

+Default dtor. +

+

Methodname:
~CScriptparser
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
void CScriptparser::parse (  ) 
+
+
+ +

+Start parsing the scriptfile. +

+

Methodname:
parse
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
ParserError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void CScriptparser::callFunc (const std::string &  func,
const std::list< std::string > &  funcparams 
) [protected]
+
+
+ +

+Delegates the function and its parameters to the correct method (internal or handler). +

+

Methodname:
callFunc
+
Parameters:
+ + + +
func function name
funcparams function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
ParserError 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + +
void CScriptparser::read (std::list< std::string >  funcparams  )  [protected]
+
+
+ +

+Handles/wrappes read-command. according to the filetype the read-method of the corresponding handler will be called inside. +

+

Methodname:
read
+
Parameters:
+ + +
funcparams function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
ParserError 
+
+
Conditions:
none
+Scriptfile syntax: read(<FILETYPE>, <FILENAME>) +
+

+ +

+
+ + + + + + + + + +
void CScriptparser::write (std::list< std::string >  funcparams  )  [protected]
+
+
+ +

+Handles/wrappes write-command. according to the filetype the write-method of the corresponding handler will be called inside. +

+

Methodname:
write
+
Parameters:
+ + +
funcparams function parameters as list
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
ParserError 
+
+
Conditions:
none
+Scriptfile syntax: write(<FILETYPE>, <FILENAME>) +
+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCScriptparser_1_1ParserError-members.html b/ue2/doxygen/classCScriptparser_1_1ParserError-members.html new file mode 100644 index 0000000..376597d --- /dev/null +++ b/ue2/doxygen/classCScriptparser_1_1ParserError-members.html @@ -0,0 +1,32 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CScriptparser::ParserError Member List

This is the complete list of members for CScriptparser::ParserError, including all inherited members.

+ + + + +
getLine()CScriptparser::ParserError [inline]
ParserError(const std::string &what)CScriptparser::ParserError [inline]
ParserError(const std::string &what, const std::string &line)CScriptparser::ParserError [inline]
~ParserError()CScriptparser::ParserError [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCScriptparser_1_1ParserError.html b/ue2/doxygen/classCScriptparser_1_1ParserError.html new file mode 100644 index 0000000..107195d --- /dev/null +++ b/ue2/doxygen/classCScriptparser_1_1ParserError.html @@ -0,0 +1,204 @@ + + +imgsynth2: CScriptparser::ParserError Class Reference + + + + +
+ +
+
+ +
+ +

CScriptparser::ParserError Class Reference

Exception thrown by CScriptparser. +More... +

+#include <cscriptparser.h> +

+ +

+List of all members. + + + + + + + + + + + + + + +

Public Member Functions

 ParserError (const std::string &what)
 Default exception ctor.
 ParserError (const std::string &what, const std::string &line)
 Custom exception ctor.
 ~ParserError () throw ()
 Default dtor.
const std::string & getLine ()
 returns reference to currently parsed scriptline (if set)
+


Detailed Description

+Exception thrown by CScriptparser.

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CScriptparser::ParserError::ParserError (const std::string &  what  )  [inline]
+
+
+ +

+Default exception ctor. +

+

Methodname:
ParserError
+
Parameters:
+ + +
what message to pass along
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
CScriptparser::ParserError::ParserError (const std::string &  what,
const std::string &  line 
) [inline]
+
+
+ +

+Custom exception ctor. +

+

Methodname:
ParserError
+
Parameters:
+ + + +
what message to pass along
line scriptline which is currently being parsed
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CScriptparser::ParserError::~ParserError (  )  throw () [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~ParserError
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
not allowed
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
const std::string& CScriptparser::ParserError::getLine (  )  [inline]
+
+
+ +

+returns reference to currently parsed scriptline (if set) +

+

Methodname:
getLine
+
Returns:
reference to currently parsed scriptline (maybe empty string)
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


The documentation for this class was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCWindowsBitmap-members.html b/ue2/doxygen/classCWindowsBitmap-members.html new file mode 100644 index 0000000..8fbb89d --- /dev/null +++ b/ue2/doxygen/classCWindowsBitmap-members.html @@ -0,0 +1,58 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CWindowsBitmap Member List

This is the complete list of members for CWindowsBitmap, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
brightness(std::list< std::string > params)CBitmap [protected]
callFunc(const std::string &func, const std::list< std::string > &params)CBitmap [protected, virtual]
CBitmap()CBitmap [inline]
CWindowsBitmap()CWindowsBitmap
fillrect(std::list< std::string > params)CBitmap [protected]
getColorTable()CBitmap [inline]
getHeight()CWindowsBitmap [inline, virtual]
getPixelData()CBitmap [inline]
getPixelDataSize()CWindowsBitmap [inline, virtual]
getRowSize()CBitmap [inline]
getWidth()CWindowsBitmap [inline, virtual]
hasColorTable()CWindowsBitmap [inline, virtual]
invert(std::list< std::string > params)CBitmap [protected]
isMirrored()CWindowsBitmap [inline, virtual]
m_colortableCBitmap [protected]
m_fileheaderCWindowsBitmap [protected]
m_handlersCBitmap [protected]
m_infoheaderCWindowsBitmap [protected]
m_pixeldataCBitmap [protected]
m_pixelformatCBitmap [protected]
m_rowsizeCBitmap [protected]
m_typesCFile [protected]
mirror_x(std::list< std::string > params)CBitmap [protected]
mirror_y(std::list< std::string > params)CBitmap [protected]
read(std::ifstream &in)CWindowsBitmap [virtual]
supportsType(const std::string &type)CFile [inline]
write(std::ofstream &out)CWindowsBitmap [virtual]
~CBitmap()CBitmap [virtual]
~CFile()CFile [inline, virtual]
~CWindowsBitmap()CWindowsBitmap [inline]


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCWindowsBitmap.html b/ue2/doxygen/classCWindowsBitmap.html new file mode 100644 index 0000000..83cbbfb --- /dev/null +++ b/ue2/doxygen/classCWindowsBitmap.html @@ -0,0 +1,462 @@ + + +imgsynth2: CWindowsBitmap Class Reference + + + + +
+ +
+
+ +
+

CWindowsBitmap Class Reference

Implementation of CBitmap handling Windows Bitmaps. +More... +

+#include <cwindowsbitmap.h> +

+

+Inheritance diagram for CWindowsBitmap:
+
+ +

+ +CBitmap +CFile + +
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CWindowsBitmap ()
 Default ctor.
 ~CWindowsBitmap ()
 Default dtor.
void read (std::ifstream &in)
 Reads Windows Bitmap from filestream. On error an exception is thrown.
void write (std::ofstream &out)
 Writes Windows Bitmap to filestream.
const uint32_t getPixelDataSize ()
 Return size of pixelbuffer.
const uint32_t getHeight ()
 Return height of bitmap in pixel.
const uint32_t getWidth ()
 Return width of bitmap in pixel.
const bool isMirrored ()
 Windows Bitmaps can be stored upside down.
const bool hasColorTable ()
 Check if bitmap has a colortable (we don't support this yet for windows bitmaps).

Protected Attributes

BITMAP_FILEHEADER m_fileheader
BITMAP_INFOHEADER m_infoheader

Classes

struct  BITMAP_FILEHEADER
 Windows Bitmap File Header structure. More...
struct  BITMAP_INFOHEADER
 Windows Bitmap Info Header structure. More...
+


Detailed Description

+Implementation of CBitmap handling Windows Bitmaps. +

+

Modulname:
cwindowsbitmap
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
17.04.2009
+Implementation of CBitmap handling Windows Bitmaps.

+On error CFile::FileError is thrown.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
CWindowsBitmap::CWindowsBitmap (  ) 
+
+
+ +

+Default ctor. +

+

Methodname:
CWindowsBitmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+ +

+
+ + + + + + + + +
CWindowsBitmap::~CWindowsBitmap (  )  [inline]
+
+
+ +

+Default dtor. +

+

Methodname:
~CWindowsBitmap
+
Parameters:
+ + +
- 
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
void CWindowsBitmap::read (std::ifstream &  in  )  [virtual]
+
+
+ +

+Reads Windows Bitmap from filestream. On error an exception is thrown. +

+

Methodname:
read
+
Parameters:
+ + +
in filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
CFile::FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + + +
void CWindowsBitmap::write (std::ofstream &  out  )  [virtual]
+
+
+ +

+Writes Windows Bitmap to filestream. +

+

Methodname:
write
+
Parameters:
+ + +
out filestream to read data from
+
+
Returns:
-
+
Global variables used:
none
+
Exceptions:
+ + + +
FileError 
bad_alloc 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CWindowsBitmap::getPixelDataSize (  )  [inline, virtual]
+
+
+ +

+Return size of pixelbuffer. +

+

Methodname:
getPixelDataSize
+
Parameters:
+ + +
- 
+
+
Returns:
size of pixelbuffer
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CWindowsBitmap::getHeight (  )  [inline, virtual]
+
+
+ +

+Return height of bitmap in pixel. +

+

Methodname:
getHeight
+
Parameters:
+ + +
- 
+
+
Returns:
height of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const uint32_t CWindowsBitmap::getWidth (  )  [inline, virtual]
+
+
+ +

+Return width of bitmap in pixel. +

+

Methodname:
getWidth
+
Parameters:
+ + +
- 
+
+
Returns:
width of bitmap in pixel
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const bool CWindowsBitmap::isMirrored (  )  [inline, virtual]
+
+
+ +

+Windows Bitmaps can be stored upside down. +

+

Methodname:
isMirrored
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap is stored upside down. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+ +

+
+ + + + + + + + +
const bool CWindowsBitmap::hasColorTable (  )  [inline, virtual]
+
+
+ +

+Check if bitmap has a colortable (we don't support this yet for windows bitmaps). +

+

Methodname:
hasColorTable
+
Parameters:
+ + +
- 
+
+
Returns:
true if bitmap has a colortable. false otherwise
+
Global variables used:
none
+
Exceptions:
+ + +
none 
+
+
Conditions:
none
+ +

Implements CBitmap.

+ +
+

+


Member Data Documentation

+ +
+ +
+ +

+fileheader +

+

+ +

+ +
+ +

+infoheader +

+

+


The documentation for this class was generated from the following files: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/classCWindowsBitmap.png b/ue2/doxygen/classCWindowsBitmap.png new file mode 100644 index 0000000..03ae695 Binary files /dev/null and b/ue2/doxygen/classCWindowsBitmap.png differ diff --git a/ue2/doxygen/cpixelformat_8h-source.html b/ue2/doxygen/cpixelformat_8h-source.html new file mode 100644 index 0000000..9df1e58 --- /dev/null +++ b/ue2/doxygen/cpixelformat_8h-source.html @@ -0,0 +1,69 @@ + + +imgsynth2: imgsynth2/cpixelformat.h Source File + + + + +
+ +
+

imgsynth2/cpixelformat.h

00001 
+00009 #ifndef CPIXELFORMAT_H
+00010 #define CPIXELFORMAT_H
+00011 
+00012 #include <fstream>
+00013 #include <stdexcept>
+00014 
+00015 class CBitmap;
+00016 
+00025 class CPixelFormat
+00026 {
+00027   public:
+00032     class PixelFormatError : public std::invalid_argument {
+00033       public:
+00043         PixelFormatError(const std::string& what)
+00044           : std::invalid_argument(what)
+00045         {}
+00046     };
+00047 
+00057     CPixelFormat(CBitmap *bitmap)
+00058       : m_bitmap(bitmap)
+00059     {}
+00060 
+00070     virtual ~CPixelFormat()
+00071     {};
+00072 
+00076     typedef struct
+00077     {
+00079       uint32_t red;
+00081       uint32_t green;
+00083       uint32_t blue;
+00084     } RGBPIXEL;
+00085 
+00097     virtual void getPixel(RGBPIXEL& pixel, const uint32_t x, const uint32_t y) = 0;
+00098 
+00110     virtual void setPixel(const RGBPIXEL& pixel, const uint32_t x, const uint32_t y) = 0;
+00111 
+00121     virtual uint32_t getBitCount() = 0;
+00122 
+00132     virtual void getMaxColor(RGBPIXEL& pixel) = 0;
+00133 
+00134   protected:
+00135     /* members */
+00137     CBitmap *m_bitmap;
+00138 };
+00139 
+00140 #endif
+00141 
+00142 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cpixelformat__bgr24_8h-source.html b/ue2/doxygen/cpixelformat__bgr24_8h-source.html new file mode 100644 index 0000000..b948871 --- /dev/null +++ b/ue2/doxygen/cpixelformat__bgr24_8h-source.html @@ -0,0 +1,56 @@ + + +imgsynth2: imgsynth2/cpixelformat_bgr24.h Source File + + + + +
+ +
+

imgsynth2/cpixelformat_bgr24.h

00001 
+00008 #ifndef CPIXELFORMAT_BGR24_H
+00009 #define CPIXELFORMAT_BGR24_H
+00010 
+00011 #include <fstream>
+00012 #include "cpixelformat.h"
+00013 
+00020 class CPixelFormat_BGR24 : public CPixelFormat
+00021 {
+00022   public:
+00032     CPixelFormat_BGR24(CBitmap *bitmap)
+00033       : CPixelFormat(bitmap)
+00034     {}
+00035 
+00045     ~CPixelFormat_BGR24()
+00046     {}
+00047 
+00059     void getPixel(RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00060 
+00072     void setPixel(const RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00073 
+00083     uint32_t getBitCount()
+00084     {
+00085       return 24;
+00086     }
+00087 
+00097     void getMaxColor(RGBPIXEL& pixel)
+00098     {
+00099       /* value = 2^8 - 1 */
+00100       pixel.red = pixel.green = pixel.blue = 255;
+00101     }
+00102 };
+00103 
+00104 #endif
+00105 
+00106 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cpixelformat__bgr555_8h-source.html b/ue2/doxygen/cpixelformat__bgr555_8h-source.html new file mode 100644 index 0000000..7734d94 --- /dev/null +++ b/ue2/doxygen/cpixelformat__bgr555_8h-source.html @@ -0,0 +1,64 @@ + + +imgsynth2: imgsynth2/cpixelformat_bgr555.h Source File + + + + +
+ +
+

imgsynth2/cpixelformat_bgr555.h

00001 
+00009 #ifndef CPIXELFORMAT_BGR555_H
+00010 #define CPIXELFORMAT_BGR555_H
+00011 
+00012 #include <fstream>
+00013 #include "cpixelformat.h"
+00014 
+00015 /* to (un-)pack pixel values */
+00016 #define BGR555_RED_SHIFT    10
+00017 #define BGR555_GREEN_SHIFT  5
+00018 #define BGR555_BLUE_SHIFT   0
+00019 #define BGR555_RED_MASK     0x7C00
+00020 #define BGR555_GREEN_MASK   0x03E0
+00021 #define BGR555_BLUE_MASK    0x001F
+00022 
+00030 class CPixelFormat_BGR555 : public CPixelFormat
+00031 {
+00032   public:
+00042     CPixelFormat_BGR555(CBitmap *bitmap)
+00043       : CPixelFormat(bitmap)
+00044     {}
+00045 
+00055     ~CPixelFormat_BGR555()
+00056     {}
+00057 
+00069     void getPixel(RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00070 
+00082     void setPixel(const RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00083 
+00093     uint32_t getBitCount()
+00094     {
+00095       return 16;
+00096     }
+00097 
+00107     void getMaxColor(RGBPIXEL& pixel)
+00108     {
+00109       /* value = 2^5 - 1 */
+00110       pixel.red = pixel.green = pixel.blue = 31;
+00111     }
+00112 };
+00113 
+00114 #endif
+00115 
+00116 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cpixelformat__indexed8_8h-source.html b/ue2/doxygen/cpixelformat__indexed8_8h-source.html new file mode 100644 index 0000000..ab1c2db --- /dev/null +++ b/ue2/doxygen/cpixelformat__indexed8_8h-source.html @@ -0,0 +1,56 @@ + + +imgsynth2: imgsynth2/cpixelformat_indexed8.h Source File + + + + +
+ +
+

imgsynth2/cpixelformat_indexed8.h

00001 
+00008 #ifndef CPixelFormat_Indexed8_H
+00009 #define CPixelFormat_Indexed8_H
+00010 
+00011 #include <fstream>
+00012 #include "cpixelformat.h"
+00013 
+00020 class CPixelFormat_Indexed8 : public CPixelFormat
+00021 {
+00022   public:
+00032     CPixelFormat_Indexed8(CBitmap *bitmap)
+00033       : CPixelFormat(bitmap)
+00034     {}
+00035 
+00045     ~CPixelFormat_Indexed8()
+00046     {}
+00047 
+00059     void getPixel(RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00060 
+00072     void setPixel(const RGBPIXEL& pixel, uint32_t x, uint32_t y);
+00073 
+00083     uint32_t getBitCount()
+00084     {
+00085       return 24;
+00086     }
+00087 
+00097     void getMaxColor(RGBPIXEL& pixel)
+00098     {
+00099       /* value = 2^8 - 1 */
+00100       pixel.red = pixel.green = pixel.blue = 255;
+00101     }
+00102 };
+00103 
+00104 #endif
+00105 
+00106 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cpixmap_8h-source.html b/ue2/doxygen/cpixmap_8h-source.html new file mode 100644 index 0000000..f413f99 --- /dev/null +++ b/ue2/doxygen/cpixmap_8h-source.html @@ -0,0 +1,102 @@ + + +imgsynth2: imgsynth2/cpixmap.h Source File + + + + +
+ +
+

imgsynth2/cpixmap.h

00001 
+00008 #ifndef CPixmap_H
+00009 #define CPixmap_H
+00010 
+00011 #include <stdint.h>
+00012 #include "cbitmap.h"
+00013 
+00014 #define PIXMAP_IDENTIFIER "/* XPM */"
+00015 #define PIXMAP_COLORCHARS ".#abcdefghijklmnopqrstuvwxyzABCD" \
+00016                           "EFGHIJKLMNOPQRSTUVWXYZ0123456789"
+00017 
+00028 class CPixmap : public CBitmap
+00029 {
+00030   public:
+00040     CPixmap();
+00041 
+00051     ~CPixmap()
+00052       {}
+00053 
+00065     void read(std::ifstream& in);
+00066 
+00077     void write(std::ofstream& out);
+00078 
+00079 #ifdef DEBUG
+00080 
+00089     void dump(std::ostream& out);
+00090 #endif
+00091 
+00101     const uint32_t getPixelDataSize()
+00102     {
+00103       return m_fileheader.width * m_fileheader.height * sizeof(uint32_t);
+00104     }
+00105 
+00115     const uint32_t getHeight()
+00116     {
+00117       return m_fileheader.height;
+00118     }
+00119 
+00129     const uint32_t getWidth()
+00130     {
+00131       return m_fileheader.width;
+00132     }
+00133 
+00144     const bool hasColorTable()
+00145     {
+00146       return true;
+00147     }
+00148 
+00158     const bool isMirrored()
+00159     {
+00160       /* pixmap is never mirrored */
+00161       return false;
+00162     }
+00163 
+00164   protected:
+00175     std::string getLine(std::ifstream& in, bool ignore_comments = true);
+00176 
+00186     std::string getCArrayLine(std::ifstream& in);
+00187 
+00198     const std::string getXPMColorID(unsigned int index, unsigned int length);
+00199 
+00203     typedef struct
+00204     {
+00206       uint32_t width;
+00208       uint32_t height;
+00210       uint32_t nColor;
+00212       uint32_t nChar;
+00214       uint32_t xHotspot;
+00216       uint32_t yHotspot;
+00218       bool _HOTSPOT;
+00220       bool _XPMEXT;
+00222       std::string extension;
+00223     } PIXMAP_FILEHEADER;
+00224 
+00225     /* members */
+00227     PIXMAP_FILEHEADER m_fileheader;
+00229     std::string m_imagename;
+00230 };
+00231 
+00232 #endif
+00233 
+00234 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cscriptparser_8h-source.html b/ue2/doxygen/cscriptparser_8h-source.html new file mode 100644 index 0000000..16ce4f0 --- /dev/null +++ b/ue2/doxygen/cscriptparser_8h-source.html @@ -0,0 +1,80 @@ + + +imgsynth2: imgsynth2/cscriptparser.h Source File + + + + +
+ +
+

imgsynth2/cscriptparser.h

00001 
+00008 #ifndef CSCRIPTPARSER_H
+00009 #define CSCRIPTPARSER_H
+00010 
+00011 #include <stdexcept>
+00012 #include <string>
+00013 #include <list>
+00014 #include <set>
+00015 #include "cfile.h"
+00016 
+00030 class CScriptparser
+00031 {
+00032   public:
+00037     class ParserError : public std::invalid_argument {
+00038       public:
+00048         ParserError(const std::string& what)
+00049           : std::invalid_argument(what), m_line("")
+00050         {}
+00051 
+00062         ParserError(const std::string& what, const std::string& line)
+00063           : std::invalid_argument(what), m_line(line)
+00064         {}
+00065 
+00075         ~ParserError() throw()
+00076         {}
+00077 
+00086         const std::string &getLine()
+00087         {
+00088           return m_line;
+00089         }
+00090 
+00091       private:
+00092         /* members*/
+00093         std::string m_line;
+00094     };
+00095 
+00105     CScriptparser(const std::string& scriptfile);
+00106 
+00116     ~CScriptparser();
+00117 
+00127     void parse();
+00128 
+00129   protected:
+00141     void callFunc(const std::string& func, const std::list<std::string>& funcparams);
+00142 
+00155     void read(std::list<std::string> funcparams);
+00156 
+00169     void write(std::list<std::string> funcparams);
+00170 
+00171   private:
+00172     /* members */
+00173     std::set<CFile *> m_handlers;
+00174     std::string m_scriptfile;
+00175     std::string m_curline;
+00176     CFile *m_handler;
+00177 };
+00178 
+00179 #endif
+00180 
+00181 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/cwindowsbitmap_8h-source.html b/ue2/doxygen/cwindowsbitmap_8h-source.html new file mode 100644 index 0000000..1c7f035 --- /dev/null +++ b/ue2/doxygen/cwindowsbitmap_8h-source.html @@ -0,0 +1,108 @@ + + +imgsynth2: imgsynth2/cwindowsbitmap.h Source File + + + + +
+ +
+

imgsynth2/cwindowsbitmap.h

00001 
+00008 #ifndef CWINDOWSBITMAP_H
+00009 #define CWINDOWSBITMAP_H
+00010 
+00011 #include <stdint.h>
+00012 #include "cbitmap.h"
+00013 
+00020 class CWindowsBitmap : public CBitmap
+00021 {
+00022   public:
+00032     CWindowsBitmap();
+00033 
+00043     ~CWindowsBitmap()
+00044     {}
+00045 
+00057     void read(std::ifstream& in);
+00058 
+00069     void write(std::ofstream& out);
+00070 
+00071 #ifdef DEBUG
+00072 
+00081     void dump(std::ostream& out);
+00082 #endif
+00083 
+00093     const uint32_t getPixelDataSize()
+00094     {
+00095       return m_infoheader.biSizeImage;
+00096     }
+00097 
+00107     const uint32_t getHeight()
+00108     {
+00109       /* width and height can be negativ */
+00110       return static_cast<uint32_t>(abs(m_infoheader.biHeight));
+00111     }
+00112 
+00122     const uint32_t getWidth()
+00123     {
+00124       /* width and height can be negativ */
+00125       return static_cast<uint32_t>(abs(m_infoheader.biWidth));
+00126     }
+00127 
+00137     const bool isMirrored()
+00138     {
+00139       /* if height is positive the y-coordinates are mirrored */
+00140       return (m_infoheader.biHeight > 0) ? true : false;
+00141     }
+00142 
+00153     const bool hasColorTable()
+00154     {
+00155       return false;
+00156     }
+00157 
+00158   protected:
+00162 #pragma pack(push,1)
+00163     typedef struct
+00164     {
+00166       uint8_t  bfType[2];
+00168       uint32_t bfSize;
+00170       uint32_t bfReserved;
+00172       uint32_t bfOffBits;
+00173     } BITMAP_FILEHEADER;
+00174 #pragma pack(pop)
+00175 
+00179 #pragma pack(push,1)
+00180     typedef struct
+00181     {
+00183       uint32_t biSize;
+00185       int32_t  biWidth;
+00187       int32_t  biHeight;
+00189       uint16_t biPlanes;
+00191       uint16_t biBitCount;
+00193       uint32_t biCompression;
+00195       uint32_t biSizeImage;
+00197       int32_t  biXPelsPerMeter;
+00199       int32_t  biYPelsPerMeter;
+00201       uint32_t biClrUsed;
+00204       uint32_t biClrImportant;
+00205     } BITMAP_INFOHEADER;
+00206 #pragma pack(pop)
+00207 
+00208     /* members */
+00210     BITMAP_FILEHEADER m_fileheader;
+00212     BITMAP_INFOHEADER m_infoheader;
+00213 };
+00214 
+00215 #endif
+00216 
+00217 /* vim: set et sw=2 ts=2: */
+

Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/doxygen.css b/ue2/doxygen/doxygen.css new file mode 100644 index 0000000..c7db1a8 --- /dev/null +++ b/ue2/doxygen/doxygen.css @@ -0,0 +1,358 @@ +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} +CAPTION { font-weight: bold } +DIV.qindex { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.nav { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navtab { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +TD.navtab { + font-size: 70%; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; +} +A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } +A.el { text-decoration: none; font-weight: bold } +A.elRef { font-weight: bold } +A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} +A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} +A.codeRef:link { font-weight: normal; color: #0000FF} +A.codeRef:visited { font-weight: normal; color: #0000FF} +A:hover { text-decoration: none; background-color: #f2f2ff } +DL.el { margin-left: -1cm } +.fragment { + font-family: monospace, fixed; + font-size: 95%; +} +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } + +DIV.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} +DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #e8eef2; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #e8eef2; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { text-align: center; } +IMG.formulaDsp { } +IMG.formulaInl { vertical-align: middle; } +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } +.mdescLeft { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplParams { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + color: #606060; + background-color: #FAFAFA; + font-size: 80%; +} +.search { color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +TD.tiny { font-size: 75%; +} +a { + color: #1A41A8; +} +a:visited { + color: #2A3798; +} +.dirtab { padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} +TH.dirtab { background: #e8eef2; + font-weight: bold; +} +HR { height: 1px; + border: none; + border-top: 1px solid black; +} + +/* Style for detailed member documentation */ +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; +} +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +.memitem { + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; +} +.memname { + white-space: nowrap; + font-weight: bold; +} +.memdoc{ + padding-left: 10px; +} +.memproto { + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; +} +.paramkey { + text-align: right; +} +.paramtype { + white-space: nowrap; +} +.paramname { + color: #602020; + font-style: italic; + white-space: nowrap; +} +/* End Styling for detailed member documentation */ + +/* for the tree view */ +.ftvtree { + font-family: sans-serif; + margin:0.5em; +} +.directory { font-size: 9pt; font-weight: bold; } +.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } +.directory > h3 { margin-top: 0; } +.directory p { margin: 0px; white-space: nowrap; } +.directory div { display: none; margin: 0px; } +.directory img { vertical-align: -30%; } diff --git a/ue2/doxygen/doxygen.png b/ue2/doxygen/doxygen.png new file mode 100644 index 0000000..f0a274b Binary files /dev/null and b/ue2/doxygen/doxygen.png differ diff --git a/ue2/doxygen/files.html b/ue2/doxygen/files.html new file mode 100644 index 0000000..d4f60f1 --- /dev/null +++ b/ue2/doxygen/files.html @@ -0,0 +1,31 @@ + + +imgsynth2: File Index + + + + +
+ +
+

imgsynth2 File List

Here is a list of all documented files with brief descriptions: + + + + + + + + + +
imgsynth2/cbitmap.h [code]
imgsynth2/cfile.h [code]
imgsynth2/cpixelformat.h [code]
imgsynth2/cpixelformat_bgr24.h [code]
imgsynth2/cpixelformat_bgr555.h [code]
imgsynth2/cpixelformat_indexed8.h [code]
imgsynth2/cpixmap.h [code]
imgsynth2/cscriptparser.h [code]
imgsynth2/cwindowsbitmap.h [code]
+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/functions.html b/ue2/doxygen/functions.html new file mode 100644 index 0000000..3aedcaf --- /dev/null +++ b/ue2/doxygen/functions.html @@ -0,0 +1,293 @@ + + +imgsynth2: Class Members + + + + +
+ +
+
+ +
+
+ +
+
+ +
+ +

+Here is a list of all documented class members with links to the class documentation for each member: +

+

- _ -

+

- b -

+

- c -

+

- e -

+

- f -

+

- g -

+

- h -

+

- i -

+

- m -

+

- n -

+

- p -

+

- r -

+

- s -

+

- w -

+

- x -

+

- y -

+

- ~ -

+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/functions_func.html b/ue2/doxygen/functions_func.html new file mode 100644 index 0000000..63306b9 --- /dev/null +++ b/ue2/doxygen/functions_func.html @@ -0,0 +1,203 @@ + + +imgsynth2: Class Members - Functions + + + + +
+ +
+
+ +
+
+ +
+
+ +
+ +

+  +

+

- b -

+

- c -

+

- f -

+

- g -

+

- h -

+

- i -

+

- m -

+

- p -

+

- r -

+

- s -

+

- w -

+

- ~ -

+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/functions_vars.html b/ue2/doxygen/functions_vars.html new file mode 100644 index 0000000..7a92fa7 --- /dev/null +++ b/ue2/doxygen/functions_vars.html @@ -0,0 +1,150 @@ + + +imgsynth2: Class Members - Variables + + + + +
+ +
+
+ +
+
+ +
+
+ +
+ +

+  +

+

- _ -

+

- b -

+

- e -

+

- g -

+

- h -

+

- m -

+

- n -

+

- r -

+

- w -

+

- x -

+

- y -

+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/hierarchy.html b/ue2/doxygen/hierarchy.html new file mode 100644 index 0000000..20b0269 --- /dev/null +++ b/ue2/doxygen/hierarchy.html @@ -0,0 +1,51 @@ + + +imgsynth2: Hierarchical Index + + + + +
+ +
+
+ +
+

imgsynth2 Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/index.html b/ue2/doxygen/index.html new file mode 100644 index 0000000..455cd11 --- /dev/null +++ b/ue2/doxygen/index.html @@ -0,0 +1,22 @@ + + +imgsynth2: Main Page + + + + +
+ +
+

imgsynth2 Documentation

+

+


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/namespaces.html b/ue2/doxygen/namespaces.html new file mode 100644 index 0000000..5704df0 --- /dev/null +++ b/ue2/doxygen/namespaces.html @@ -0,0 +1,23 @@ + + +imgsynth2: Namespace Index + + + + +
+ +
+

imgsynth2 Namespace List

Here is a list of all documented namespaces with brief descriptions: + +
stdAbstract implementation of CFile handling Bitmaps
+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/namespacestd.html b/ue2/doxygen/namespacestd.html new file mode 100644 index 0000000..ff7ec0d --- /dev/null +++ b/ue2/doxygen/namespacestd.html @@ -0,0 +1,32 @@ + + +imgsynth2: std Namespace Reference + + + + +
+ +
+

std Namespace Reference

Abstract implementation of CFile handling Bitmaps. +More... +

+ + +
+


Detailed Description

+Abstract implementation of CFile handling Bitmaps. +

+

Modulname:
cbitmap
+
Author:
Guenther Neuwirth (0626638), Manuel Mausz (0728348)
+
Date:
17.04.2009
+
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL-members.html b/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL-members.html new file mode 100644 index 0000000..218dd9a --- /dev/null +++ b/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL-members.html @@ -0,0 +1,31 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixelFormat::RGBPIXEL Member List

This is the complete list of members for CPixelFormat::RGBPIXEL, including all inherited members.

+ + + +
blueCPixelFormat::RGBPIXEL
greenCPixelFormat::RGBPIXEL
redCPixelFormat::RGBPIXEL


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL.html b/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL.html new file mode 100644 index 0000000..1c1904a --- /dev/null +++ b/ue2/doxygen/structCPixelFormat_1_1RGBPIXEL.html @@ -0,0 +1,95 @@ + + +imgsynth2: CPixelFormat::RGBPIXEL Struct Reference + + + + +
+ +
+
+ +
+ +

CPixelFormat::RGBPIXEL Struct Reference

RGB Pixel structure. +More... +

+#include <cpixelformat.h> +

+ +

+List of all members. + + + + + + + + +

Public Attributes

uint32_t red
uint32_t green
uint32_t blue
+


Detailed Description

+RGB Pixel structure.

Member Data Documentation

+ +
+
+ + + + +
uint32_t CPixelFormat::RGBPIXEL::red
+
+
+ +

+red +

+

+ +

+
+ + + + +
uint32_t CPixelFormat::RGBPIXEL::green
+
+
+ +

+green +

+

+ +

+
+ + + + +
uint32_t CPixelFormat::RGBPIXEL::blue
+
+
+ +

+blue +

+

+


The documentation for this struct was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER-members.html b/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER-members.html new file mode 100644 index 0000000..c6fa935 --- /dev/null +++ b/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER-members.html @@ -0,0 +1,37 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CPixmap::PIXMAP_FILEHEADER Member List

This is the complete list of members for CPixmap::PIXMAP_FILEHEADER, including all inherited members.

+ + + + + + + + + +
_HOTSPOTCPixmap::PIXMAP_FILEHEADER
_XPMEXTCPixmap::PIXMAP_FILEHEADER
extensionCPixmap::PIXMAP_FILEHEADER
heightCPixmap::PIXMAP_FILEHEADER
nCharCPixmap::PIXMAP_FILEHEADER
nColorCPixmap::PIXMAP_FILEHEADER
widthCPixmap::PIXMAP_FILEHEADER
xHotspotCPixmap::PIXMAP_FILEHEADER
yHotspotCPixmap::PIXMAP_FILEHEADER


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER.html b/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER.html new file mode 100644 index 0000000..908e14e --- /dev/null +++ b/ue2/doxygen/structCPixmap_1_1PIXMAP__FILEHEADER.html @@ -0,0 +1,197 @@ + + +imgsynth2: CPixmap::PIXMAP_FILEHEADER Struct Reference + + + + +
+ +
+
+ +
+ +

CPixmap::PIXMAP_FILEHEADER Struct Reference

Pixmap Header structure. +More... +

+#include <cpixmap.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + +

Public Attributes

uint32_t width
uint32_t height
uint32_t nColor
uint32_t nChar
uint32_t xHotspot
uint32_t yHotspot
bool _HOTSPOT
bool _XPMEXT
std::string extension
+


Detailed Description

+Pixmap Header structure.

Member Data Documentation

+ +
+
+ + + + +
uint32_t CPixmap::PIXMAP_FILEHEADER::width
+
+
+ +

+the xpm width in pixels (signed integer) +

+

+ +

+ +
+ +

+the xpm height in pixels (signed integer) +

+

+ +

+ +
+ +

+the number of colors (signed integer) +

+

+ +

+
+ + + + +
uint32_t CPixmap::PIXMAP_FILEHEADER::nChar
+
+
+ +

+the number of characters per pixel (signed integer) +

+

+ +

+ +
+ +

+X-Position Hotspots +

+

+ +

+ +
+ +

+Y-Position Hotspots +

+

+ +

+ +
+ +

+is hotspot set +

+

+ +

+ +
+ +

+XPMEXT extension tag found +

+

+ +

+
+ + + + +
std::string CPixmap::PIXMAP_FILEHEADER::extension
+
+
+ +

+unchanged extension +

+

+


The documentation for this struct was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER-members.html b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER-members.html new file mode 100644 index 0000000..017d6a8 --- /dev/null +++ b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER-members.html @@ -0,0 +1,32 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CWindowsBitmap::BITMAP_FILEHEADER Member List

This is the complete list of members for CWindowsBitmap::BITMAP_FILEHEADER, including all inherited members.

+ + + + +
bfOffBitsCWindowsBitmap::BITMAP_FILEHEADER
bfReservedCWindowsBitmap::BITMAP_FILEHEADER
bfSizeCWindowsBitmap::BITMAP_FILEHEADER
bfTypeCWindowsBitmap::BITMAP_FILEHEADER


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER.html b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER.html new file mode 100644 index 0000000..90afdc5 --- /dev/null +++ b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__FILEHEADER.html @@ -0,0 +1,112 @@ + + +imgsynth2: CWindowsBitmap::BITMAP_FILEHEADER Struct Reference + + + + +
+ +
+
+ +
+ +

CWindowsBitmap::BITMAP_FILEHEADER Struct Reference

Windows Bitmap File Header structure. +More... +

+#include <cwindowsbitmap.h> +

+ +

+List of all members. + + + + + + + + + + +

Public Attributes

uint8_t bfType [2]
uint32_t bfSize
uint32_t bfReserved
uint32_t bfOffBits
+


Detailed Description

+Windows Bitmap File Header structure.

Member Data Documentation

+ +
+ +
+ +

+the magic number used to identify the BMP file +

+

+ +

+ +
+ +

+the size of the BMP file in bytes +

+

+ +

+ +
+ +

+reserved +

+

+ +

+ +
+ +

+the offset of the byte where the bitmap data can be found +

+

+


The documentation for this struct was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER-members.html b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER-members.html new file mode 100644 index 0000000..a5423c8 --- /dev/null +++ b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER-members.html @@ -0,0 +1,39 @@ + + +imgsynth2: Member List + + + + +
+ +
+
+ +
+

CWindowsBitmap::BITMAP_INFOHEADER Member List

This is the complete list of members for CWindowsBitmap::BITMAP_INFOHEADER, including all inherited members.

+ + + + + + + + + + + +
biBitCountCWindowsBitmap::BITMAP_INFOHEADER
biClrImportantCWindowsBitmap::BITMAP_INFOHEADER
biClrUsedCWindowsBitmap::BITMAP_INFOHEADER
biCompressionCWindowsBitmap::BITMAP_INFOHEADER
biHeightCWindowsBitmap::BITMAP_INFOHEADER
biPlanesCWindowsBitmap::BITMAP_INFOHEADER
biSizeCWindowsBitmap::BITMAP_INFOHEADER
biSizeImageCWindowsBitmap::BITMAP_INFOHEADER
biWidthCWindowsBitmap::BITMAP_INFOHEADER
biXPelsPerMeterCWindowsBitmap::BITMAP_INFOHEADER
biYPelsPerMeterCWindowsBitmap::BITMAP_INFOHEADER


Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER.html b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER.html new file mode 100644 index 0000000..03a763e --- /dev/null +++ b/ue2/doxygen/structCWindowsBitmap_1_1BITMAP__INFOHEADER.html @@ -0,0 +1,231 @@ + + +imgsynth2: CWindowsBitmap::BITMAP_INFOHEADER Struct Reference + + + + +
+ +
+
+ +
+ +

CWindowsBitmap::BITMAP_INFOHEADER Struct Reference

Windows Bitmap Info Header structure. +More... +

+#include <cwindowsbitmap.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + +

Public Attributes

uint32_t biSize
int32_t biWidth
int32_t biHeight
uint16_t biPlanes
uint16_t biBitCount
uint32_t biCompression
uint32_t biSizeImage
int32_t biXPelsPerMeter
int32_t biYPelsPerMeter
uint32_t biClrUsed
uint32_t biClrImportant
+


Detailed Description

+Windows Bitmap Info Header structure.

Member Data Documentation

+ +
+ +
+ +

+the size of this header (40 bytes) +

+

+ +

+ +
+ +

+the bitmap width in pixels (signed integer) +

+

+ +

+ +
+ +

+the bitmap height in pixels (signed integer) +

+

+ +

+ +
+ +

+the number of color planes being used. Must be set to 1 +

+

+ +

+ +
+ +

+the number of bits per pixel, which is the color depth of the image +

+

+ +

+ +
+ +

+the compression method being used +

+

+ +

+ +
+ +

+the image size +

+

+ +

+ +
+ +

+the horizontal resolution of the image (pixel per meter) +

+

+ +

+ +
+ +

+the vertical resolution of the image (pixel per meter) +

+

+ +

+ +
+ +

+the number of colors in the color palette, or 0 to default to 2^n +

+

+ +

+ +
+ +

+the number of important colors used, or 0 when every color is important; generally ignored. +

+

+


The documentation for this struct was generated from the following file: +
Generated on Sat May 2 18:58:11 2009 for imgsynth2 by  + +doxygen 1.5.3
+ + diff --git a/ue2/doxygen/tab_b.gif b/ue2/doxygen/tab_b.gif new file mode 100644 index 0000000..0d62348 Binary files /dev/null and b/ue2/doxygen/tab_b.gif differ diff --git a/ue2/doxygen/tab_l.gif b/ue2/doxygen/tab_l.gif new file mode 100644 index 0000000..9b1e633 Binary files /dev/null and b/ue2/doxygen/tab_l.gif differ diff --git a/ue2/doxygen/tab_r.gif b/ue2/doxygen/tab_r.gif new file mode 100644 index 0000000..ce9dd9f Binary files /dev/null and b/ue2/doxygen/tab_r.gif differ diff --git a/ue2/doxygen/tabs.css b/ue2/doxygen/tabs.css new file mode 100644 index 0000000..c37faaf --- /dev/null +++ b/ue2/doxygen/tabs.css @@ -0,0 +1,102 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI.current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI.current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.nav +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; +} -- cgit v1.2.3