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 |
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.
TDragger::TDragger | ( | ) |
|
overrideprotectedvirtual |
|
protected |
References autoScaleResult, Gui::getMainWindow(), Base::Quantity::getUserString(), Base::Unit::Length, projector, Gui::MainWindow::showMessage(), translationIncrement, and translationIncrementCount.
Referenced by motionCB().
|
protected |
Referenced by finishCB().
|
protected |
References projector, and translationIncrementCount.
Referenced by startCB().
|
staticprotected |
Referenced by setUpConnections(), and TDragger().
|
staticprotected |
References dragFinish().
Referenced by TDragger().
|
static |
Referenced by Gui::SoFCCSysDragger::initClass().
|
staticprotected |
References drag().
Referenced by TDragger().
|
overrideprotectedvirtual |
References fieldSensor, fieldSensorCB(), and translation.
Referenced by TDragger().
|
staticprotected |
References dragStart().
Referenced by TDragger().
|
staticprotected |
References fieldSensor, and translation.
Referenced by TDragger().
SoSFFloat Gui::TDragger::autoScaleResult |
set from parent dragger.
Referenced by drag(), Gui::SoFCCSysDragger::SoFCCSysDragger(), and TDragger().
|
protected |
Referenced by setUpConnections(), TDragger(), and valueChangedCB().
|
protected |
Referenced by drag(), and dragStart().
SoSFVec3f Gui::TDragger::translation |
set from outside and used from outside for single precision.
Referenced by setUpConnections(), TDragger(), and valueChangedCB().
SoSFDouble Gui::TDragger::translationIncrement |
set from outside and used for rounding.
Referenced by drag(), Gui::SoFCCSysDragger::SoFCCSysDragger(), and TDragger().
SoSFInt32 Gui::TDragger::translationIncrementCount |
number of steps. used from outside.
Referenced by drag(), dragStart(), Gui::SoFCCSysDragger::SoFCCSysDragger(), and TDragger().