| Hosted by: |
OpenMBV C++ Interface |
BerliOS Project Page |
A body defines by a Open Inventor file or a VRML file. More...
#include <ivbody.h>
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 |
A body defines by a Open Inventor file or a VRML file.
| 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.
1.8.0