24#ifndef _PO_LINEAR_DATA_MAPPING_
25#define _PO_LINEAR_DATA_MAPPING_
140 virtual void doAction(
SoAction *action) ;
143 static void initClass() ;
144 static void exitClass() ;
148 virtual void updateDataMapping() ;
151 static void fieldChangedCB(
void *data,
SoSensor *) ;
#define SO_NODE_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Node class to define a l...
SoSFFloat value2
Defines the second value of the linear data mapping.
SoSFFloat transparency2
Defines the second transparency of the linear data mapping.
SoSFFloat transparency1
Defines the first transparency of the linear data mapping.
virtual const SbColor * getColor(float value)
Returns the color associated to a value.
SoSFColor color2
Defines the second color of the linear data mapping.
SoSFFloat value1
Defines the first value of the linear data mapping.
PoLinearDataMapping()
Constructor.
virtual const SbColor * getColor(float value, float &transparency)
Returns the color and transparency associated to a value.
SoSFColor color1
Defines the first color of the linear data mapping.
Abstract base class for all actions.
Sensor class that can be attached to Open Inventor fields.
Field containing an RGB color.
Field containing a floating-point value.
Abstract base class for Open Inventor sensors.