| 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 | |
| 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 |
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 | ( | 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.
1.8.0