RVC::COLORMAP Class Reference

Manages RVC::OBJTYPE_ColorPalette objects. More...

#include <rvc/cmap.h>

Inheritance diagram for RVC::COLORMAP:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 COLORMAP (const RVC::COLORMAP &rhs)
 COLORMAP ()
ERRVALUE GenerateStandardColors ()
const SIMPLE_ARRAY< COLOR > & GetColorMap () const
RVC::COLORMAPoperator= (const RVC::COLORMAP &rhs)
ERRVALUE SetColorMap (const SIMPLE_ARRAY< COLOR > &ColorMap)
virtual ~COLORMAP ()

Detailed Description

Manages RVC::OBJTYPE_ColorPalette objects.

The interface currently wraps the MfColorMap functions.

RVC Object Types that this class supports: OBJTYPE_ColorPalette.

Default RVC Object Type for this class: OBJTYPE_ColorPalette.

Valid parents for this class:

Read(), Make() and Write() methods inherited from RVCSIMPLE class. View RVCSIMPLE docs for inherited methods

Definition at line 75 of file cmap.h.


Constructor & Destructor Documentation

RVC::COLORMAP::COLORMAP  ) 
 

Default constructor.

RVC::COLORMAP::COLORMAP const RVC::COLORMAP rhs  ) 
 

Copy constructor.

virtual RVC::COLORMAP::~COLORMAP  )  [virtual]
 

Destructor.


Member Function Documentation

ERRVALUE RVC::COLORMAP::GenerateStandardColors  ) 
 

Generate the default 80 standard color colormap Can be used to Make() an object with the 80 std colors.

const SIMPLE_ARRAY<COLOR>& RVC::COLORMAP::GetColorMap  )  const
 

Obtain color map from the instance, not useful until Read() method is performed.

Returns:
Constant Reference to colormap array.

RVC::COLORMAP& RVC::COLORMAP::operator= const RVC::COLORMAP rhs  ) 
 

Assignment.

ERRVALUE RVC::COLORMAP::SetColorMap const SIMPLE_ARRAY< COLOR > &  ColorMap  ) 
 

Set the internal colormap array storage for later writing.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:13 2004 for TNTsdk by  doxygen 1.3.8-20040913