Builds points field with X and Y margin error. More...
#include <MeshViz/graph/PoErrorPointField.h>
Public Types | |
enum | ShapeType { NO_SHAPE, RECTANGLE_SHAPE, QUADRANGLE_SHAPE, ELLIPSE_SHAPE } |
enum | SkeletonType { NO_SKELETON, CROSS1_SKELETON, CROSS2_SKELETON, CROSS3_SKELETON, BAR_SKELETON } |
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoErrorPointField () | |
PoErrorPointField (int numPoints, const SbVec2f *_point, const float *_errorX, const float *_errorY, ShapeType _shapeType=RECTANGLE_SHAPE, SkeletonType _skeletonType=CROSS1_SKELETON) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoMFVec2f | point |
SoMFFloat | errorX |
SoMFFloat | errorY |
SoSFEnum | shapeType |
SoSFEnum | skeletonType |
Class to build in the plane XY, a points field with X and Y margin error. A shape and/or skeleton represents the error of each points.
point | 0 0 0 |
errorX | 0 |
errorY | 0 |
shapeType | RECTANGLE_SHAPE |
skeletonType | CROSS1_SKELETON |
PoErrorPointField::PoErrorPointField | ( | ) | [inline] |
Default constructor.
PoErrorPointField::PoErrorPointField | ( | int | numPoints, | |
const SbVec2f * | _point, | |||
const float * | _errorX, | |||
const float * | _errorY, | |||
ShapeType | _shapeType = RECTANGLE_SHAPE , |
|||
SkeletonType | _skeletonType = CROSS1_SKELETON | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoErrorPointField::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
static SoType PoErrorPointField::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
virtual const SoNodekitCatalog* PoErrorPointField::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
virtual SoType PoErrorPointField::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
virtual void PoErrorPointField::rebuild | ( | ) | [virtual] |
List of abscissas errors.
The number of abscissas must be equal to the number of points.
List of ordinates errors.
The number of ordinates must be equal to the number of points.
List of coordinates of the point field.
Defines the shape associated to errors.
The shape can be a rectangle, a quadrangle, an ellipse or no shape.
Defines the skeleton associated to errors.
The skeleton can be a cross, a bar or no skeleton.