COVISE Core
coBinImage.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_BIN_IMAGE_H_
9#define _CO_BIN_IMAGE_H_
10// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11// CLASS coBinImage
12//
13// Initial version: 2004-04-27 [we]
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15// (C) 2001 by VirCinity IT Consulting
16// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17// Changes:
18//
19
20#include "coImageImpl.h"
21
27namespace covise
28{
29class coBinImage : public coImageImpl
30{
31public:
32 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33 // ++ Constructors / Destructor
34 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35
37 coBinImage(const char *filename);
38
40 coBinImage(int width, int height, int numChannels, int numFrames,
41 void *buffer = NULL);
42
44 coBinImage(int width, int height, int numChannels, int numFrames,
45 const char *filename);
46
48 virtual ~coBinImage();
49
50 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51 // ++ Operations
52 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53
55 virtual unsigned char *getBitmap(int frameno = 0);
56
57 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58 // ++ Attribute request/set functions
59 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60
61protected:
62 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63 // ++ Attributes
64 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65
66 // my pixel buffers
67 unsigned char **pixbuf;
68
69private:
70 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71 // ++ Internally used functions
72 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
73
74 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
75 // ++ prevent auto-generated bit copy roct lsutines by default
76 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
77
79 coBinImage(const coBinImage &);
80
83
85 coBinImage();
86};
87}
88#endif
#define NULL
Definition: covise_list.h:22
GLuint buffer
Definition: khronos-glext.h:6606
GLint GLint GLsizei GLsizei height
Definition: khronos-glext.h:6344
GLint GLint GLsizei width
Definition: khronos-glext.h:6344
list of all chemical elements
Definition: coConfig.h:27
Definition: coBinImage.h:30
coBinImage()
Default constructor: NOT IMPLEMENTED, checked by assert.
Definition: coBinImage.cpp:152
unsigned char ** pixbuf
Definition: coBinImage.h:67
virtual ~coBinImage()
Destructor : virtual in case we derive objects.
Definition: coBinImage.cpp:103
virtual unsigned char * getBitmap(int frameno=0)
get pointer to internal data
Definition: coBinImage.cpp:117
coBinImage & operator=(const coBinImage &)
Assignment operator: NOT IMPLEMENTED, checked by assert.
Definition: coBinImage.cpp:145
Definition: coImageImpl.h:30