#include <Attacher.h>
Public Member Functions | |
AttachEnginePoint () | |
virtual Base::Placement | calculateAttachedPlacement (const Base::Placement &origPlacement) const |
virtual AttachEnginePoint * | copy () const |
Public Member Functions inherited from Attacher::AttachEngine | |
AttachEngine () | |
virtual Base::Placement | calculateAttachedPlacement (const Base::Placement &origPlacement) const =0 |
virtual AttachEngine * | copy () const =0 |
void | EnableAllSupportedModes (void) |
EnableAllModes enables all modes that have shape type lists filled. More... | |
Base::Placement | placementFactory (const gp_Dir &ZAxis, gp_Vec XAxis, gp_Pnt Origin, gp_Pnt refOrg=gp_Pnt(), bool useRefOrg_Line=false, bool useRefOrg_Plane=false, bool makeYVertical=false, bool makeLegacyFlatFaceOrientation=false, Base::Placement *placeOfRef=nullptr) const |
placementFactory calculates placement from Z axis direction, optional X axis direction, and origin point. More... | |
virtual void | setUp (const App::PropertyLinkSubList &references, eMapMode mapMode=mmDeactivated, bool mapReverse=false, double attachParameter=0.0, double surfU=0.0, double surfV=0.0, const Base::Placement &attachmentOffset=Base::Placement()) |
virtual void | setUp (const AttachEngine &another) |
virtual void | suggestMapModes (SuggestResult &result) const |
suggestMapModes is the procedure that knows everything about mapping modes. More... | |
virtual | ~AttachEngine () |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
BaseClass (const BaseClass &)=default | |
virtual PyObject * | getPyObject () |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type | getTypeId () const |
bool | isDerivedFrom (const Type type) const |
BaseClass & | operator= (const BaseClass &)=default |
virtual void | setPyObject (PyObject *) |
virtual | ~BaseClass () |
Destruction. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Attacher::AttachEngine | |
static eRefType | downgradeType (eRefType type) |
downgradeType converts a more-specific type into a less-specific type (e.g. More... | |
static GProp_GProps | getInertialPropsOfShape (const std::vector< const TopoDS_Shape * > &shapes) |
static eMapMode | getModeByName (const std::string &modeName) |
static std::string | getModeName (eMapMode mmode) |
getModeName More... | |
static eRefType | getRefTypeByName (const std::string &typeName) |
static std::string | getRefTypeName (eRefType shapeType) |
static eRefType | getShapeType (const App::DocumentObject *obj, const std::string &subshape) |
getShapeType by link content. More... | |
static eRefType | getShapeType (const TopoDS_Shape &sh) |
getShapeType by shape. More... | |
static int | getTypeRank (eRefType type) |
getTypeRank determines, how specific is the supplied shape type. More... | |
static int | isShapeOfType (eRefType shapeType, eRefType requirement) |
isShapeOfType tests if a shape fulfills the requirement of a mode, and returns a score of how spot on was the requirement. More... | |
static void | verifyReferencesAreSafe (const App::PropertyLinkSubList &references) |
verifyReferencesAreSafe: checks if pointers in references still point to objects contained in open documents. More... | |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create () |
static Type | getClassTypeId () |
static void | init () |
Public Attributes inherited from Attacher::AttachEngine | |
Base::Placement | attachmentOffset |
double | attachParameter |
eMapMode | mapMode |
bool | mapReverse |
std::vector< bool > | modeEnabled |
modeEnabled is an indicator, whether some mode is ever suggested or not. More... | |
std::vector< refTypeStringList > | modeRefTypes |
App::PropertyLinkSubList | references |
double | surfU |
double | surfV |
Static Public Attributes inherited from Attacher::AttachEngine | |
static const char * | eMapModeStrings [] |
static const char * | eRefTypeStrings [] |
Protected Member Functions inherited from Attacher::AttachEngine | |
refTypeString | cat (eRefType rt1) |
refTypeString | cat (eRefType rt1, eRefType rt2) |
refTypeString | cat (eRefType rt1, eRefType rt2, eRefType rt3) |
refTypeString | cat (eRefType rt1, eRefType rt2, eRefType rt3, eRefType rt4) |
Static Protected Member Functions inherited from Attacher::AttachEngine | |
static void | readLinks (const App::PropertyLinkSubList &references, std::vector< App::GeoFeature * > &geofs, std::vector< const TopoDS_Shape * > &shapes, std::vector< TopoDS_Shape > &storage, std::vector< eRefType > &types) |
AttachEngine3D::readLinks. More... | |
static void | throwWrongMode (eMapMode mmode) |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
AttachEnginePoint::AttachEnginePoint | ( | ) |
References Attacher::mm0CenterOfCurvature, Attacher::mm0CenterOfMass, Attacher::mm0Focus1, Attacher::mm0Focus2, Attacher::mm0OnEdge, Attacher::mm0Origin, Attacher::mm0ProximityPoint1, Attacher::mm0ProximityPoint2, Attacher::mm0Vertex, Attacher::mmDummy_NumberOfModes, Attacher::mmNormalToPath, Attacher::mmObjectXY, Attacher::mmRevolutionSection, Attacher::AttachEngine::modeRefTypes, Attacher::rtAnything, Attacher::rtConic, Attacher::rtEllipse, Attacher::rtHyperbola, Attacher::rtLine, and Attacher::rtVertex.
Referenced by copy().
|
virtual |
Implements Attacher::AttachEngine.
References Attacher::AttachEngine::attachmentOffset, Attacher::AttachEngine3D::calculateAttachedPlacement(), Attacher::AttachEngine::getInertialPropsOfShape(), Attacher::AttachEngine::mapMode, Attacher::mm0CenterOfCurvature, Attacher::mm0CenterOfMass, Attacher::mm0Focus1, Attacher::mm0Focus2, Attacher::mm0OnEdge, Attacher::mm0Origin, Attacher::mm0ProximityPoint1, Attacher::mm0ProximityPoint2, Attacher::mm0Vertex, Attacher::mmDeactivated, Attacher::mmNormalToPath, Attacher::mmObjectXY, Attacher::mmRevolutionSection, Attacher::AttachEngine::placementFactory(), Attacher::AttachEngine::readLinks(), Attacher::AttachEngine::references, Attacher::AttachEngine::setUp(), and Attacher::AttachEngine::throwWrongMode().
|
virtual |
Implements Attacher::AttachEngine.
References AttachEnginePoint().