25#include <ThirdPartyWarningsDisable.h>
26#include <Inventor/nodes/SoShape.h>
28#include <Inventor/fields/SoSFTrigger.h>
29#include <Inventor/fields/SoSFBool.h>
30#include <Inventor/fields/SoSFVec3f.h>
31#include <Inventor/fields/SoSFFloat.h>
32#include <Inventor/fields/SoSFColor.h>
33#include <Inventor/fields/SoSFUInt32.h>
34#include <Inventor/fields/SoSFString.h>
35#include <Inventor/fields/SoSFEnum.h>
36#include <ThirdPartyWarningsRestore.h>
208 void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
override;
A class to administrate an axis coordinate system drawable in OpenGL.
SoSFFloat axis1Transparency
SoSFBool axisOn
Enables/disables drawing of the coordinate system. Default is True.
SoSFBool axis3Visibility
Enables/Disables visibility of axis 3. Default is True.
static void initClass()
Initializes this class.
SoSFVec3f axisMinEnds
The start values foer each axis. Default is (-1,-1,-1).
SoSFVec3f axisMarkerLength
The size of the axis ticks. Default is (0,0,0).
SoSFVec3f axisWingLength
Size the arrows at the end of each axis. Defaut is (0.5, 0.5, 0.5).
SoSFVec3f axisNumBias
Values to be added to axis numbers. Default is (0,0,0).
void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er) override
SoSFString numPrefix1Text
SoSFString numPrefix2Text
SoSFBool axis2Visibility
Enables/Disables visibility of axis 2. Default is True.
SoSFTrigger adjustSettings
void _autoAdjustSettingsChanged(SoField *field)
called if autoAdjustSettings or axisVolumeSize changes:
SoSFString numPostfix3Text
SoSFUInt32 axisFontSize
Selects fonts size for axis annotation. Default is 0.
SoSFVec3f axisOrigin
The world position of the axis origin. Default is (0,0,0).
SoSFEnum axisNumber3AlignMode
virtual void _adjustSettings()
Adjust all settings to volume size field.
SoSFEnum axisText3AlignMode
SoSFEnum axisNumber2AlignMode
SoSFVec3f axisNumScale
Axis numbers are multiplied with these values. Default is (1,1,1).
SoSFBool axisSubTickingOn
Enables/Disables drawing of subticks. Default is True.
SoSFBool axis1Visibility
Enables/Disables visibility of axis 1. Default is True.
SoSFVec3f axisTicksMin
Position of the first axis tick. Default is (0,0,0).
SoSFString numPostfix1Text
SoSFEnum axisNumber1AlignMode
SoSFBool boxOn
Enables/disables box drawing. Default is False.
SoSFVec3f axisSubTickSteps
SoSFString numPostfix2Text
SoSFFloat axis3Transparency
SoSFBool axisNumberingOn
Enables/Disables numbering of axis ticks. Default is True.
void _inputImageChanged(SoField *field)
called if inputImage changes:
void _triggerChanged(SoField *field)
Method called by _fieldChangedCB when the trigger field is changed.
SoSFBool autoAdjustSettings
SoSFMLImage inputImage
Pointer to input image field.
SoSFVec3f axisTicksMax
Position of the last axis tick. Default is (1,1,1).
SoSFVec3f axisStepSizes
Determines distances between axis ticks. Default is (1,1,1).
Axis _axis
Instance of Axis for drawing.
SoSFEnum axisText1AlignMode
SoSFVec3f axisSubTickScales
void generatePrimitives(SoAction *) override
SoSFString numPrefix3Text
SoSFVec3f axisMaxEnds
The end values of each axis. Default is (1,1,1).
SoSFFloat boxTransparency
SoSFEnum axisText2AlignMode
~SoAxis() override
Destructor.
void drawBox()
Draw the box.
void GLRender(SoGLRenderAction *action) override
SoSFFloat axis2Transparency