version 3.3

VRS::Hyperboloid Class Reference

Hyperboloid. More...

#include <vrs/hyperboloid.h>

Inheritance diagram for VRS::Hyperboloid:

VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Hyperboloid (double a=-1.0, double b=1.0, const Vector &center=Vector(0, 0, 0), double theta=360.0)
void setA (double)
double getA () const
 Get/set the lower border of the interval.
void setB (double)
double getB () const
 Get/set the higher border of the interval.
void setCenter (const Vector &)
Vector getCenter () const
 Get/Set the center (in almost every case the origin).
void setTheta (double)
double getTheta () const
 Get/set the rotation angle `theta'.
virtual Bounds boundingBox () const
 Bounding box of the hyperboloid.
 VRS_TYPEINFO (Hyperboloid, Shape)
 VRS_SERIALIZABLE (Hyperboloid)


Detailed Description

Hyperboloid.

Constructor & Destructor Documentation

VRS::Hyperboloid::Hyperboloid ( double  a = -1.0,
double  b = 1.0,
const Vector center = Vector(0, 0, 0),
double  theta = 360.0 
)

a hyperboloid can be calculated as surface of revolution, the rotated curve is a simple hyperbola


Member Function Documentation

void VRS::Hyperboloid::setA ( double   ) 

double VRS::Hyperboloid::getA (  )  const [inline]

Get/set the lower border of the interval.

void VRS::Hyperboloid::setB ( double   ) 

double VRS::Hyperboloid::getB (  )  const [inline]

Get/set the higher border of the interval.

void VRS::Hyperboloid::setCenter ( const Vector  ) 

Vector VRS::Hyperboloid::getCenter (  )  const [inline]

Get/Set the center (in almost every case the origin).

void VRS::Hyperboloid::setTheta ( double   ) 

double VRS::Hyperboloid::getTheta (  )  const [inline]

Get/set the rotation angle `theta'.

virtual Bounds VRS::Hyperboloid::boundingBox (  )  const [virtual]

Bounding box of the hyperboloid.

Implements VRS::Shape.

VRS::Hyperboloid::VRS_TYPEINFO ( Hyperboloid  ,
Shape   
)

VRS::Hyperboloid::VRS_SERIALIZABLE ( Hyperboloid   ) 


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

Generated on Mon May 21 06:00:18 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact