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

#include <coImageImpl.h>

Inheritance diagram for covise::coImageImpl:
Inheritance graph
[legend]

Public Member Functions

 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

int width_
 
int height_
 
int numChannels_
 
int numFrames_
 

Private Attributes

char * errString_
 
bool isBad_
 

Constructor & Destructor Documentation

◆ coImageImpl() [1/2]

coImageImpl::coImageImpl ( )

Construct without setting anything - derived classes will do later.

◆ ~coImageImpl()

virtual covise::coImageImpl::~coImageImpl ( )
inlinevirtual

◆ coImageImpl() [2/2]

coImageImpl::coImageImpl ( int  width,
int  height,
int  numChannels,
int  numFrames 
)

Construct from given dimensions.

Member Function Documentation

◆ errorMessage()

const char * coImageImpl::errorMessage ( )
virtual

Error message if problems occurred: empty if ok.

◆ getBitmap()

virtual unsigned char * covise::coImageImpl::getBitmap ( int  frameno = 0)
pure virtual

◆ getHeight()

int coImageImpl::getHeight ( )
virtual

height of image;

◆ getNumChannels()

int coImageImpl::getNumChannels ( )
virtual

get number of Color Channels

◆ getNumFrames()

int coImageImpl::getNumFrames ( )
virtual

get number of frames

◆ getWidth()

int coImageImpl::getWidth ( )
virtual

width of image

◆ isBad()

bool coImageImpl::isBad ( )
virtual

Did we have errors on reading.

◆ setError()

void coImageImpl::setError ( const char *  errorString)

Member Data Documentation

◆ errString_

char* covise::coImageImpl::errString_
private

◆ height_

int covise::coImageImpl::height_
protected

◆ isBad_

bool covise::coImageImpl::isBad_
private

◆ numChannels_

int covise::coImageImpl::numChannels_
protected

◆ numFrames_

int covise::coImageImpl::numFrames_
protected

◆ width_

int covise::coImageImpl::width_
protected

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