| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/paraboloid.h>

Public Member Functions | |
| Paraboloid (double top=1.0, double bottom=0.0, double topRadius=1.0, double theta=360) | |
| void | setTopBottom (double top, double bottom) |
| double | getTop () const |
| double | getBottom () const |
| void | setTopRadius (double r) |
| double | getTopRadius () const |
| void | setTheta (double) |
| double | getTheta () const |
| virtual Bounds | boundingBox () const |
| Bounding box of the paraboloid. | |
| VRS_TYPEINFO (Paraboloid, Shape) | |
| VRS_SERIALIZABLE (Paraboloid) | |
| VRS::Paraboloid::Paraboloid | ( | double | top = 1.0, |
|
| double | bottom = 0.0, |
|||
| double | topRadius = 1.0, |
|||
| double | theta = 360 | |||
| ) |
A paraboloid is created by rotating a parabola centered at the origin about the y axis. The apex of the paraboloid is in (0,0,0). 'top' and 'bottom' define the clipping planes of the paraboloid (top > bottom >= 0.0). 'theta' defines by which angle the parabola is rotated, starting on the positive x-axis and rotated counterclockwise when viewed from above.
| void VRS::Paraboloid::setTopBottom | ( | double | top, | |
| double | bottom | |||
| ) |
| double VRS::Paraboloid::getTop | ( | ) | const [inline] |
| double VRS::Paraboloid::getBottom | ( | ) | const [inline] |
Set resp. get the top and bottom clipping planes of the paraboloid. VRS_Assertion: top > bottom >= 0.0.
| void VRS::Paraboloid::setTopRadius | ( | double | r | ) |
| double VRS::Paraboloid::getTopRadius | ( | ) | const [inline] |
Set resp. get the radius of the paraboloids top cap i.e. if the parabola is given by y = ax^2 => topCap = a * topRadius^2 VRS_Assertion: r >= 0.0.
| void VRS::Paraboloid::setTheta | ( | double | ) |
| double VRS::Paraboloid::getTheta | ( | ) | const [inline] |
Set resp get the angle about which the parabola is rotated. VRS_Assertion: theta >= 0.
| virtual Bounds VRS::Paraboloid::boundingBox | ( | ) | const [virtual] |
| VRS::Paraboloid::VRS_TYPEINFO | ( | Paraboloid | , | |
| Shape | ||||
| ) |
| VRS::Paraboloid::VRS_SERIALIZABLE | ( | Paraboloid | ) |