Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

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

A body defines by a Open Inventor file or a VRML file. More...

#include <ivbody.h>

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

List of all members.

Public Member Functions

 IvBody ()
 Default constructor.
std::string getClassName ()
 Retrun the class name.
void setIvFileName (std::string ivFileName_)
 The file of the iv file to read.
std::string getIvFileName ()
void setCreaseEdges (ScalarParameter creaseAngle_)
 Set the limit crease angle for the calculation of crease edges.
double getCreaseEdges ()
void setBoundaryEdges (bool b)
 Calculate and draw boundary edges or not? Default: false.
bool getBoundaryEdges ()
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 Initializes the time invariant part of the object using a XML node.
MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *parent)

Protected Attributes

std::string ivFileName
ScalarParameter creaseAngle
bool boundaryEdges

Detailed Description

A body defines by a Open Inventor file or a VRML file.


Member Function Documentation

void OpenMBV::IvBody::setBoundaryEdges ( bool  b) [inline]

Calculate and draw boundary edges or not? Default: false.

The boundary edges are drawn as outline in OpenMBV.

void OpenMBV::IvBody::setCreaseEdges ( ScalarParameter  creaseAngle_) [inline]

Set the limit crease angle for the calculation of crease edges.

If less 0 do not calculate crease edges. Default: -1, The crease edges are drawn as outline in OpenMBV.


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