MeVisLab Toolbox Reference
SoCrossHair Class Reference

#include <SoCrossHair.h>

Inheritance diagram for SoCrossHair:

Public Types

enum  ColorMode { CROSS_HAIR_0 = 0 , CROSS_HAIR_1 = 1 , CROSS_HAIR_2 = 2 }
 Type selector for cross hair cursors. More...
 
enum  RenderMode { Lines , Cylinders }
 

Public Member Functions

 SoCrossHair ()
 Constructor.
 

Static Public Member Functions

static void initClass ()
 Initializes this class.
 

Public Attributes

SoSFEnum crosshairType
 Type selector for cross hair cursor. Default is CROSS_HAIR_0.
 
SoSFTypedEnum< RenderModerenderMode
 
SoSFVec3f position
 Position of the cross in 3d. Default is (0,0,0).
 
SoSFVec3f scale
 Extents of the three cross lines. Defaults are (2,2,2).
 
SoSFFloat cylinderRadius
 If renderMode == Cylinder, this radius is used as radius of the Cylinder.
 
SoSFBool useDragger
 Enables/disables the dragger to move the cross. Default is off.
 
SoSFVec3f positionOut
 The position output of the dragger.
 

Protected Member Functions

 ~SoCrossHair () override
 Destructor.
 

Detailed Description

Definition at line 41 of file SoCrossHair.h.

Member Enumeration Documentation

◆ ColorMode

Type selector for cross hair cursors.

Enumerator
CROSS_HAIR_0 
CROSS_HAIR_1 
CROSS_HAIR_2 

Definition at line 48 of file SoCrossHair.h.

◆ RenderMode

Enumerator
Lines 
Cylinders 

Definition at line 54 of file SoCrossHair.h.

Constructor & Destructor Documentation

◆ SoCrossHair()

SoCrossHair::SoCrossHair ( )

Constructor.

◆ ~SoCrossHair()

SoCrossHair::~SoCrossHair ( )
overrideprotected

Destructor.

Member Function Documentation

◆ initClass()

static void SoCrossHair::initClass ( )
static

Initializes this class.

Member Data Documentation

◆ crosshairType

SoSFEnum SoCrossHair::crosshairType

Type selector for cross hair cursor. Default is CROSS_HAIR_0.

Definition at line 66 of file SoCrossHair.h.

◆ cylinderRadius

SoSFFloat SoCrossHair::cylinderRadius

If renderMode == Cylinder, this radius is used as radius of the Cylinder.

Definition at line 77 of file SoCrossHair.h.

◆ position

SoSFVec3f SoCrossHair::position

Position of the cross in 3d. Default is (0,0,0).

Definition at line 71 of file SoCrossHair.h.

◆ positionOut

SoSFVec3f SoCrossHair::positionOut

The position output of the dragger.

Definition at line 83 of file SoCrossHair.h.

◆ renderMode

SoSFTypedEnum<RenderMode> SoCrossHair::renderMode

Definition at line 68 of file SoCrossHair.h.

◆ scale

SoSFVec3f SoCrossHair::scale

Extents of the three cross lines. Defaults are (2,2,2).

Definition at line 74 of file SoCrossHair.h.

◆ useDragger

SoSFBool SoCrossHair::useDragger

Enables/disables the dragger to move the cross. Default is off.

Definition at line 80 of file SoCrossHair.h.


The documentation for this class was generated from the following file: