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 |
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.
RDragger::RDragger | ( | ) |
|
overrideprotectedvirtual |
|
protected |
References Base::Unit::Angle, Gui::getMainWindow(), Base::Quantity::getUserString(), projector, rotationIncrement, rotationIncrementCount, and Gui::MainWindow::showMessage().
Referenced by motionCB().
|
protected |
Referenced by finishCB().
|
protected |
References projector, and rotationIncrementCount.
Referenced by startCB().
|
staticprotected |
Referenced by RDragger(), and setUpConnections().
|
staticprotected |
References dragFinish().
Referenced by RDragger().
|
static |
Referenced by Gui::SoFCCSysDragger::initClass().
|
staticprotected |
References drag().
Referenced by RDragger().
|
overrideprotectedvirtual |
References fieldSensor, fieldSensorCB(), and rotation.
Referenced by RDragger().
|
staticprotected |
References dragStart().
Referenced by RDragger().
|
staticprotected |
References fieldSensor, and rotation.
Referenced by RDragger().
|
protected |
Referenced by RDragger().
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(), PathScripts.PathDressupDogbone.Marker::highlight(), PathScripts.PathDressupDogbone.Marker::lowlight(), ArchPanel.ViewProviderPanelCut::onChanged(), ArchPanel.ViewProviderPanelSheet::onChanged(), draftviewproviders.view_dimension.ViewProviderLinearDimension::onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension::onChanged(), FeaturePython.ViewProviderOctahedron::onChanged(), Mod.Test.unittestgui.ProgressBar::paint(), draftguitools.gui_trackers.editTracker::setColor(), PathScripts.PathDressupTagGui.HoldingTagMarker::setEnabled(), and DraftGui.DraftToolBar::setStyleButton().
|
protected |
Referenced by RDragger(), setUpConnections(), and valueChangedCB().
|
protected |
Referenced by drag(), and dragStart().
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().
SoSFDouble Gui::RDragger::rotationIncrement |
set from outside and used for rounding.
Referenced by drag(), RDragger(), and Gui::SoFCCSysDragger::SoFCCSysDragger().
SoSFInt32 Gui::RDragger::rotationIncrementCount |
number of steps. used from outside.
Referenced by drag(), dragStart(), RDragger(), and Gui::SoFCCSysDragger::SoFCCSysDragger().