295 { init(
FALSE, numPoints, _point, _curveRep) ; }
306 static void initClass() ;
307 static void exitClass() ;
313 virtual void setDefaultOnNonWritingFields() ;
318 void init(
SbBool isDefault,
int numPoints=0,
const SbVec2f *_point=NULL,
322 void drawRaisePoints(
int numPoints,
const SbVec3f *pointList) ;
325 void drawMarkers(
int numPoints,
const SbVec3f *pointList) ;
328 static void calculateInterpolation(
const SbVec2f &a,
const SbVec2f &b,
float x,
330 static void calculateInterpolation2(
const SbVec2f &a,
const SbVec2f &b,
float y,
333 FieldSensorList fieldSensorList ;
#define TRUE
Possible value of SbBool.
#define FALSE
Possible value of SbBool.
#define SO_KIT_CATALOG_ENTRY_HEADER(partName)
#define SO_KIT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Builds a 2D curve.
SoMFVec2f point
Point list of the curve.
SoSFEnum markerFilterType
Defines the type of marker filter.
CurveRep
Curve representation.
@ CURVE_POLYLINE
The curve is a sequence of straight lines linking all points.
@ CURVE_HISTO_Y
Stair curve no necessarily passing through all points.
@ CURVE_STAIRS_X
Stair curve passing through all points.
@ CURVE_STAIRS_Y
Stair curve passing through all points.
@ CURVE_NONE
No curve is built.
@ CURVE_HISTO_X
Stair curve no necessarily passing through all points.
@ CURVE_STAIRS_2Y
Double stair curve.
@ CURVE_SMOOTH
The curve is a smoothing passing through all points.
@ CURVE_STAIRS_2X
Double stair curve.
SoMFFloat markerXList
A list of points (of the computed curve points) is selected by their abscises.
virtual void rebuild()
Forces node-kit rebuilding.
SoSFFloat raiseXPeriod
One point (of the computed curve points) in every raiseXPeriod is selected.
@ X_PERIOD
One point of computed curve points is selected in every xPeriod.
@ ALL_POINTS
All points of point are selected.
@ INDEX_PERIOD
One point of point in every indexPeriod is selected.
@ X_LIST
A list of points of computed curve points are selected by a list of abscises.
@ INACTIVE
Filter is inactive.
@ INDEX_LIST
A list of points of point is selected by their indices.
SoSFFloat raiseThreshold
Raise points are vertical lines joining the curve points and the specified threshold.
SoSFFloat fillingThreshold
Defines the threshold to fill the curve.
PoCurve()
Default constructor.
SoSFEnum curveRep
Defines the curve representation (polyline, smooth, stair, ...)
SoMFInt32 raiseIndexList
A list of points (of point) is selected by their indices.
SoSFInt32 markerIndexPeriod
One point (of point) in every consecutive markerIndexPeriod is selected.
SoSFFloat markerXPeriod
One point (of the computed curve points) in every markerXPeriod is selected.
SoMFInt32 markerIndexList
A list of points (of point) is selected by their indices.
SoSFInt32 raiseIndexPeriod
One point (of point) in every consecutive raiseIndexPeriod is selected.
PoCurve(int numPoints, const SbVec2f *_point, CurveRep _curveRep=CURVE_POLYLINE)
Constructor.
SoSFBool isCurveFilled
Indicates if the curve is filled or not.
SoMFFloat raiseXList
A list of points (of the computed curve points) is selected by their abscises.
SoSFEnum raiseFilterType
Defines the type of raise filter.
SoSFString markerString
The markers are defined by a string.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
Maintains a list of pointers to fields.
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of int32_t integers.
Multiple-value field containing any number of two-dimensional vectors.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a int32_t integer.
Field containing a string.