Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

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

A frame; A coordinate system. More...

#include <frame.h>

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

List of all members.

Public Member Functions

 Frame ()
 Default constructor.
std::string getClassName ()
 Retrun the class name.
void setSize (double size_)
 Set the length of the three axis, represended by lines in red, green and blue color.
double getSize ()
void setOffset (double offset_)
 Set the offset of the thre axis.
double getOffset ()
virtual void initializeUsingXML (xercesc::DOMElement *element)
 Initializes the time invariant part of the object using a XML node.
xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *parent)

Protected Attributes

double size
double offset

Detailed Description

A frame; A coordinate system.


Member Function Documentation

void OpenMBV::Frame::setOffset ( double  offset_) [inline]

Set the offset of the thre axis.

A offset of 0 means, that the axis/lines are intersecting in there mid points. A offset of 1 menas, that the axis/lines are intersecting at there start points.

void OpenMBV::Frame::setSize ( double  size_) [inline]

Set the length of the three axis, represended by lines in red, green and blue color.


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