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

Public Member Functions | |
| Extrusion (Iterator< Vector > *profilItr=NULL, Iterator< Vector > *pathItr=NULL, Iterator< Vector > *scaleItr=NULL, Iterator< Vector > *upItr=NULL, bool beginCap=true, bool endCap=true) | |
| Constructs the extrusion. | |
| void | setProfilIterator (Iterator< Vector > *iter) |
| Sets the profile specified by its corners. | |
| const Iterator< Vector > * | getProfilIterator () const |
| Returns corners specifying the profile. | |
| void | setPathIterator (Iterator< Vector > *iter) |
| Sets extrusion path. | |
| const Iterator< Vector > * | getPathIterator () const |
| Returns the extrusion path. | |
| void | setScaleIterator (Iterator< Vector > *iter) |
| Sets the scale values (x and z) for each path point. | |
| const Iterator< Vector > * | getScaleIterator () const |
| Returns the scaling values (x and z) for each path point. | |
| void | setUpIterator (Iterator< Vector > *iter) |
| const Iterator< Vector > * | getUpIterator () const |
| Get/set the up-iterator. | |
| void | setBeginCap (bool onOff) |
| Toggles the drawing of the begin cap. | |
| bool | getBeginCap () const |
| Returns whether the begin cap is drawn. | |
| void | setEndCap (bool onOff) |
| Toggles the drawing of the end cap. | |
| bool | getEndCap () const |
| Returns whether the end cap is drawn. | |
| virtual Bounds | boundingBox () const |
| The bounding box of the extrusion shape. | |
| virtual void | modified () |
| VRS_TYPEINFO (Extrusion, Shape) | |
| VRS_SERIALIZABLE (Extrusion) | |
| VRS::Extrusion::Extrusion | ( | Iterator< Vector > * | profilItr = NULL, |
|
| Iterator< Vector > * | pathItr = NULL, |
|||
| Iterator< Vector > * | scaleItr = NULL, |
|||
| Iterator< Vector > * | upItr = NULL, |
|||
| bool | beginCap = true, |
|||
| bool | endCap = true | |||
| ) |
Constructs the extrusion.
Sets the profile specified by its corners.
Returns corners specifying the profile.
Returns the extrusion path.
Sets the scale values (x and z) for each path point.
The number of scaling values must match the number of path points exactly.
Returns the scaling values (x and z) for each path point.
Get/set the up-iterator.
| void VRS::Extrusion::setBeginCap | ( | bool | onOff | ) | [inline] |
Toggles the drawing of the begin cap.
| bool VRS::Extrusion::getBeginCap | ( | ) | const [inline] |
Returns whether the begin cap is drawn.
| void VRS::Extrusion::setEndCap | ( | bool | onOff | ) | [inline] |
Toggles the drawing of the end cap.
| bool VRS::Extrusion::getEndCap | ( | ) | const [inline] |
Returns whether the end cap is drawn.
| virtual Bounds VRS::Extrusion::boundingBox | ( | ) | const [virtual] |
| virtual void VRS::Extrusion::modified | ( | ) | [virtual] |
Reimplemented from VRS::SharedObj.
| VRS::Extrusion::VRS_SERIALIZABLE | ( | Extrusion | ) |