|
MeVisLab Resolution Independence API
|
#include <SoAxis.h>
Public Member Functions | |
| SoAxis () | |
| Constructor. | |
| void | generatePrimitives (SoAction *) override |
| void | GLRender (SoGLRenderAction *action) override |
| void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) override |
Static Public Member Functions | |
| static void | initClass () |
| Initializes this class. | |
Public Attributes | |
| SoSFTrigger | adjustSettings |
| SoSFBool | autoAdjustSettings |
| SoSFBool | axisOn |
| Enables/disables drawing of the coordinate system. Default is True. | |
| SoSFVec3f | axisVolumeSize |
| SoSFUInt32 | axisFontSize |
| Selects fonts size for axis annotation. Default is 0. | |
| SoSFBool | axis1Visibility |
| Enables/Disables visibility of axis 1. Default is True. | |
| SoSFBool | axis2Visibility |
| Enables/Disables visibility of axis 2. Default is True. | |
| SoSFBool | axis3Visibility |
| Enables/Disables visibility of axis 3. Default is True. | |
| SoSFBool | axisNumberingOn |
| Enables/Disables numbering of axis ticks. Default is True. | |
| SoSFBool | axisSubTickingOn |
| Enables/Disables drawing of subticks. Default is True. | |
| SoSFVec3f | axisStepSizes |
| Determines distances between axis ticks. Default is (1,1,1). | |
| SoSFVec3f | axisOrigin |
| The world position of the axis origin. Default is (0,0,0). | |
| SoSFVec3f | axisMinEnds |
| The start values foer each axis. Default is (-1,-1,-1). | |
| SoSFVec3f | axisMaxEnds |
| The end values of each axis. Default is (1,1,1). | |
| SoSFVec3f | axisMarkerLength |
| The size of the axis ticks. Default is (0,0,0). | |
| SoSFVec3f | axisTicksMin |
| Position of the first axis tick. Default is (0,0,0). | |
| SoSFVec3f | axisTicksMax |
| Position of the last axis tick. Default is (1,1,1). | |
| SoSFVec3f | axisNumBias |
| Values to be added to axis numbers. Default is (0,0,0). | |
| SoSFVec3f | axisNumScale |
| Axis numbers are multiplied with these values. Default is (1,1,1). | |
| SoSFBool | boxOn |
| Enables/disables box drawing. Default is False. | |
| SoSFVec3f | axisWingLength |
| Size the arrows at the end of each axis. Defaut is (0.5, 0.5, 0.5). | |
| SoSFVec3f | axisOverScale |
| SoSFVec3f | axisSubTickSteps |
| SoSFVec3f | axisSubTickScales |
| SoSFMLImage | inputImage |
| Pointer to input image field. | |
Enables/Disables drawing of tick sized grids in the corresponding planes. Defaults are False. | |
| SoSFBool | multiAxisXY |
| SoSFBool | multiAxisXZ |
| SoSFBool | multiAxisYX |
| SoSFBool | multiAxisYZ |
| SoSFBool | multiAxisZX |
| SoSFBool | multiAxisZY |
| SoSFString | axis1Text |
| SoSFString | axis2Text |
| SoSFString | axis3Text |
| SoSFString | numPrefix1Text |
| SoSFString | numPrefix2Text |
| SoSFString | numPrefix3Text |
| SoSFString | numPostfix1Text |
| SoSFString | numPostfix2Text |
| SoSFString | numPostfix3Text |
| SoSFEnum | axisText1AlignMode |
| SoSFEnum | axisText2AlignMode |
| SoSFEnum | axisText3AlignMode |
| SoSFEnum | axisNumber1AlignMode |
| SoSFEnum | axisNumber2AlignMode |
| SoSFEnum | axisNumber3AlignMode |
Color and transparency of axis 1 and its (sub)ticks. Defaults are | |
| SoSFColor | axis1Color |
| SoSFFloat | axis1Transparency |
Color and transparency of axis 2 and its (sub)ticks. Defaults are | |
| SoSFColor | axis2Color |
| SoSFFloat | axis2Transparency |
Color and transparency of axis 3 and its (sub)ticks. Defaults are | |
| SoSFColor | axis3Color |
| SoSFFloat | axis3Transparency |
Defines color of box (if drawn). Defaults are | |
| SoSFColor | boxColor |
| SoSFFloat | boxTransparency |
Protected Member Functions | |
| ~SoAxis () override | |
| Destructor. | |
| virtual void | _adjustSettings () |
| Adjust all settings to volume size field. | |
| void | _triggerChanged (SoField *field) |
| Method called by _fieldChangedCB when the trigger field is changed. | |
| void | _autoAdjustSettingsChanged (SoField *field) |
| called if autoAdjustSettings or axisVolumeSize changes: | |
| void | _inputImageChanged (SoField *field) |
| called if inputImage changes: | |
| void | drawBox () |
| Draw the box. | |
Protected Attributes | |
| Axis | _axis |
| Instance of Axis for drawing. | |
| SbString | _text1 |
| SbString | _text2 |
| SbString | _text3 |
| SbString | _numPrefix1 |
| SbString | _numPrefix2 |
| SbString | _numPrefix3 |
| SbString | _numPostfix1 |
| SbString | _numPostfix2 |
| SbString | _numPostfix3 |
| SoAxis::SoAxis | ( | ) |
Constructor.
|
overrideprotected |
Destructor.
|
protectedvirtual |
Adjust all settings to volume size field.
|
protected |
called if autoAdjustSettings or axisVolumeSize changes:
|
protected |
called if inputImage changes:
|
protected |
Method called by _fieldChangedCB when the trigger field is changed.
|
override |
|
protected |
Draw the box.
|
inlineoverride |
|
override |
|
static |
Initializes this class.
|
protected |
|
protected |
| SoSFTrigger SoAxis::adjustSettings |
| SoSFBool SoAxis::autoAdjustSettings |
If TRUE all changes of the node automatically cause setting of sensible axis settings from it. So determination of tick steps etc. are done automatically. In case of adjustment the fields axisMinEnds, axisMaxEnds, axisTicksMin, axisTicksMax, axisStepSizes, axisMarkerLength, axisWingLength, axisSubTickSteps and axisSubTickScales are adapted. Default is True.
| SoSFString SoAxis::axis1Text |
| SoSFBool SoAxis::axis1Visibility |
| SoSFBool SoAxis::axis2Visibility |
| SoSFBool SoAxis::axis3Visibility |
| SoSFUInt32 SoAxis::axisFontSize |
| SoSFVec3f SoAxis::axisMarkerLength |
| SoSFVec3f SoAxis::axisMaxEnds |
| SoSFVec3f SoAxis::axisMinEnds |
| SoSFBool SoAxis::axisNumberingOn |
| SoSFVec3f SoAxis::axisNumBias |
| SoSFVec3f SoAxis::axisNumScale |
| SoSFBool SoAxis::axisOn |
| SoSFVec3f SoAxis::axisOrigin |
| SoSFVec3f SoAxis::axisOverScale |
| SoSFVec3f SoAxis::axisStepSizes |
| SoSFBool SoAxis::axisSubTickingOn |
| SoSFVec3f SoAxis::axisSubTickScales |
| SoSFVec3f SoAxis::axisSubTickSteps |
| SoSFEnum SoAxis::axisText1AlignMode |
| SoSFVec3f SoAxis::axisTicksMax |
| SoSFVec3f SoAxis::axisTicksMin |
| SoSFVec3f SoAxis::axisVolumeSize |
| SoSFVec3f SoAxis::axisWingLength |
| SoSFBool SoAxis::boxOn |
| SoSFMLImage SoAxis::inputImage |
| SoSFString SoAxis::numPrefix1Text |