24#ifndef _PO_LINEAR_DATA_MAPPING_
25#define _PO_LINEAR_DATA_MAPPING_
27#include <Inventor/fields/SoSFFloat.h>
28#include <Inventor/fields/SoSFColor.h>
30#include <MeshViz/nodes/PoDataMapping.h>
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 *) ;
<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.