Builds a 2D curve. More...
#include <MeshViz/graph/PoCurve.h>
Class to build a curve in the plane XY. The curve is defined by a set of points. Different representations of the curve can be obtained, such as polyline curve, smooth curve, stair curve or double stair curve. The curve can be filled. Furthermore, some filters control the appearance of markers (on the curve) and raise points (vertical lines from the curve to a threshold).
point | 0 0 |
curveRep | CURVE_POLYLINE |
fillingThreshold | 0.0 |
isCurveFilled | FALSE |
markerFilterType | INACTIVE |
markerIndexPeriod | 0 |
markerIndexList | 0 |
markerXPeriod | 0 |
markerXList | 0 |
markerString | "." |
raiseFilterType | INACTIVE |
raiseIndexPeriod | 0 |
raiseIndexList | 0 |
raiseXPeriod | 0 |
raiseXList | 0 |
raiseThreshold | 0 |
enum PoCurve::CurveRep |
Curve representation.
enum PoCurve::FilterType |
Filter type.
PoCurve::PoCurve | ( | ) | [inline] |
Default constructor.
PoCurve::PoCurve | ( | int | numPoints, | |
const SbVec2f * | _point, | |||
CurveRep | _curveRep = CURVE_POLYLINE | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoCurve::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
static SoType PoCurve::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
virtual const SoNodekitCatalog* PoCurve::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
virtual SoType PoCurve::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
virtual void PoCurve::rebuild | ( | ) | [virtual] |
Defines the curve representation (polyline, smooth, stair, .
..)
Defines the threshold to fill the curve.
Indicates if the curve is filled or not.
Defines the type of marker filter.
This value determines which filter is active (markerIndexPeriod or markerIndexList,...)
A list of points (of point) is selected by their indices.
One point (of point) in every consecutive markerIndexPeriod is selected.
The markers are defined by a string.
If this field is equal to ".", the markers are SoPointSet shapes, otherwise SoText2 shapes. To change the font of text markers, set the catalog part markerApp.font.name. Be careful, in this version, text markers are not vertically aligned.
A list of points (of the computed curve points) is selected by their abscises.
One point (of the computed curve points) in every markerXPeriod is selected.
Point list of the curve.
Defines the type of raise filter.
This value determines which filter is active (raiseIndexPeriod or raiseIndexList,...)
A list of points (of point) is selected by their indices.
One point (of point) in every consecutive raiseIndexPeriod is selected.
Raise points are vertical lines joining the curve points and the specified threshold.
A list of points (of the computed curve points) is selected by their abscises.
One point (of the computed curve points) in every raiseXPeriod is selected.