#include <CosmeticExtension.h>
Public Member Functions | |
virtual std::string | addCenterLine (Base::Vector3d start, Base::Vector3d end) |
virtual std::string | addCenterLine (TechDraw::BaseGeomPtr bg) |
virtual std::string | addCenterLine (TechDraw::CenterLine *cl) |
virtual std::string | addCosmeticEdge (Base::Vector3d start, Base::Vector3d end) |
virtual std::string | addCosmeticEdge (TechDraw::BaseGeomPtr bg) |
virtual std::string | addCosmeticVertex (Base::Vector3d pos) |
virtual std::string | addGeomFormat (TechDraw::GeomFormat *gf) |
CosmeticExtension () | |
virtual CenterLine * | getCenterLine (std::string tag) const |
virtual CenterLine * | getCenterLineBySelection (int i) const |
virtual CenterLine * | getCenterLineBySelection (std::string name) const |
virtual CosmeticEdge * | getCosmeticEdge (std::string id) const |
virtual CosmeticEdge * | getCosmeticEdgeBySelection (int i) const |
virtual CosmeticEdge * | getCosmeticEdgeBySelection (std::string name) const |
virtual CosmeticVertex * | getCosmeticVertex (std::string id) const |
virtual CosmeticVertex * | getCosmeticVertexBySelection (int i) const |
virtual CosmeticVertex * | getCosmeticVertexBySelection (std::string name) const |
PyObject * | getExtensionPyObject (void) |
virtual GeomFormat * | getGeomFormat (std::string id) const |
virtual GeomFormat * | getGeomFormatBySelection (int i) const |
virtual GeomFormat * | getGeomFormatBySelection (std::string name) const |
virtual void | removeCenterLine (std::string tag) |
virtual void | removeCenterLine (std::vector< std::string > delTags) |
virtual void | removeCosmeticEdge (std::string tag) |
virtual void | removeCosmeticEdge (std::vector< std::string > delTags) |
virtual void | removeCosmeticVertex (std::string tag) |
virtual void | removeCosmeticVertex (std::vector< std::string > delTags) |
virtual void | removeGeomFormat (std::string tag) |
virtual bool | replaceCenterLine (CenterLine *newLine) |
virtual bool | replaceCosmeticEdge (CosmeticEdge *newEdge) |
virtual bool | replaceCosmeticVertex (CosmeticVertex *newVertex) |
virtual bool | replaceGeomFormat (TechDraw::GeomFormat *gf) |
virtual | ~CosmeticExtension () |
Public Member Functions inherited from App::DocumentObjectExtension | |
DocumentObjectExtension () | |
virtual App::DocumentObjectExecReturn * | extensionExecute () |
virtual bool | extensionGetLinkedObject (DocumentObject *&ret, bool recursive, Base::Matrix4D *mat, bool transform, int depth) const |
Get the linked object. More... | |
virtual bool | extensionGetSubObject (DocumentObject *&ret, const char *subname, PyObject **pyObj, Base::Matrix4D *mat, bool transform, int depth) const |
Get the sub object by name. More... | |
virtual bool | extensionGetSubObjects (std::vector< std::string > &ret, int reason) const |
Get name references of all sub objects. More... | |
virtual bool | extensionHasChildElement () const |
virtual int | extensionIsElementVisible (const char *) |
virtual short | extensionMustExecute () |
virtual int | extensionSetElementVisible (const char *, bool) |
App::DocumentObject * | getExtendedObject () |
const App::DocumentObject * | getExtendedObject () const |
virtual PyObject * | getExtensionPyObject () override |
virtual const char * | getViewProviderExtensionName () const |
returns the type name of the ViewProviderExtension which is automatically attached to the viewprovider object when it is initiated More... | |
virtual void | onExtendedDocumentRestored () |
get called after a document has been fully restored More... | |
virtual void | onExtendedSettingDocument () |
get called after setting the document More... | |
virtual void | onExtendedSetupObject () |
get called after a brand new object was created More... | |
virtual void | onExtendedUnsetupObject () |
get called when object is going to be removed from the document More... | |
virtual | ~DocumentObjectExtension () |
Public Member Functions inherited from App::Extension | |
Extension () | |
App::ExtensionContainer * | getExtendedContainer () |
const App::ExtensionContainer * | getExtendedContainer () const |
virtual PyObject * | getExtensionPyObject () |
virtual void | initExtension (App::ExtensionContainer *obj) |
bool | isPythonExtension () |
std::string | name () const |
virtual | ~Extension () |
virtual Property * | extensionGetPropertyByName (const char *name) const |
find a property by its name More... | |
virtual const char * | extensionGetPropertyName (const Property *prop) const |
get the name of a property More... | |
virtual void | extensionGetPropertyMap (std::map< std::string, Property * > &Map) const |
get all properties of the class (including properties of the parent) More... | |
virtual void | extensionGetPropertyList (std::vector< Property * > &List) const |
get all properties of the class (including properties of the parent) More... | |
virtual short | extensionGetPropertyType (const Property *prop) const |
get the Type of a Property More... | |
virtual short | extensionGetPropertyType (const char *name) const |
get the Type of a named Property More... | |
virtual const char * | extensionGetPropertyGroup (const Property *prop) const |
get the Group of a Property More... | |
virtual const char * | extensionGetPropertyGroup (const char *name) const |
get the Group of a named Property More... | |
virtual const char * | extensionGetPropertyDocumentation (const Property *prop) const |
get the Group of a Property More... | |
virtual const char * | extensionGetPropertyDocumentation (const char *name) const |
get the Group of a named Property More... | |
virtual void | extensionSave (Base::Writer &) const |
virtual void | extensionRestore (Base::XMLReader &) |
bool | extensionIsDerivedFrom (const Base::Type type) const |
Additional Inherited Members | |
Protected Member Functions inherited from App::Extension | |
virtual void | extensionOnChanged (const Property *p) |
void | initExtensionType (Base::Type type) |
Static Protected Member Functions inherited from App::Extension | |
static void | initExtensionSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Base::Type::instantiationMethod method=nullptr) |
Protected Attributes inherited from App::Extension | |
bool | m_isPythonExtension = false |
Py::SmartPtr | ExtensionPythonObject |
CosmeticExtension::CosmeticExtension | ( | ) |
References App::Prop_Output.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
References CosmeticVertexes, TechDraw::CosmeticVertex::getTagAsString(), TechDraw::PropertyCosmeticVertexList::getValues(), TechDraw::DrawUtil::invertY(), and TechDraw::PropertyCosmeticVertexList::setValues().
Referenced by TechDrawGui::TaskCosVertex::addCosVertex(), and TechDraw::DrawDimHelper::makeDistDim().
|
virtual |
|
virtual |
References CenterLines, and TechDraw::PropertyCenterLineList::getValues().
Referenced by TechDraw::DrawViewPart::add1CLToGE(), getCenterLineBySelection(), and TechDrawGui::TaskCenterLine::TaskCenterLine().
|
virtual |
References getCenterLineBySelection().
|
virtual |
References getCenterLine(), App::DocumentObjectExtension::getExtendedObject(), TechDraw::DrawViewPart::getGeomByIndex(), and TechDraw::DrawUtil::getIndexFromName().
Referenced by TechDrawGui::TaskLineDecor::applyDecorations(), getCenterLineBySelection(), and TechDrawGui::TaskLineDecor::getDefaults().
|
virtual |
References Base::Console(), CosmeticEdges, TechDraw::PropertyCosmeticEdgeList::getValues(), and Base::ConsoleSingleton::Message().
Referenced by TechDraw::DrawViewPart::add1CEToGE(), TechDrawGui::TaskCosmeticLine::createCosmeticLine(), TechDrawGui::execHoleCircle(), and getCosmeticEdgeBySelection().
|
virtual |
References getCosmeticEdgeBySelection().
|
virtual |
References getCosmeticEdge(), App::DocumentObjectExtension::getExtendedObject(), TechDraw::DrawViewPart::getGeomByIndex(), and TechDraw::DrawUtil::getIndexFromName().
Referenced by TechDrawGui::TaskLineDecor::applyDecorations(), getCosmeticEdgeBySelection(), TechDrawGui::TaskLineDecor::getDefaults(), TechDrawGui::TaskAlignViews::getSelectedEdges(), and TechDrawGui::TaskCosmeticLine::TaskCosmeticLine().
|
virtual |
|
virtual |
References getCosmeticVertexBySelection().
|
virtual |
|
virtual |
Reimplemented from App::DocumentObjectExtension.
References App::Extension::ExtensionPythonObject.
|
virtual |
References GeomFormats, and TechDraw::PropertyGeomFormatList::getValues().
|
virtual |
References getGeomFormatBySelection().
|
virtual |
References GeomFormats, App::DocumentObjectExtension::getExtendedObject(), TechDraw::DrawUtil::getIndexFromName(), and TechDraw::PropertyGeomFormatList::getValues().
Referenced by TechDrawGui::TaskLineDecor::applyDecorations(), TechDrawGui::TaskLineDecor::getDefaults(), and getGeomFormatBySelection().
|
virtual |
References CenterLines, TechDraw::PropertyCenterLineList::getValues(), and TechDraw::PropertyCenterLineList::setValues().
Referenced by removeCenterLine().
|
virtual |
References removeCenterLine().
|
virtual |
References CosmeticEdges, TechDraw::PropertyCosmeticEdgeList::getValues(), and TechDraw::PropertyCosmeticEdgeList::setValues().
Referenced by removeCosmeticEdge().
|
virtual |
References removeCosmeticEdge().
|
virtual |
|
virtual |
References removeCosmeticVertex().
|
virtual |
|
virtual |
References Base::Console(), and Base::ConsoleSingleton::Message().
|
virtual |
References Base::Console(), and Base::ConsoleSingleton::Message().
|
virtual |
References Base::Console(), and Base::ConsoleSingleton::Message().
|
virtual |
References Base::Console(), and Base::ConsoleSingleton::Message().
TechDraw::PropertyCenterLineList TechDraw::CosmeticExtension::CenterLines |
Referenced by addCenterLine(), TechDraw::DrawViewPart::addCenterLinesToGeom(), TechDraw::DrawViewPart::clearCenterLines(), TechDrawGui::TaskRestoreLines::countInvisibleCenters(), getCenterLine(), TechDraw::DrawViewPart::mustExecute(), removeCenterLine(), and TechDrawGui::TaskRestoreLines::restoreInvisibleCenters().
TechDraw::PropertyCosmeticEdgeList TechDraw::CosmeticExtension::CosmeticEdges |
Referenced by addCosmeticEdge(), TechDraw::DrawViewPart::addCosmeticEdgesToGeom(), TechDraw::DrawViewPart::clearCosmeticEdges(), TechDrawGui::TaskRestoreLines::countInvisibleCosmetics(), TechDraw::DrawViewPart::dumpCosEdges(), getCosmeticEdge(), TechDraw::DrawViewPart::mustExecute(), removeCosmeticEdge(), and TechDrawGui::TaskRestoreLines::restoreInvisibleCosmetics().
TechDraw::PropertyCosmeticVertexList TechDraw::CosmeticExtension::CosmeticVertexes |
Referenced by addCosmeticVertex(), TechDraw::DrawViewPart::addCosmeticVertexesToGeom(), TechDraw::DrawViewPart::clearCosmeticVertexes(), TechDraw::DrawViewPart::dumpCosVerts(), getCosmeticVertex(), TechDraw::DrawViewPart::getCVIndex(), TechDraw::DrawViewPart::mustExecute(), and removeCosmeticVertex().
TechDraw::PropertyGeomFormatList TechDraw::CosmeticExtension::GeomFormats |