PanoramaViewer
|
#include <Impostor.h>
Public Member Functions | |
Impostor (GLfloat distance) | |
virtual | ~Impostor () |
void | draw () |
void | setTexture (Texture *texture) |
Public Member Functions inherited from LayerSceneGraph::SceneNode | |
SceneNode () | |
virtual | ~SceneNode () |
virtual void | onTouch () |
void | addChild (SceneNode *s) |
SceneNode * | removeChild () |
Matrix4 | getTransform () |
void | setTransform (Matrix4 m) |
Matrix4 | getWorldTransform () |
void | setWorldTransform (Matrix4 m) |
SceneNode * | getParent () |
Vector3 | getPosition () |
vector< SceneNode * > ::const_iterator | getChildteratorStart () |
vector< SceneNode * > ::const_iterator | getChildteratorEnd () |
Private Attributes | |
Mesh * | mesh |
Additional Inherited Members | |
Protected Attributes inherited from LayerSceneGraph::SceneNode | |
Matrix4 * | transform |
Matrix4 * | worldTransform |
SceneNode * | parent |
vector< SceneNode * > | children |
Vector3 | position |
LayerSceneGraph::Impostor::Impostor | ( | GLfloat | distance | ) |
|
virtual |
|
virtual |
*This method updates this node world matrix based on its parent world matrix. It is necessary for correct drawing.
Reimplemented from LayerSceneGraph::SceneNode.
void LayerSceneGraph::Impostor::setTexture | ( | Texture * | texture | ) |
|
private |