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()
|
protected |
References Base::Unit::Angle, Gui::getMainWindow(), Base::Quantity::getUserString(), projector, rotationIncrement, rotationIncrementCount, and Gui::MainWindow::showMessage().
Referenced by motionCB().
◆ dragFinish()
|
protected |
Referenced by finishCB().
◆ dragStart()
|
protected |
References projector, and rotationIncrementCount.
Referenced by startCB().
◆ fieldSensorCB()
|
staticprotected |
Referenced by RDragger(), and setUpConnections().
◆ finishCB()
|
staticprotected |
References dragFinish().
Referenced by RDragger().
◆ initClass()
|
static |
Referenced by Gui::SoFCCSysDragger::initClass().
◆ motionCB()
|
staticprotected |
References drag().
Referenced by RDragger().
◆ setUpConnections()
|
overrideprotectedvirtual |
References fieldSensor, fieldSensorCB(), and rotation.
Referenced by RDragger().
◆ startCB()
|
staticprotected |
References dragStart().
Referenced by RDragger().
◆ valueChangedCB()
|
staticprotected |
References fieldSensor, and rotation.
Referenced by RDragger().
Member Data Documentation
◆ arcRadius
|
protected |
Referenced by RDragger().
◆ color
SoSFColor Gui::RDragger::color |
set from outside. non-active color.
Referenced by ArchSite.Compass::buildCoordinates(), draftviewproviders.view_dimension.ViewProviderLinearDimension::draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderAngularDimension::draw_dim_arrows(), draftviewproviders.view_dimension.ViewProviderLinearDimension::draw_dim_overshoot(), draftviewproviders.view_dimension.ViewProviderLinearDimension::draw_ext_overshoot(), draftguitools.gui_trimex.Trimex::finish(), importSVG.svgHandler::format(), DraftGui.DraftToolBar::getcol(), DraftGui.DraftToolBar::getDefaultColor(), FeaturePython.ViewProviderOctahedron::onChanged(), draftviewproviders.view_dimension.ViewProviderLinearDimension::onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension::onChanged(), ArchPanel.ViewProviderPanelCut::onChanged(), ArchPanel.ViewProviderPanelSheet::onChanged(), Mod.Test.unittestgui.ProgressBar::paint(), draftguitools.gui_trackers.editTracker::setColor(), and PathScripts.PathDressupTagGui.HoldingTagMarker::setEnabled().
◆ fieldSensor
|
protected |
Referenced by RDragger(), setUpConnections(), and valueChangedCB().
◆ projector
|
protected |
Referenced by drag(), and dragStart().
◆ rotation
SoSFRotation Gui::RDragger::rotation |
set from outside and used from outside for single precision.
Referenced by femtaskpanels.task_element_rotation1D._TaskPanel::accept(), RDragger(), femtaskpanels.task_element_rotation1D._TaskPanel::rotation_changed(), setUpConnections(), and valueChangedCB().
◆ 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:
- src/Gui/SoFCCSysDragger.h
- src/Gui/SoFCCSysDragger.cpp