CIvfSphere Class Reference

#include <ivf/IvfSphere.h>

Inheritance diagram for CIvfSphere:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfSphere ()
virtual ~CIvfSphere ()
 IvfClassInfo ("CIvfSphere", CIvfShape)
void setRadius (double radius)
double getRadius ()
void setStacks (int stacks)
int getStacks ()
void setSlices (int slices)
int getSlices ()
void updateBoundingSphere ()

Protected Member Functions

virtual void createSelect ()
virtual void createGeometry ()

Detailed Description

Sphere primitive
Author:
Jonas Lindemann
Examples:

culling.cpp, handlers.cpp, lighting.cpp, lod.cpp, manip.cpp, placement.cpp, robot.cpp, and selection.cpp.

Definition at line 37 of file IvfSphere.h.


Constructor & Destructor Documentation

CIvfSphere::CIvfSphere  ) 
 

Constructor

virtual CIvfSphere::~CIvfSphere  )  [virtual]
 

Destructor


Member Function Documentation

virtual void CIvfSphere::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

virtual void CIvfSphere::createSelect  )  [protected, virtual]
 

Creates the select object.

When the object is selected. This method is called to create the object respresenting the select state.

Reimplemented from CIvfShape.

double CIvfSphere::getRadius  ) 
 

Return sphere radius

int CIvfSphere::getSlices  ) 
 

Return number of slices

int CIvfSphere::getStacks  ) 
 

Return number of stacks

void CIvfSphere::setRadius double  radius  ) 
 

Set sphere radius

void CIvfSphere::setSlices int  slices  ) 
 

Set number of slices in sphere representation

void CIvfSphere::setStacks int  stacks  ) 
 

Set number of stacks in sphere representation

void CIvfSphere::updateBoundingSphere  )  [virtual]
 

Update bounding sphere size

Reimplemented from CIvfObject.


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