Gui::TDragger Class Reference

Translation Dragger. More...

#include <SoFCCSysDragger.h>

Public Member Functions

 TDragger ()
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFFloat autoScaleResult
 set from parent dragger. More...
 
SoSFVec3f translation
 set from outside and used from outside for single precision. More...
 
SoSFDouble translationIncrement
 set from outside and used for rounding. More...
 
SoSFInt32 translationIncrementCount
 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 ~TDragger () 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

SoFieldSensor fieldSensor
 
SbLineProjector projector
 

Detailed Description

Translation Dragger.

used for translating along axis. Set the translationIncrement to desired step. Use 'translationIncrementCount' multiplied with 'translationIncrement' for a full double precision vector scalar.

Constructor & Destructor Documentation

◆ TDragger()

◆ ~TDragger()

TDragger::~TDragger ( )
overrideprotectedvirtual

Member Function Documentation

◆ drag()

◆ dragFinish()

void TDragger::dragFinish ( )
protected

Referenced by finishCB().

◆ dragStart()

void TDragger::dragStart ( )
protected

References projector, and translationIncrementCount.

Referenced by startCB().

◆ fieldSensorCB()

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

Referenced by setUpConnections(), and TDragger().

◆ finishCB()

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

References dragFinish().

Referenced by TDragger().

◆ initClass()

void TDragger::initClass ( void  )
static

◆ motionCB()

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

References drag().

Referenced by TDragger().

◆ setUpConnections()

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

References fieldSensor, fieldSensorCB(), and translation.

Referenced by TDragger().

◆ startCB()

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

References dragStart().

Referenced by TDragger().

◆ valueChangedCB()

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

References fieldSensor, and translation.

Referenced by TDragger().

Member Data Documentation

◆ autoScaleResult

SoSFFloat Gui::TDragger::autoScaleResult

set from parent dragger.

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

◆ fieldSensor

SoFieldSensor Gui::TDragger::fieldSensor
protected

◆ projector

SbLineProjector Gui::TDragger::projector
protected

Referenced by drag(), and dragStart().

◆ translation

SoSFVec3f Gui::TDragger::translation

set from outside and used from outside for single precision.

Referenced by setUpConnections(), TDragger(), and valueChangedCB().

◆ translationIncrement

SoSFDouble Gui::TDragger::translationIncrement

set from outside and used for rounding.

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

◆ translationIncrementCount

SoSFInt32 Gui::TDragger::translationIncrementCount

number of steps. used from outside.

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


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