COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coImagePNG.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef _CO_IMAGEPNG_H_
9 #define _CO_IMAGEPNG_H_
10 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11 // CLASS coImagePNG
12 //
13 // This class @@@
14 //
15 // Initial version: 2004-04-27 [we]
16 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17 // (C) 2001 by VirCinity IT Consulting
18 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 // Changes:
20 //
21 
22 #include "coImageImpl.h"
23 
28 namespace covise
29 {
30 
31 class coImagePNG : public coImageImpl
32 {
33 public:
34  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35  // ++ Constructors / Destructor
36  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37 
41  coImagePNG(const char *filename);
42 
44  virtual ~coImagePNG();
45 
46  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47  // ++ Operations
48  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49 
51  virtual unsigned char *getBitmap(int frameno = 0);
52 
53  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54  // ++ Attribute request/set functions
55  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56 
57 protected:
58  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59  // ++ Attributes
60  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61 
62  // my pixel map
63  unsigned char *pixmap_;
64 
65 private:
66  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67  // ++ Internally used functions
68  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69 
70  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71  // ++ prevent auto-generated bit copy routines by default
72  // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
73 
75  coImagePNG(const coImagePNG &);
76 
79 
81  coImagePNG();
82 };
83 }
84 #endif
Definition: coImageImpl.h:29
virtual unsigned char * getBitmap(int frameno=0)
get pointer to internal data
Definition: coImagePNG.cpp:99
unsigned char * pixmap_
Definition: coImagePNG.h:63
virtual ~coImagePNG()
Destructor : virtual in case we derive objects.
Definition: coImagePNG.cpp:84
Definition: coImagePNG.h:31
coImagePNG & operator=(const coImagePNG &)
Assignment operator: NOT IMPLEMENTED, checked by assert.
Definition: coImagePNG.cpp:121
coImagePNG()
Default constructor: NOT IMPLEMENTED, checked by assert.
Definition: coImagePNG.cpp:128