MeVisLab Toolbox Reference
SoPlaneDragger Class Reference

Defines a plane dragger that can be used to manipulate a plane (and translation+rotation) More...

#include <SoPlaneDragger.h>

Inheritance diagram for SoPlaneDragger:

Public Member Functions

 SoPlaneDragger ()
 
void fieldChanged (SoField *field=nullptr)
 handle field changes More...
 
void handleEvent (SoHandleEventAction *ha) override
 
void updateHighlightWithPickedPoint (SoHandleEventAction *ha)
 
void setCursorForState ()
 

Static Public Member Functions

static void initClass ()
 inventor runtime type system More...
 

Public Attributes

SoSFPlane plane
 plane that the dragger currently represents More...
 
SoSFBool drawPlane
 
SoSFBool enableTranslation
 
SoSFBool enableRotation
 
SoSFBool enableMouseOverCursor
 
SoSFBool enableMouseOverHighlight
 
SoSFColor planePassivColor
 
SoSFColor planeActiveColor
 

Protected Member Functions

 ~SoPlaneDragger () override
 

Detailed Description

Defines a plane dragger that can be used to manipulate a plane (and translation+rotation)

Internally it uses the SoJackDragger and replaces the geometry by a simple square for translation and a sphere in the center which is invisible and can be used to manipulate the rotation.

Definition at line 34 of file SoPlaneDragger.h.

Constructor & Destructor Documentation

◆ SoPlaneDragger()

SoPlaneDragger::SoPlaneDragger ( )

◆ ~SoPlaneDragger()

SoPlaneDragger::~SoPlaneDragger ( )
overrideprotected

Member Function Documentation

◆ fieldChanged()

void SoPlaneDragger::fieldChanged ( SoField *  field = nullptr)

handle field changes

◆ handleEvent()

void SoPlaneDragger::handleEvent ( SoHandleEventAction *  ha)
override

◆ initClass()

static void SoPlaneDragger::initClass ( )
static

inventor runtime type system

◆ setCursorForState()

void SoPlaneDragger::setCursorForState ( )

◆ updateHighlightWithPickedPoint()

void SoPlaneDragger::updateHighlightWithPickedPoint ( SoHandleEventAction *  ha)

Member Data Documentation

◆ drawPlane

SoSFBool SoPlaneDragger::drawPlane

Definition at line 45 of file SoPlaneDragger.h.

◆ enableMouseOverCursor

SoSFBool SoPlaneDragger::enableMouseOverCursor

Definition at line 49 of file SoPlaneDragger.h.

◆ enableMouseOverHighlight

SoSFBool SoPlaneDragger::enableMouseOverHighlight

Definition at line 50 of file SoPlaneDragger.h.

◆ enableRotation

SoSFBool SoPlaneDragger::enableRotation

Definition at line 47 of file SoPlaneDragger.h.

◆ enableTranslation

SoSFBool SoPlaneDragger::enableTranslation

Definition at line 46 of file SoPlaneDragger.h.

◆ plane

SoSFPlane SoPlaneDragger::plane

plane that the dragger currently represents

Definition at line 43 of file SoPlaneDragger.h.

◆ planeActiveColor

SoSFColor SoPlaneDragger::planeActiveColor

Definition at line 53 of file SoPlaneDragger.h.

◆ planePassivColor

SoSFColor SoPlaneDragger::planePassivColor

Definition at line 52 of file SoPlaneDragger.h.


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