Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
|
#include <Gizmo.h>
Public Member Functions | |
Gizmo (Scene *scene) | |
void | setTarget (SceneNode *target) |
void | render (Shader *shader) |
void | update () |
void | setVisible (bool visible) |
bool | isVisible () |
void | stopEdit () |
Public Member Functions inherited from Renderable | |
virtual void | select () |
virtual void | deselect () |
void | setCanBeCut (bool c) |
bool | canBeCut () |
void | setCanCut (bool c) |
bool | canCut () |
void | setLocalAngle (float angle) |
float | getLocalAngle () |
Draws a handle on top of an object that allows the user to manipulate its position and scale.
|
virtual |
void Gizmo::setTarget | ( | SceneNode * | target) |
Sets the scene node, whose properties the user wants to edit.
void Gizmo::stopEdit | ( | ) |
Finished any editing operation in process
void Gizmo::update | ( | ) |
Should be called every frame