24#ifndef _PO_DATA_MAPPING_
25#define _PO_DATA_MAPPING_
27#include <Inventor/fields/SoSFBool.h>
28#include <Inventor/fields/SoSFFloat.h>
29#include <Inventor/fields/SoSFColor.h>
31#include <MeshViz/nodes/PoNode.h>
167 static void initClass() ;
168 static void exitClass() ;
169 const PbDataMapping *getDataMapping() { updateDataMapping();
return m_dataMapping;};
178 virtual void updateDataMapping() ;
181 static void minThresholdChangedCB(
void *data,
SoSensor *) ;
182 static void maxThresholdChangedCB(
void *data,
SoSensor *) ;
183 static void transparencyChangedCB(
void *data,
SoSensor *) ;
185 SbBool m_minThresholdChanged ;
191 SbBool m_maxThresholdChanged ;
197 SbBool m_transparencyChanged ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for data ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
SoSFColor minThresholdColor
Color associated to values <= minThreshold.
SoSFFloat minThreshold
Minimum threshold value.
virtual const SbColor * getColor(float value)=0
Returns the color associated to a value.
SoSFBool transparencyEnabled
Enable/Disable the taking into account of transparency.
SoSFFloat maxThreshold
Maximum threshold value.
SoSFBool maxThresholdEnabled
Defines if the maximum threshold is enabled.
SoSFColor maxThresholdColor
Color associated to values >= maxThreshold.
SoSFFloat transparencyValueDeletedParts
Each primitive part of which transparency >= transparencyValueDeletedParts, is deleted.
SoSFFloat maxThresholdTransparency
Transparency associated to values >= maxThreshold.
virtual const SbColor * getColor(float value, float &transparency)=0
Returns the color and the transparency associated to a value.
SoSFBool minThresholdEnabled
Defines if the minimum threshold is enabled.
SoSFFloat minThresholdTransparency
Transparency associated to values <= minThreshold.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
Sensor class that can be attached to Open Inventor fields.
Field containing a single Boolean value.
Field containing an RGB color.
Field containing a floating-point value.
Abstract base class for Open Inventor sensors.