Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

BerliOS Project Page
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
OpenMBV::CompoundRigidBody Class Reference

A compound of rigid bodies. More...

#include <compoundrigidbody.h>

Inheritance diagram for OpenMBV::CompoundRigidBody:
OpenMBV::RigidBody OpenMBV::DynamicColoredBody OpenMBV::Body OpenMBV::Object

List of all members.

Public Member Functions

 CompoundRigidBody ()
 Default constructor.
std::string getClassName ()
 Retrun the class name.
void addRigidBody (RigidBody *rigidBody_)
 Add a RigidBody to this compound.
std::vector< RigidBody * > getRigidBodies ()
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 Initializes the time invariant part of the object using a XML node.
MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *parent)
void setExpand (bool expand)
 Expand this tree node in a view if true (the default)
bool getExpand ()

Protected Member Functions

void collectParameter (std::map< std::string, double > &sp, std::map< std::string, std::vector< double > > &vp, std::map< std::string, std::vector< std::vector< double > > > &mp, bool collectAlsoSeparateGroup=false)

Protected Attributes

std::string expandStr
std::vector< RigidBody * > rigidBody

Friends

class RigidBody

Detailed Description

A compound of rigid bodies.


The documentation for this class was generated from the following file: