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>
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
Text to be inserted/appended before/after axis numberings, defaults are "".
SoSFVec3f axisVolumeSize
Field which is used as volume size input.
SoSFVec3f axisOverScale
Factor which makes the axis longer to be sure that arrows are not at position of last tick.
SoSFString numPrefix2Text
SoSFBool axis2Visibility
Enables/Disables visibility of axis 2. Default is True.
SoSFTrigger adjustSettings
If this field is triggered then the current axisVolumeSize field is used to set a sensible axis setti...
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.
SbString _text1
Text buffer for axis title text.
SoSFVec3f axisSubTickSteps
Subdivision of distance between ticks to determine smaller ticks between.
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
If TRUE all changes of the node automatically cause setting of sensible axis settings from it.
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.
SoSFString axis1Text
Text to be drawn at axis ends.
SoSFEnum axisText1AlignMode
Type selector for text alignments, default is TEXT_ALIGN_LEFT.
SoSFVec3f axisSubTickScales
Tick lengthes multiplied with this scale factors result to size of subticks.
void generatePrimitives(SoAction *) override
Action behaviour to be implemented.
SoSFString numPrefix3Text
SoSFVec3f axisMaxEnds
The end values of each axis. Default is (1,1,1).
SoSFFloat boxTransparency
SoSFEnum axisText2AlignMode
~SoAxis() override
Destructor.
SbString _numPrefix1
Prefixes and postfixes for axis numbers; also highly useful to format number locations next to axis.
void drawBox()
Draw the box.
void GLRender(SoGLRenderAction *action) override
SoSFFloat axis2Transparency
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.