Public Member Functions | |
def | get (self) |
def | get_doc_name (self) |
def | get_obj_name (self) |
def | get_subelement_index (self) |
def | get_subelement_name (self) |
def | move (self, delta) |
def | set (self, pos) |
def | setColor (self, color) |
Public Member Functions inherited from draftguitools.gui_trackers.Tracker | |
def | finalize (self) |
def | lowerTracker (self) |
def | off (self) |
def | on (self) |
def | raiseTracker (self) |
Public Attributes | |
color | |
coords | |
marker | |
selnode | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
ontop | |
switch | |
Visible | |
Detailed Description
A node edit tracker.
Member Function Documentation
◆ get()
def draftguitools.gui_trackers.editTracker.get | ( | self | ) |
Get a vector from the point.
References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, draftguitools.gui_trackers.ghostTracker.coords, draftguitools.gui_trackers.editTracker.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, and ArchPanel.ViewProviderPanelSheet.coords.
Referenced by draftguitools.gui_trackers.editTracker.move().
◆ get_doc_name()
def draftguitools.gui_trackers.editTracker.get_doc_name | ( | self | ) |
Get the document name.
References draftguitools.gui_trackers.editTracker.selnode.
◆ get_obj_name()
def draftguitools.gui_trackers.editTracker.get_obj_name | ( | self | ) |
Get the object name.
References draftguitools.gui_trackers.editTracker.selnode.
◆ get_subelement_index()
def draftguitools.gui_trackers.editTracker.get_subelement_index | ( | self | ) |
Get the subelement index.
References draftguitools.gui_trackers.editTracker.get_subelement_name().
◆ get_subelement_name()
def draftguitools.gui_trackers.editTracker.get_subelement_name | ( | self | ) |
Get the subelement name.
References draftguitools.gui_trackers.editTracker.selnode.
Referenced by draftguitools.gui_trackers.editTracker.get_subelement_index().
◆ move()
def draftguitools.gui_trackers.editTracker.move | ( | self, | |
delta | |||
) |
Get the point and add a delta, and set the new point.
References KDTree::_Alloc_base< _Tp, _Alloc >::NoLeakAlloc.get(), Base::vec_traits< SbVec3f >.get(), Base::vec_traits< SbVec3d >.get(), Base::vec_traits< Vector3f >.get(), zipios::SimpleSmartPointer< Type >.get(), Base::vec_traits< SbRotation >.get(), Base::vec_traits< Vector3d >.get(), Base::vec_traits< Rotation >.get(), Gui::SoFCInteractiveElement.get(), Base::vec_traits< SbColor >.get(), Gui::SoGLWidgetElement.get(), Base::vec_traits< App::Color >.get(), App::Expression::Component.get(), Gui::SoGLRenderActionElement.get(), Gui::LinkInfo.get(), boost::filesystem::get< size >.get(), boost::filesystem::get< mtime >.get(), Gui::SoGLVBOActivatedElement.get(), boost::filesystem::get< is_directory >.get(), boost::filesystem::get< is_regular >.get(), Gui::ViewProviderWeakPtrT.get(), boost::filesystem::get< is_hidden >.get(), boost::filesystem::get< user_read >.get(), boost::filesystem::get< user_write >.get(), boost::filesystem::get< user_execute >.get(), App::ObjectIdentifier::Component.get(), boost::polygon::point_traits< InPoint >.get(), boost::polygon::segment_traits< InSegment >.get(), Gui::ViewProviderWeakPtrT::Private.get(), App::DocumentObjectWeakPtrT.get(), PyObjectWrapper.get(), Gui::AbstractUi.get(), Gui::LocationImpUi< Ui >.get(), App::DocumentObjectWeakPtrT::Private.get(), draftguitools.gui_trackers.editTracker.get(), App::DocInfo.get(), App::MaterialPy.set(), Gui::SoFCInteractiveElement.set(), Gui::SoGLWidgetElement.set(), App::Expression::Component.set(), App::Color.set(), Gui::SoGLRenderActionElement.set(), Py::Object.set(), Gui::SoGLVBOActivatedElement.set(), boost::filesystem::set< is_hidden >.set(), App::ColorField.set(), boost::filesystem::set< user_write >.set(), App::ObjectIdentifier::Component.set(), App::Material.set(), App::ColorGradient.set(), App::DocumentObjectWeakPtrT::Private.set(), and draftguitools.gui_trackers.editTracker.set().
◆ set()
def draftguitools.gui_trackers.editTracker.set | ( | self, | |
pos | |||
) |
Set the point to the position.
References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, draftguitools.gui_trackers.lineTracker.coords, draftguitools.gui_trackers.rectangleTracker.coords, draftguitools.gui_trackers.dimTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, draftguitools.gui_trackers.ghostTracker.coords, draftguitools.gui_trackers.editTracker.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, and ArchPanel.ViewProviderPanelSheet.coords.
Referenced by draftguitools.gui_trackers.editTracker.move().
◆ setColor()
def draftguitools.gui_trackers.editTracker.setColor | ( | self, | |
color | |||
) |
Set the color.
References UNV2411::TRecord.color, UNV2412::TRecord.color, Gui::SoRegPoint.color, Gui::RDragger.color, Gui::ColorButton.color, DraftGui.DraftToolBar.color, ArchMaterial._ArchMaterialTaskPanel.color, ArchSpace._ViewProviderSpace.color, draftguitools.gui_trackers.editTracker.color, ArchSite._ViewProviderSite.color, ArchPanel.ViewProviderPanelCut.color, and ArchPanel.ViewProviderPanelSheet.color.
Member Data Documentation
◆ color
draftguitools.gui_trackers.editTracker.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(), FeaturePython.ViewProviderOctahedron.onChanged(), draftviewproviders.view_dimension.ViewProviderLinearDimension.onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged(), Mod.Test.unittestgui.ProgressBar.paint(), draftguitools.gui_trackers.editTracker.setColor(), and PathScripts.PathDressupTagGui.HoldingTagMarker.setEnabled().
◆ coords
draftguitools.gui_trackers.editTracker.coords |
Referenced by ArchSite.Compass.buildCoordinates(), draftguitools.gui_trackers.editTracker.get(), draftviewproviders.view_wire.ViewProviderWire.onChanged(), draftguitools.gui_trackers.editTracker.set(), draftguitools.gui_trackers.wireTracker.update(), draftviewproviders.view_wire.ViewProviderWire.updateData(), FeaturePython.ViewProviderCircleSet.updateData(), and draftguitools.gui_trackers.wireTracker.updateFromPointlist().
◆ marker
draftguitools.gui_trackers.editTracker.marker |
◆ selnode
draftguitools.gui_trackers.editTracker.selnode |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_trackers.py