Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

BerliOS Project Page
Public Member Functions | Protected Attributes | Friends
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

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 (double 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 (xercesc::DOMElement *element)
 Initializes the time invariant part of the object using a XML node.
xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *parent)

Protected Attributes

std::string ivFileName
double creaseAngle
bool boundaryEdges

Friends

class ObjectFactory

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 ( double  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: