Hide menu
Loading...
Searching...
No Matches

Defines a leaf node in the scene graph hiearchy. More...

#include <cadex/ModelData/Part.hxx>

Inheritance diagram for cadex::ModelData::Part:
cadex::ModelData::ModelElement cadex::BaseObject

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 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)
 

Detailed Description