Gui::RDragger Class Reference

Rotation Dragger. More...

#include <SoFCCSysDragger.h>

Public Member Functions

 RDragger ()
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFColor color
 set from outside. non-active color. More...
 
SoSFRotation rotation
 set from outside and used from outside for single precision. More...
 
SoSFDouble rotationIncrement
 set from outside and used for rounding. More...
 
SoSFInt32 rotationIncrementCount
 number of steps. used from outside. More...
 

Protected Member Functions

void drag ()
 
void dragFinish ()
 
void dragStart ()
 
virtual SbBool setUpConnections (SbBool onoff, SbBool doitalways=FALSE) override
 
virtual ~RDragger () override
 

Static Protected Member Functions

static void fieldSensorCB (void *f, SoSensor *)
 
static void finishCB (void *, SoDragger *d)
 
static void motionCB (void *, SoDragger *d)
 
static void startCB (void *, SoDragger *d)
 
static void valueChangedCB (void *, SoDragger *d)
 

Protected Attributes

float arcRadius
 
SoFieldSensor fieldSensor
 
SbPlaneProjector projector
 

Detailed Description

Rotation Dragger.

used for rotating around an axis. Set the rotation increment to desired step. Use rotationIncrementCount multiplied with rotationIncrement for full double precision vector scalar.

Constructor & Destructor Documentation

◆ RDragger()

◆ ~RDragger()

RDragger::~RDragger ( )
overrideprotectedvirtual

Member Function Documentation

◆ drag()

◆ dragFinish()

void RDragger::dragFinish ( )
protected

Referenced by finishCB().

◆ dragStart()

void RDragger::dragStart ( )
protected

References projector, and rotationIncrementCount.

Referenced by startCB().

◆ fieldSensorCB()

void RDragger::fieldSensorCB ( void *  f,
SoSensor *   
)
staticprotected

Referenced by RDragger(), and setUpConnections().

◆ finishCB()

void RDragger::finishCB ( void *  ,
SoDragger d 
)
staticprotected

References dragFinish().

Referenced by RDragger().

◆ initClass()

void RDragger::initClass ( void  )
static

◆ motionCB()

void RDragger::motionCB ( void *  ,
SoDragger d 
)
staticprotected

References drag().

Referenced by RDragger().

◆ setUpConnections()

SbBool RDragger::setUpConnections ( SbBool  onoff,
SbBool  doitalways = FALSE 
)
overrideprotectedvirtual

References fieldSensor, fieldSensorCB(), and rotation.

Referenced by RDragger().

◆ startCB()

void RDragger::startCB ( void *  ,
SoDragger d 
)
staticprotected

References dragStart().

Referenced by RDragger().

◆ valueChangedCB()

void RDragger::valueChangedCB ( void *  ,
SoDragger d 
)
staticprotected

References fieldSensor, and rotation.

Referenced by RDragger().

Member Data Documentation

◆ arcRadius

float Gui::RDragger::arcRadius
protected

Referenced by RDragger().

◆ color

◆ fieldSensor

SoFieldSensor Gui::RDragger::fieldSensor
protected

◆ projector

SbPlaneProjector Gui::RDragger::projector
protected

Referenced by drag(), and dragStart().

◆ rotation

SoSFRotation Gui::RDragger::rotation

◆ rotationIncrement

SoSFDouble Gui::RDragger::rotationIncrement

set from outside and used for rounding.

Referenced by drag(), RDragger(), and Gui::SoFCCSysDragger::SoFCCSysDragger().

◆ rotationIncrementCount

SoSFInt32 Gui::RDragger::rotationIncrementCount

number of steps. used from outside.

Referenced by drag(), dragStart(), RDragger(), and Gui::SoFCCSysDragger::SoFCCSysDragger().


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