27#include <MeshViz/graph/PoGraphMaster.h>
29#include <Inventor/fields/SoSFEnum.h>
30#include <Inventor/fields/SoSFBool.h>
31#include <Inventor/fields/SoSFFloat.h>
32#include <Inventor/fields/SoMFFloat.h>
33#include <Inventor/fields/SoSFInt32.h>
34#include <Inventor/fields/SoMFInt32.h>
35#include <Inventor/fields/SoMFVec2f.h>
36#include <Inventor/fields/SoSFString.h>
82 SO_KIT_CATALOG_ENTRY_HEADER(curveFillingSep) ;
83 SO_KIT_CATALOG_ENTRY_HEADER(curveFillingApp) ;
84 SO_KIT_CATALOG_ENTRY_HEADER(curveFilling) ;
86 SO_KIT_CATALOG_ENTRY_HEADER(curvePointSep) ;
87 SO_KIT_CATALOG_ENTRY_HEADER(curvePointApp) ;
88 SO_KIT_CATALOG_ENTRY_HEADER(curvePoint) ;
90 SO_KIT_CATALOG_ENTRY_HEADER(markerSep) ;
91 SO_KIT_CATALOG_ENTRY_HEADER(markerApp) ;
92 SO_KIT_CATALOG_ENTRY_HEADER(marker) ;
94 SO_KIT_CATALOG_ENTRY_HEADER(raisePointSep) ;
95 SO_KIT_CATALOG_ENTRY_HEADER(raisePointApp) ;
96 SO_KIT_CATALOG_ENTRY_HEADER(raisePoint) ;
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 ;
<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.