VIPER REFERENCE MANUAL


NAME
iflSGIColormap - default SGI colormap

INHERITS FROM
iflLut : iflColormap

HEADER FILE
#include <ifl/iflSGIColormap.h>

PUBLIC METHOD SUMMARY
iflSGIColormap (  );
~iflSGIColormap (  );

INHERITED PUBLIC METHODS

   Inherited from iflLut
void* getChan ( int chan) const;
void* getData (  ) const;
iflDataType getDataType (  ) const;
void getDomain ( double& min, double& max) const;
double getDomainMax (  ) const;
double getDomainMin (  ) const;
double getDomainStep (  ) const;
int getLength (  ) const;
int getNumChans (  ) const;
void* getOrigin ( int chan) const;
void getRange ( double& min, double& max) const;
double getVal ( double domainIdx, int chan=0) const;
int isDiff ( const iflLut& from) const;
void operator= ( const iflLut& from);
void setData ( void* data);
iflStatus setDomain ( double min, double max);
iflStatus setVal ( double val, double domainIdx, int chan=0);

INHERITED PROTECTED METHODS

   Inherited from iflLut
void init ( void* table, int tabChannels, iflDataType tabType, double min, double max, int length=0);

CLASS DESCRIPTION
The SGI colormap class is used to create a representation of the standard SGI colormap that is commonly used with SGI images and is the standard colormap for OpenGL and IrisGL PseudoColor visuals. The domain of the table is from 32 to 255; it contains a greyscale ramp in the first 24 entries, the remainder is a color ramp.

METHOD DESCRIPTIONS

   iflSGIColormap()
iflSGIColormap (  );

Constructs an iflColormap containing the standard SGI colormap.

   ~iflSGIColormap()
~iflSGIColormap (  );

The destructor frees all memory associated with this object.

SEE ALSO
iflColormap, iflLut