Builds a 3D curve.
More...
#include <MeshViz/graph/PoCurve3.h>
Public Types | |
| enum | CurveRep { CURVE_NONE, CURVE_POLYLINE, CURVE_SMOOTH } |
Public Member Functions | |
| virtual SoType | getTypeId () const |
| virtual const SoNodekitCatalog * | getNodekitCatalog () const |
| PoCurve3 () | |
| PoCurve3 (int numPoints, const SbVec3f *_point, CurveRep _curveRep=CURVE_POLYLINE) | |
| virtual void | rebuild () |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
| SoMFVec3f | point |
| SoSFEnum | curveRep |
| SoSFBool | isMarkerVisible |
| SoSFString | markerString |
Builds a 3D curve.
Class to build a 3D curve. The curve is defined by a set of points. Different representations of the curve can be obtained such as a polyline curve or a smooth curve.
| point | 0 0 0 |
| curveRep | CURVE_POLYLINE |
| isMarkerVisible | FALSE |
| markerString | "." |
| enum PoCurve3::CurveRep |
| PoCurve3::PoCurve3 | ( | ) | [inline] |
Default constructor.
| PoCurve3::PoCurve3 | ( | int | numPoints, | |
| const SbVec3f * | _point, | |||
| CurveRep | _curveRep = CURVE_POLYLINE | |||
| ) | [inline] |
Constructor.
| static const SoNodekitCatalog* PoCurve3::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
| static SoType PoCurve3::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
| virtual const SoNodekitCatalog* PoCurve3::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
| virtual SoType PoCurve3::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
| virtual void PoCurve3::rebuild | ( | ) | [virtual] |
Defines the curve representation (polyline, smooth or none).
CURVE_POLYLINE by default.
Indicates if a marker is generated on each curve point.
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, for the moment, text markers are not vertically aligned.
Point list of the curve.