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

Public Types | |
| enum | AlignmentType { Spherical, Cylindrical, Off } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (AlignmentType) | |
| Billboard (AlignmentType type=Billboard::Spherical, const Vector ¢er=Vector(0, 0, 0)) | |
| Constructs the transformation with the given parameters. | |
| AlignmentType | getType () const |
| Returns the type of the billboarding. | |
| void | setType (AlignmentType type) |
| Sets the type of the billboarding. | |
| Vector | getCenter () const |
| Sets the center of the billboard transformation. | |
| void | setCenter (const Vector ¢er) |
| Returns the center of the billboard transformation. | |
| virtual const Matrix & | matrix (Engine *engine=NULL) const |
| Calculates the needed transformation matrix. | |
| VRS_TYPEINFO (Billboard, Transform) | |
| VRS_SERIALIZABLE (Billboard) | |
| VRS::Billboard::Billboard | ( | AlignmentType | type = Billboard::Spherical, |
|
| const Vector & | center = Vector(0, 0, 0) | |||
| ) |
Constructs the transformation with the given parameters.
| VRS::Billboard::VRS_SERIALIZABLE_CLASS_ENUM | ( | AlignmentType | ) |
| AlignmentType VRS::Billboard::getType | ( | ) | const |
Returns the type of the billboarding.
| void VRS::Billboard::setType | ( | AlignmentType | type | ) |
Sets the type of the billboarding.
| Vector VRS::Billboard::getCenter | ( | ) | const |
Sets the center of the billboard transformation.
| void VRS::Billboard::setCenter | ( | const Vector & | center | ) |
Returns the center of the billboard transformation.
Calculates the needed transformation matrix.
Requires a valid engine because this transformation depends on the current modelview matrix.
Implements VRS::Transform.
| VRS::Billboard::VRS_SERIALIZABLE | ( | Billboard | ) |