ColorTransfer Namespace Reference


Functions

void init ()
void end ()
RGBAColor getIntensity (int anIntensity)
void removeColorMarker (int anIntensity)
void removeOpacityMarker (int anIntensity)
void addMarker (int anIntensity, Float_Color aColor)
void addMarker (int anIntensity, float anOpacity)
std::map< int, Float_Color > * getColorTransferPt ()
std::map< int, float > * getOpacityTransferPt ()
void useSpline (bool useSplines)
bool splineIsUsed ()
void useExactAlgorithm (bool useIt)


Function Documentation

void ColorTransfer::init (  ) 

(re-)initializes the namespace

void ColorTransfer::end (  ) 

RGBAColor ColorTransfer::getIntensity ( int  anIntensity  ) 

returns the color at a given intensity

Parameters:
anIntensity the intinsity the color is requested for
Returns:
the requested color

void ColorTransfer::removeColorMarker ( int  anIntensity  ) 

removes a marker from the color map

Parameters:
anIntensity the position of the marker

void ColorTransfer::removeOpacityMarker ( int  anIntensity  ) 

removes a marker from the opacity map

Parameters:
anIntensity the position of the marker

void ColorTransfer::addMarker ( int  anIntensity,
Float_Color  aColor 
)

adds a marker to the color map

Parameters:
anIntensity the position of the marker
aColor the color to add

void ColorTransfer::addMarker ( int  anIntensity,
float  anOpacity 
)

adds a marker to the opacity map

Parameters:
anIntensity the position of the marker
aColor the opacity to add

std::map< int, Float_Color > * ColorTransfer::getColorTransferPt (  ) 

returns a pointer to the color map

Returns:
returns a pointer to the color map

std::map< int, float > * ColorTransfer::getOpacityTransferPt (  ) 

returns a pointer to the opacity map

Returns:
returns a pointer to the opacity map

void ColorTransfer::useSpline ( bool  useSplines  ) 

switches between catmull-rom splines and linear interpolation

Parameters:
useSplineInterpolation switch to spline interpolation (otherwise linear)

bool ColorTransfer::splineIsUsed (  ) 

indicates whether splines are used for interpolation or not

Returns:
returns whether splines are used for interpolation or not

void ColorTransfer::useExactAlgorithm ( bool  useIt  ) 

indicates whether splines are computed exactly when using spline interpolation

Parameters:
useIt indicates whether to use exact calculation or not


Generated on Wed Dec 6 11:27:27 2006 by  doxygen 1.4.7