24#ifndef _PO_POLAR_LIN_AXIS_
25#define _PO_POLAR_LIN_AXIS_
31#include <MeshViz/graph/PiNumericFormat.h>
179 static void initClass() ;
180 static void exitClass() ;
183 struct PolarLinAxisAttr {
186 PiNumericFormat numericFormat ;
194 virtual void setDefaultOnNonWritingFields() ;
197 virtual void saveAxisAttr() ;
200 virtual void basicObjectChange(
PbBase *basicObj) ;
203 virtual void addElementsAllCaches() ;
204 virtual void preRebuild() ;
211 FieldSensorList fieldSensorList ;
214 PolarLinAxisAttr polLinAxisAttr ;
#define FALSE
Possible value of SbBool.
#define SO_KIT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for all b...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for polar...
SoSFFloat theta
Rotation angle of the axis in radians.
SoSFFloat endRadius
Radius at the end of the axis.
SoSFFloat offset
Offset for the axis.
SoSFFloat startRadius
Radius at the start of the axis.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build a polar l...
const PbNumericDisplayFormat * getFormat() const
Gets a reference to a PbNumericDisplayFormat object for the numerical display format for the graduati...
SoSFEnum gradFit
This flag indicates if the first graduation is rounded or not.
virtual void rebuild()
Forces node-kit rebuilding.
float getStep() const
Returns the step (the step computed can be different from the associated field).
PoPolarLinAxis(float offset, float startRadius, float endRadius, float theta, float step=0.0)
Constructor.
GradFit
First graduation rounded or not.
@ GRAD_FIT
The first graduation is rounded.
@ GRAD_UNFIT
The first graduation is not rounded.
PoPolarLinAxis()
Default constructor.
SoSFFloat step
Defines the step for the axis.
void setFormat(PbNumericDisplayFormat *format)
Sets a reference to a PbNumericDisplayFormat object for the numerical display format for the graduati...
Maintains a list of pointers to fields.
Field containing an enumerated value.
Field containing a floating-point value.