Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

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

A frustum (with a frustum hole) More...

#include <frustum.h>

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

List of all members.

Public Member Functions

 Frustum ()
 Default constructor.
std::string getClassName ()
 Retrun the class name.
void setBaseRadius (ScalarParameter radius)
 Set the radius of the outer side at the base (bottom)
double getBaseRadius ()
void setTopRadius (ScalarParameter radius)
 Set the radius of the outer side at the top.
double getTopRadius ()
void setHeight (ScalarParameter height_)
 Set height of the frustum.
double getHeight ()
void setInnerBaseRadius (ScalarParameter radius)
 Set the radius of the inner side at the base (bottom).
double getInnerBaseRadius ()
void setInnerTopRadius (ScalarParameter radius)
 Set the radius of the inner side at the top.
double getInnerTopRadius ()
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

ScalarParameter baseRadius
ScalarParameter topRadius
ScalarParameter height
ScalarParameter innerBaseRadius
ScalarParameter innerTopRadius

Detailed Description

A frustum (with a frustum hole)


Member Function Documentation

Set the radius of the inner side at the base (bottom).

Set the radius of the inner side at the top.

Set the radius of the outer side at the top.


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