COVISE Core
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
covise::coBinImage Class Reference

#include <coBinImage.h>

Inheritance diagram for covise::coBinImage:
Inheritance graph
[legend]
Collaboration diagram for covise::coBinImage:
Collaboration graph
[legend]

Public Member Functions

 coBinImage (const char *filename)
 Construct from given filename : asserted to 0 here ! More...
 
 coBinImage (int width, int height, int numChannels, int numFrames, void *buffer=NULL)
 Construct sizes, eventually fill from given field. More...
 
 coBinImage (int width, int height, int numChannels, int numFrames, const char *filename)
 Construct from given input file. More...
 
virtual ~coBinImage ()
 Destructor : virtual in case we derive objects. More...
 
virtual unsigned char * getBitmap (int frameno=0)
 get pointer to internal data More...
 
- Public Member Functions inherited from covise::coImageImpl
 coImageImpl ()
 Construct without setting anything - derived classes will do later. More...
 
virtual ~coImageImpl ()
 
 coImageImpl (int width, int height, int numChannels, int numFrames)
 Construct from given dimensions. More...
 
virtual int getWidth ()
 width of image More...
 
virtual int getHeight ()
 height of image; More...
 
virtual int getNumChannels ()
 get number of Color Channels More...
 
virtual int getNumFrames ()
 get number of frames More...
 
virtual unsigned char * getBitmap (int frameno=0)=0
 get pointer to internal data More...
 
virtual bool isBad ()
 Did we have errors on reading. More...
 
virtual const char * errorMessage ()
 Error message if problems occurred: empty if ok. More...
 
void setError (const char *errorString)
 

Protected Attributes

unsigned char ** pixbuf
 
- Protected Attributes inherited from covise::coImageImpl
int width_
 
int height_
 
int numChannels_
 
int numFrames_
 

Private Member Functions

 coBinImage (const coBinImage &)
 Copy-Constructor: NOT IMPLEMENTED, checked by assert. More...
 
coBinImageoperator= (const coBinImage &)
 Assignment operator: NOT IMPLEMENTED, checked by assert. More...
 
 coBinImage ()
 Default constructor: NOT IMPLEMENTED, checked by assert. More...
 

Constructor & Destructor Documentation

◆ coBinImage() [1/5]

coBinImage::coBinImage ( const char *  filename)

Construct from given filename : asserted to 0 here !

◆ coBinImage() [2/5]

coBinImage::coBinImage ( int  width,
int  height,
int  numChannels,
int  numFrames,
void buffer = NULL 
)

Construct sizes, eventually fill from given field.

◆ coBinImage() [3/5]

coBinImage::coBinImage ( int  width,
int  height,
int  numChannels,
int  numFrames,
const char *  filename 
)

Construct from given input file.

◆ ~coBinImage()

coBinImage::~coBinImage ( )
virtual

Destructor : virtual in case we derive objects.

◆ coBinImage() [4/5]

coBinImage::coBinImage ( const coBinImage )
private

Copy-Constructor: NOT IMPLEMENTED, checked by assert.

Copy-Constructor: NOT IMPLEMENTED.

◆ coBinImage() [5/5]

coBinImage::coBinImage ( )
private

Default constructor: NOT IMPLEMENTED, checked by assert.

Default constructor: NOT IMPLEMENTED.

Member Function Documentation

◆ getBitmap()

unsigned char * coBinImage::getBitmap ( int  frameno = 0)
virtual

get pointer to internal data

Implements covise::coImageImpl.

◆ operator=()

coBinImage & coBinImage::operator= ( const coBinImage )
private

Assignment operator: NOT IMPLEMENTED, checked by assert.

Assignment operator: NOT IMPLEMENTED.

Member Data Documentation

◆ pixbuf

unsigned char** covise::coBinImage::pixbuf
protected

The documentation for this class was generated from the following files: