#include <ivf/IvfQuadPlane.h>
Inheritance diagram for CIvfQuadPlane:
Public Types | |
enum | TPlaneOrientation { PO_XY, PO_XZ, PO_YZ } |
Public Member Functions | |
CIvfQuadPlane () | |
virtual | ~CIvfQuadPlane () |
IvfClassInfo ("CIvfQuadPlane", CIvfQuadSet) | |
void | flipVert () |
void | setWidth (double width) |
void | setTexture (CIvfTexture *texture) |
void | setSize (double width, double height) |
void | setOrientation (TPlaneOrientation orientation) |
void | setTextureRepeat (double xrepeat, double yrepeat) |
Implements a simple plane defined by a width and a height. When using textures the class will consider the aspect ratio of the texture.
Definition at line 43 of file IvfQuadPlane.h.
|
CIvfQuadPlane constructor |
|
CIvfQuadPlane destructor |
|
Flips texture coordinates |
|
Set orientation of plane. |
|
Set size of plane Overrides any settings set using the methods setWidth and setTexture. |
|
Set texture Calculates ratio and modifies the plane size Reimplemented from CIvfShape. |
|
Set texture repeat in x and y direction. |
|
Set width of plane Automatically calculates height if a texture has been given. If no texture has been set height = width. |