13#ifndef SO_CROSS_HAIR_H
14#define SO_CROSS_HAIR_H
23#include <Inventor/nodes/SoSeparator.h>
24#include <Inventor/fields/SoSFTrigger.h>
25#include <Inventor/fields/SoSFBool.h>
26#include <Inventor/fields/SoSFVec3f.h>
27#include <Inventor/fields/SoSFFloat.h>
28#include <Inventor/fields/SoSFUInt32.h>
29#include <Inventor/fields/SoSFString.h>
30#include <Inventor/fields/SoSFEnum.h>
90 void addCylinders(
int numPoints,
SbVec3f* data);
94 void _useDraggerChanged(
SoField*);
95 void _crossHairTypeChanged(
SoField*);
105 SoSwitch *_draggerSwitch;
110 SoSwitch* _renderSwitch;
112 SoSeparator* _cylinders;
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
SoSFBool useDragger
Enables/disables the dragger to move the cross. Default is off.
SoSFFloat cylinderRadius
If renderMode == Cylinder, this radius is used as radius of the Cylinder.
SoSFVec3f positionOut
The position output of the dragger.
SoSFTypedEnum< RenderMode > renderMode
SoSFEnum crosshairType
Type selector for cross hair cursor. Default is CROSS_HAIR_0.
ColorMode
Type selector for cross hair cursors.
SoSFVec3f scale
Extents of the three cross lines. Defaults are (2,2,2).
static void initClass()
Initializes this class.
~SoCrossHair() override
Destructor.
SoCrossHair()
Constructor.
SoSFVec3f position
Position of the cross in 3d. Default is (0,0,0).
Target mlrange_cast(Source arg)
Generic version of checked ML casts.