Class to build a group of three axes. More...
#include <MeshViz/graph/PoGroup3Axis3.h>
Public Types | |
enum | AxisType { LINEAR, LOGARITHMIC } |
enum | AxisName { X_AXIS, Y_AXIS, Z_AXIS } |
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoGroup3Axis3 () | |
PoGroup3Axis3 (const SbVec3f &_start, const SbVec3f &_end, AxisType _xAxisType, AxisType _yAxisType, AxisType _zAxisType, AxisName vertAxis=Z_AXIS, const char *xTtle=NULL, const char *yTtle=NULL, const char *zTtle=NULL) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec3f | start |
SoSFVec3f | end |
SoSFVec3f | gradStart |
SoSFVec3f | gradEnd |
SoSFEnum | verticalAxisName |
SoSFString | xTitle |
SoSFString | yTitle |
SoSFString | zTitle |
This class builds a group of three axes. This group contains one X-axis, one Y- axis and one Z-axis which have the same start point and are orthogonal to each other.
The graduations of these axes are defined by the fields gradStart and gradEnd. However if these fields are equal, the fields start and end are used to define the graduation values.
start | 0 0 0 |
end | 1 1 1 |
gradStart | 0 0 0 |
gradEnd | 0 0 0 |
verticalAxisName | Z_AXIS |
xTitle | "" |
yTitle | "" |
zTitle | "" |
PoGroup3Axis3::PoGroup3Axis3 | ( | ) | [inline] |
Default constructor.
PoGroup3Axis3::PoGroup3Axis3 | ( | const SbVec3f & | _start, | |
const SbVec3f & | _end, | |||
AxisType | _xAxisType, | |||
AxisType | _yAxisType, | |||
AxisType | _zAxisType, | |||
AxisName | vertAxis = Z_AXIS , |
|||
const char * | xTtle = NULL , |
|||
const char * | yTtle = NULL , |
|||
const char * | zTtle = NULL | |||
) | [inline] |
Constructor.
(By default the 3 axes are linear).
static const SoNodekitCatalog* PoGroup3Axis3::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoBaseAxis.
static SoType PoGroup3Axis3::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoBaseAxis.
virtual const SoNodekitCatalog* PoGroup3Axis3::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoBaseAxis.
virtual SoType PoGroup3Axis3::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoBaseAxis.
virtual void PoGroup3Axis3::rebuild | ( | ) | [virtual] |
End coordinates of respectively the X, Y and Z axis.
Defines the value of the graduation (tick label) corresponding to the end point of this group of axes.
See PoCartesianAxis::gradEnd for details.
Since Open Inventor 9.5.1Defines the value of the graduation (tick label) corresponding to the starting point of this group of axes.
See PoCartesianAxis::gradStart for details.
Since Open Inventor 9.5.1Start point of the three axes.
Name of the vertical axis.
Title of the X axis.
Empty by default.
Title of the Y axis.
Empty by default.
Title of the Z axis.
Empty by default.