#include <SoDatumLabel.h>
Public Types | |
enum | Type { ANGLE, DISTANCE, DISTANCEX, DISTANCEY, RADIUS, DIAMETER, SYMMETRIC } |
Public Member Functions | |
SoDatumLabel () | |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
SoSFEnum | datumtype |
SoSFImage | image |
SoSFFloat | lineWidth |
SoSFName | name |
SoSFVec3f | norm |
SoSFFloat | param1 |
SoSFFloat | param2 |
SoSFFloat | param3 |
SoMFVec3f | pnts |
SoSFInt32 | size |
SoMFString | string |
SoSFColor | textColor |
bool | useAntialiasing |
Protected Member Functions | |
virtual void | computeBBox (SoAction *, SbBox3f &box, SbVec3f ¢er) |
virtual void | generatePrimitives (SoAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | notify (SoNotList *l) |
virtual | ~SoDatumLabel () |
Member Enumeration Documentation
◆ Type
Constructor & Destructor Documentation
◆ SoDatumLabel()
SoDatumLabel::SoDatumLabel | ( | ) |
◆ ~SoDatumLabel()
|
protectedvirtual |
Member Function Documentation
◆ computeBBox()
|
protectedvirtual |
◆ generatePrimitives()
|
protectedvirtual |
◆ GLRender()
|
protectedvirtual |
Remark from Stefan Tröger: The scale calculation is based on knowledge of SbViewVolume::getWorldToScreenScale implementation internals. The factor returned from this function is calculated from the view frustums nearplane width, height is not taken into account, and hence we divide it with the viewport width to get the exact pixel scale factor. This is not documented and therefore may change on later coin versions!
References ANGLE, datumtype, DIAMETER, DISTANCE, DISTANCEX, DISTANCEY, lineWidth, norm, param1, param2, param3, pnts, RADIUS, DraftVecUtils::scale(), SYMMETRIC, and textColor.
◆ initClass()
|
static |
◆ notify()
|
protectedvirtual |
References femsolver.signal::notify(), and textColor.
Member Data Documentation
◆ datumtype
SoSFEnum SketcherGui::SoDatumLabel::datumtype |
Referenced by SketcherGui::ViewProviderSketch::draw(), generatePrimitives(), GLRender(), and SoDatumLabel().
◆ image
SoSFImage SketcherGui::SoDatumLabel::image |
◆ lineWidth
SoSFFloat SketcherGui::SoDatumLabel::lineWidth |
Referenced by GLRender(), and SoDatumLabel().
◆ name
SoSFName SketcherGui::SoDatumLabel::name |
◆ norm
SoSFVec3f SketcherGui::SoDatumLabel::norm |
Referenced by GLRender(), SketcherGui::ViewProviderSketch::rebuildConstraintsVisual(), and SoDatumLabel().
◆ param1
SoSFFloat SketcherGui::SoDatumLabel::param1 |
Referenced by SketcherGui::ViewProviderSketch::draw(), generatePrimitives(), GLRender(), and SoDatumLabel().
◆ param2
SoSFFloat SketcherGui::SoDatumLabel::param2 |
Referenced by SketcherGui::ViewProviderSketch::draw(), generatePrimitives(), GLRender(), and SoDatumLabel().
◆ param3
SoSFFloat SketcherGui::SoDatumLabel::param3 |
Referenced by SketcherGui::ViewProviderSketch::draw(), generatePrimitives(), and GLRender().
◆ pnts
SoMFVec3f SketcherGui::SoDatumLabel::pnts |
Referenced by SketcherGui::ViewProviderSketch::draw(), generatePrimitives(), GLRender(), and SoDatumLabel().
◆ size
SoSFInt32 SketcherGui::SoDatumLabel::size |
Referenced by PathScripts.PostUtils.GCodeEditorDialog::done().
◆ string
SoMFString SketcherGui::SoDatumLabel::string |
◆ textColor
SoSFColor SketcherGui::SoDatumLabel::textColor |
Referenced by GLRender(), notify(), SketcherGui::ViewProviderSketch::rebuildConstraintsVisual(), and SoDatumLabel().
◆ useAntialiasing
bool SketcherGui::SoDatumLabel::useAntialiasing |
Referenced by SoDatumLabel().
The documentation for this class was generated from the following files:
- src/Mod/Sketcher/Gui/SoDatumLabel.h
- src/Mod/Sketcher/Gui/SoDatumLabel.cpp