Defines a leaf node in the scene graph hierarchy. More...
#include <cadex/ModelData/Part.hxx>
Public Member Functions | |
| Part (Initialized) | |
| Part (const UTF16String &theName) | |
| void | AddBody (const Body &theBody) |
| Adds a body. | |
| void | AddBodies (const std::vector< Body > &theBodies) |
| Adds a list of bodies. | |
| const std::vector< Body > & | Bodies () const |
| size_t | NumberOfBodies () const |
| Returns a number of bodies. | |
Public Member Functions inherited from cadex::ModelData::ModelElement | |
| void | SetName (const UTF16String &theName) |
| Sets a name. | |
| UTF16String | Name () const |
| Returns a name. | |
| void | SetUuid (const Uuid &theUuid) |
| Sets an object uuid. | |
| cadex::Uuid | Uuid () const |
| Returns an object uuid. | |
| void | SetPMI (const PMI::Data &thePMI) |
| Sets the object PMI. | |
| PMI::Data | PMI () const |
| Returns the object PMI. | |
| void | Accept (ModelElementVisitor &theVisitor) const |
| Accepts an element visitor. | |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Static Public Member Functions | |
| static bool | CompareType (const BaseObject &theObject) |
Static Public Member Functions inherited from cadex::ModelData::ModelElement | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject is a model element. | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::ModelData::ModelElement | |
| ModelElement (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Defines a leaf node in the scene graph hierarchy.
A part corresponds to mechanical part or a product in the product structure hierarchy.
A part may contain one or more bodies (Body).