24#ifndef _PO_COORDINATE_SYSTEM_AXIS_
25#define _PO_COORDINATE_SYSTEM_AXIS_
27#include <MeshViz/graph/PoGraphMaster.h>
29#include <Inventor/fields/SoSFFloat.h>
30#include <Inventor/fields/SoSFVec3f.h>
31#include <Inventor/fields/SoSFString.h>
66 SO_KIT_CATALOG_ENTRY_HEADER(xArrow) ;
67 SO_KIT_CATALOG_ENTRY_HEADER(yArrow) ;
68 SO_KIT_CATALOG_ENTRY_HEADER(zArrow) ;
70 SO_KIT_CATALOG_ENTRY_HEADER(xTitleTextSep) ;
71 SO_KIT_CATALOG_ENTRY_HEADER(xTitleTextApp) ;
72 SO_KIT_CATALOG_ENTRY_HEADER(xTitleText) ;
74 SO_KIT_CATALOG_ENTRY_HEADER(yTitleTextSep) ;
75 SO_KIT_CATALOG_ENTRY_HEADER(yTitleTextApp) ;
76 SO_KIT_CATALOG_ENTRY_HEADER(yTitleText) ;
78 SO_KIT_CATALOG_ENTRY_HEADER(zTitleTextSep) ;
79 SO_KIT_CATALOG_ENTRY_HEADER(zTitleTextApp) ;
80 SO_KIT_CATALOG_ENTRY_HEADER(zTitleText) ;
131 { init(TRUE,
SbVec3f(0.0, 0.0, 0.0),
SbVec3f(1.0, 1.0, 1.0), NULL, NULL, NULL, 0.05F,
138 const char *_yTitle,
const char *_zTitle,
float _arrowLengthFactor,
139 float _titleTranslationFactor)
140 { init(FALSE, _start, _end, _xTitle, _yTitle, _zTitle, _arrowLengthFactor,
141 _titleTranslationFactor) ; }
152 static void initClass() ;
153 static void exitClass() ;
159 virtual void setDefaultOnNonWritingFields() ;
165 const char *_xTitle,
const char *_yTitle,
const char *_zTitle,
166 float _arrowLengthFactor,
float _titleTranslationFactor) ;
169 FieldSensorList fieldSensorList ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class for a 3D axes syst...
SoSFFloat titleTranslationFactor
Translation factor of the titles (as function of the length of each vector).
PoCoordinateSystemAxis(const SbVec3f &_start, const SbVec3f &_end, const char *_xTitle, const char *_yTitle, const char *_zTitle, float _arrowLengthFactor, float _titleTranslationFactor)
Constructor.
SoSFString yTitle
String to be displayed at the end of the Y coordinate vector.
SoSFFloat arrowLengthFactor
Arrow length scale factor.
SoSFString xTitle
String to be displayed at the end of the X coordinate vector.
SoSFVec3f end
End of the coordinate system.
SoSFString zTitle
String to be displayed at the end of the Z coordinate vector.
SoSFVec3f start
Start of the coordinate system.
virtual void rebuild()
Forces node-kit rebuilding.
PoCoordinateSystemAxis()
Default constructor.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
Maintains a list of pointers to fields.
Field containing a floating-point value.
Field containing a string.
Field containing a three-dimensional vector.