Builds a bi-error point field. More...
#include <MeshViz/graph/PoBiErrorPointField.h>
Public Types | |
enum | VariationType { FIXED_VARIATION, REL_VARIATION, PERCENT_FIXED_VARIATION, PERCENT_REL_VARIATION } |
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoBiErrorPointField () | |
PoBiErrorPointField (int numPoints, const SbVec2f *_point, const float *_lowX, const float *_lowY, const float *_highX, const float *_highY, VariationType type=REL_VARIATION, SbBool _isShapeVisible=TRUE, SbBool _isSkeletonVisible=TRUE) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoMFVec2f | point |
SoMFFloat | lowX |
SoMFFloat | lowY |
SoMFFloat | highX |
SoMFFloat | highY |
SoSFEnum | variationType |
SoSFBool | isShapeVisible |
SoSFBool | isSkeletonVisible |
Class to build in the plane XY, a point field with two X and two Y margin errors. A shape and/or skeleton represent the error of each points.
point | 0 0 |
lowX | 0 |
lowY | 0 |
highX | 0 |
highY | 0 |
variationType | REL_VARIATION |
isShapeVisible | TRUE |
isSkeletonVisible | TRUE |
PoBiErrorPointField::PoBiErrorPointField | ( | ) | [inline] |
Default constructor.
PoBiErrorPointField::PoBiErrorPointField | ( | int | numPoints, | |
const SbVec2f * | _point, | |||
const float * | _lowX, | |||
const float * | _lowY, | |||
const float * | _highX, | |||
const float * | _highY, | |||
VariationType | type = REL_VARIATION , |
|||
SbBool | _isShapeVisible = TRUE , |
|||
SbBool | _isSkeletonVisible = TRUE | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoBiErrorPointField::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
static SoType PoBiErrorPointField::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
virtual const SoNodekitCatalog* PoBiErrorPointField::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
virtual SoType PoBiErrorPointField::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
virtual void PoBiErrorPointField::rebuild | ( | ) | [virtual] |
List of abscissas high errors.
The number of abscissas must be equal to the number of points of point.
List of ordinates high errors.
The number of ordinates must be equal to the number of points of point.
Defines the visibility of the shape.
Defines the visibility of the skeleton.
List of abscissas low errors.
The number of abscissas must be equal to the number of points of point.
List of ordinates low errors.
The number of ordinates must be equal to the number of points of point.
List of coordinates of the point field.
Defines the interpretation of the values lowX, lowY, highX, highY.
The low abscissa xl of the i-th point depends on the value of this field:
The same method is used to compute the high abscissa xh, low ordinate yl and high ordinate yh.