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 (double radius)
 Set the radius of the outer side at the base (bottom)
double getBaseRadius ()
void setTopRadius (double radius)
 Set the radius of the outer side at the top.
double getTopRadius ()
void setHeight (double height_)
 Set height of the frustum.
double getHeight ()
void setInnerBaseRadius (double radius)
 Set the radius of the inner side at the base (bottom).
double getInnerBaseRadius ()
void setInnerTopRadius (double radius)
 Set the radius of the inner side at the top.
double getInnerTopRadius ()
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

double baseRadius
double topRadius
double height
double innerBaseRadius
double innerTopRadius

Detailed Description

A frustum (with a frustum hole)


Member Function Documentation

void OpenMBV::Frustum::setInnerBaseRadius ( double  radius) [inline]

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

void OpenMBV::Frustum::setInnerTopRadius ( double  radius) [inline]

Set the radius of the inner side at the top.

void OpenMBV::Frustum::setTopRadius ( double  radius) [inline]

Set the radius of the outer side at the top.


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