#include <object.h>
|
std::string | name |
|
std::string | enableStr |
|
std::string | boundingBoxStr |
|
std::string | ID |
|
std::string | environmentStr |
|
std::weak_ptr< Group > | parent |
|
H5::GroupBase * | hdf5Group {nullptr} |
|
std::string | fullName |
|
◆ createHDF5File()
virtual void OpenMBV::Object::createHDF5File |
( |
| ) |
|
|
protectedpure virtual |
◆ getEnvironment()
bool OpenMBV::Object::getEnvironment |
( |
| ) |
|
Returns true if this or any parent object is an environment objects
◆ getFullName()
string OpenMBV::Object::getFullName |
( |
| ) |
|
|
virtual |
◆ getID()
std::string OpenMBV::Object::getID |
( |
| ) |
const |
|
inline |
get the ID sting of the Object (Note: the ID is metadata and stored as a processing instruction in XML)
◆ getTopLevelGroup()
std::shared_ptr< Group > OpenMBV::Object::getTopLevelGroup |
( |
| ) |
|
return the top level Group
◆ initializeUsingXML()
void OpenMBV::Object::initializeUsingXML |
( |
xercesc::DOMElement * |
element | ) |
|
|
virtual |
Initializes the time invariant part of the object using a XML node
Reimplemented in OpenMBV::Arrow, OpenMBV::BevelGear, OpenMBV::Body, OpenMBV::CoilSpring, OpenMBV::CompoundRigidBody, OpenMBV::Cube, OpenMBV::Cuboid, OpenMBV::Cylinder, OpenMBV::CylindricalGear, OpenMBV::DynamicColoredBody, OpenMBV::DynamicIndexedFaceSet, OpenMBV::DynamicIndexedLineSet, OpenMBV::DynamicNurbsCurve, OpenMBV::DynamicNurbsSurface, OpenMBV::Extrusion, OpenMBV::FlexibleBody, OpenMBV::Frame, OpenMBV::Frustum, OpenMBV::Grid, OpenMBV::Group, OpenMBV::IndexedFaceSet, OpenMBV::IndexedLineSet, OpenMBV::InvisibleBody, OpenMBV::IvBody, OpenMBV::IvScreenAnnotation, OpenMBV::NurbsCurve, OpenMBV::NurbsDisk, OpenMBV::NurbsSurface, OpenMBV::Path, OpenMBV::PlanarGear, OpenMBV::PointSet, OpenMBV::Rack, OpenMBV::RigidBody, OpenMBV::Rotation, OpenMBV::Sphere, and OpenMBV::SpineExtrusion.
◆ setBoundingBox()
void OpenMBV::Object::setBoundingBox |
( |
bool |
bbox | ) |
|
|
inline |
Draw bounding box of this object in the viewer if true (the default)
◆ setEnable()
void OpenMBV::Object::setEnable |
( |
bool |
enable | ) |
|
|
inline |
Enable this object in the viewer if true (the default)
◆ setEnvironment()
void OpenMBV::Object::setEnvironment |
( |
bool |
env | ) |
|
|
inline |
If set to true than this object is an environment object: a static object which has no time dependent part (does not read anything from the h5 file).
◆ setID()
void OpenMBV::Object::setID |
( |
std::string |
ID_ | ) |
|
|
inline |
set the ID sting of the Object (Note: the ID is metadata and stored as a processing instruction in XML)
◆ setName()
void OpenMBV::Object::setName |
( |
const std::string & |
name_ | ) |
|
|
inline |
Set the name of this object
◆ writeXMLFile()
DOMElement * OpenMBV::Object::writeXMLFile |
( |
xercesc::DOMNode * |
parent | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/object.h
- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/object.cc