CIvfBoundingSphere Class Reference

#include <ivfmath/IvfBoundingSphere.h>

Inheritance diagram for CIvfBoundingSphere:

CIvfMathBase List of all members.

Public Member Functions

 CIvfBoundingSphere ()
virtual ~CIvfBoundingSphere ()
 IvfClassInfo ("CIvfBoundingSphere", CIvfMathBase)
void setRadius (double radius)
double getRadius ()
void getGlobalPosition (double &x, double &y, double &z)
void setGlobalPosition (double x, double y, double z)

Detailed Description

Bounding sphere class

CIvfBoundingSphere defines a bounding sphere used together with the CIvfCulledScene class.

Author:
Jonas Lindemann

Definition at line 37 of file IvfBoundingSphere.h.


Constructor & Destructor Documentation

CIvfBoundingSphere::CIvfBoundingSphere  ) 
 

CIvfBounding sphere constructor

virtual CIvfBoundingSphere::~CIvfBoundingSphere  )  [virtual]
 

CIvfBounding sphere destructor


Member Function Documentation

void CIvfBoundingSphere::getGlobalPosition double &  x,
double &  y,
double &  z
 

Sets the global position of the bounding sphere.

double CIvfBoundingSphere::getRadius  ) 
 

Returns the bounding sphere radius.

The bounding sphere radius is initially set to 0.0.

void CIvfBoundingSphere::setGlobalPosition double  x,
double  y,
double  z
 

Returns the global position of the bounding sphere.

Global position is initially set to (0, 0, 0)

void CIvfBoundingSphere::setRadius double  radius  ) 
 

Set the bounding sphere radius.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:48 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO