Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
Gizmo Class Reference

#include <Gizmo.h>

Inheritance diagram for Gizmo:
Renderable

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 ()
 

Detailed Description

Draws a handle on top of an object that allows the user to manipulate its position and scale.

See Also
SubGizmo

Member Function Documentation

void Gizmo::render ( Shader shader)
virtual

Renders its subcomponents

See Also
SubGizmo

Implements Renderable.

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


The documentation for this class was generated from the following files: