class tsData2ToPackedColor : public SoEngine

Engine for computing color/transparency for a tsData2 node

Inheritance:


Public Methods

static void initClass()
Initializes this class for use in scene graphs
tsData2ToPackedColor()
Constructor

Public

Input Fields
SoSFNode tsDataNode
Field specifying the tsData node, which data should be processed
SoSFEnum mapping
Field describing the mapping algorithm
SoSFFloat minimum
Field containing the data value that is taken as the minimum value to color key, (blue)
SoSFFloat maximum
Field containing the data value that is taken as the maximum value to color key, i
Output Fields
SoEngineOutput packedColors
The output is a field of class SoMFUInt32 containing a packed color/transparency for every data value in the connected input 'tsDataNode'

Private Methods

virtual void evaluate()
Evaluation method
virtual void inputChanged(SoField *whichInput)
SO_ENGINE_HEADER(tsData2ToPackedColor)
SbColor tsData2ToPackedColor::colorMap(float value)
virtual ~tsData2ToPackedColor()
Destructor

Documentation

Engine for computing color/transparency for a tsData2 node.

SO_ENGINE_HEADER(tsData2ToPackedColor)

Input Fields

SoSFNode tsDataNode
Field specifying the tsData node, which data should be processed. Connecting the whole node with by this 'handle' is a convenience introduced in tsKit.

SoSFEnum mapping
Field describing the mapping algorithm. Not yet implemented.

SoSFFloat minimum
Field containing the data value that is taken as the minimum value to color key, (blue). If not connected, the minimum value of the tsData node is used.

SoSFFloat maximum
Field containing the data value that is taken as the maximum value to color key, i.e., red. If not connected, the maximum value of the tsData node is used.

Output Fields

SoEngineOutput packedColors
The output is a field of class SoMFUInt32 containing a packed color/transparency for every data value in the connected input 'tsDataNode'

static void initClass()
Initializes this class for use in scene graphs. This should be called after database initialization and before any instance of this engine is constructed.

tsData2ToPackedColor()
Constructor

virtual ~tsData2ToPackedColor()
Destructor. Since engines are never deleted explicitly, this can be private.

SbColor tsData2ToPackedColor::colorMap(float value)

virtual void evaluate()
Evaluation method

virtual void inputChanged(SoField *whichInput)


This class has no child classes.
Author:
Andreas Lücke
Version:
0.0
See Also:
tsData2Base SoPackedColors

alphabetic index hierarchy of classes


This page is part of the tsKit's reference manual by Andreas Lücke.
Back to tsKit-Home

generated by doc++