#include <ivf/IvfCone.h>
Inheritance diagram for CIvfCone:
Public Member Functions | |
CIvfCone () | |
virtual | ~CIvfCone () |
IvfClassInfo ("CIvfCone", CIvfShape) | |
void | setTopRadius (const double radius) |
double | getTopRadius () |
void | setBottomRadius (const double radius) |
double | getBottomRadius () |
void | setHeight (const double height) |
double | getHeight () |
void | setStacks (int stacks) |
int | getStacks () |
void | setSlices (int slices) |
int | getSlices () |
void | updateBoundingSphere () |
Protected Member Functions | |
virtual void | createSelect () |
virtual void | createGeometry () |
CIvfCone implements a class for representing cone shaped objects. CIvfCone has a top radius and a bottom radius. It is also possible to specify how many slices and stacks the cone should consist of.
Definition at line 42 of file IvfCone.h.
|
CIvfCone constructor. |
|
CIvfCone destructor. |
|
Forces an object recalculation. Reimplemented from CIvfShape. |
|
Creates the select object. When the object is selected. This method is called to create the object respresenting the select state. Reimplemented from CIvfShape. |
|
Return bottom radius |
|
Return height |
|
Return slices |
|
Return stacks |
|
Return top radius |
|
Set bottom radius |
|
Set height |
|
Set slices The slices property determines how many slices the cone should have around its axis.
|
|
Set stacks The stacks property determines how many slices the cone should have along its axis.
|
|
Set top radius |
|
Updates bounding sphere Upates the radius of the assigned bounding sphere, if any. Reimplemented from CIvfObject. |