#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 () |
SoDatumLabel::SoDatumLabel | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
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, draftfunctions.scale::scale(), SYMMETRIC, textColor, and draftgeoutils.general::v1().
|
static |
|
protectedvirtual |
References femsolver.signal::notify(), and textColor.
SoSFEnum SketcherGui::SoDatumLabel::datumtype |
SoSFImage SketcherGui::SoDatumLabel::image |
Referenced by PathScripts.PathToolEdit.ToolEditorImage::setupUI().
SoSFFloat SketcherGui::SoDatumLabel::lineWidth |
Referenced by GLRender(), and SoDatumLabel().
SoSFName SketcherGui::SoDatumLabel::name |
Referenced by draftguitools.gui_groups.Ui_AddNamedGroup::accept(), prototype.Node::addtofreecad(), Addon.Addon::disable(), Addon.Addon::enable(), addonmanager_macro.Macro::filename(), gzip_utf8.GzipFile::filename(), addonmanager_macro.Macro::fill_details_from_code(), addonmanager_macro.Macro::fill_details_from_wiki(), Addon.Addon::get_cached_icon_filename(), ifc4.ifcapproval::hasidentifierorname(), addonmanager_macro.Macro::install(), Addon.Addon::is_disabled(), femsolver.elmer.sifio.Section::keys(), automotive_design.si_unit::named_unit_dimensions(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::output(), prototype.Node::pprint(), prototype.Node::pprint2(), PathScripts.PathSetupSheetGui.OpTaskPanel::propertyGroup(), PathScripts.PathSetupSheetGui.OpTaskPanel::propertyName(), PathScripts.PathJobGui.TaskPanel::reject(), addonmanager_macro.Macro::remove(), Addon.Addon::to_cache(), ifc2x3.ifcexternalreference::wr1(), ifc2x3.ifcdocumentreference::wr1(), ifc4.ifcexternalreference::wr1(), ifc4.ifcdocumentreference::wr1(), and automotive_design.general_property_association::wr2().
SoSFVec3f SketcherGui::SoDatumLabel::norm |
Referenced by GLRender(), draftguitools.gui_trackers.archDimTracker::setString(), and SoDatumLabel().
SoSFFloat SketcherGui::SoDatumLabel::param1 |
SoSFFloat SketcherGui::SoDatumLabel::param2 |
SoSFFloat SketcherGui::SoDatumLabel::param3 |
SoMFVec3f SketcherGui::SoDatumLabel::pnts |
SoSFInt32 SketcherGui::SoDatumLabel::size |
SoMFString SketcherGui::SoDatumLabel::string |
SoSFColor SketcherGui::SoDatumLabel::textColor |
Referenced by GLRender(), notify(), and SoDatumLabel().
bool SketcherGui::SoDatumLabel::useAntialiasing |
Referenced by SoDatumLabel().