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

#include <Renderable.h>

Inheritance diagram for Renderable:
Gizmo MeshInstance

Public Member Functions

virtual void render (Shader *shader)=0
 
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

Interface for 3-dimensional objects that have a visual representation in the scene.

See Also
MeshInstance

Member Function Documentation

bool Renderable::canBeCut ( )

Returns the canBeCut property. If the canBeCut property is enabled, the object can be cut out of the seen by selected objects that it occludes.

bool Renderable::canCut ( )

Returns the canCut property. If the canCut property is enabled, the object will exhibit the adaptive cutaway effect once selected.

void Renderable::deselect ( )
virtual

Called by the application if the object is deselected by the user

Reimplemented in MeshInstance.

float Renderable::getLocalAngle ( )

Returns the object-specific angle of the object's cutaway shape.

virtual void Renderable::render ( Shader shader)
pure virtual

Draws the objects into the scene.

Implemented in MeshInstance, and Gizmo.

void Renderable::select ( )
virtual

Called by the application if the object is selected by the user

Reimplemented in MeshInstance.

void Renderable::setCanBeCut ( bool  c)

Sets the canBeCut property. If the canBeCut property is enabled, the object can be cut out of the seen by selected objects that it occludes.

void Renderable::setCanCut ( bool  c)

Sets the canCut property. If the canCut property is enabled, the object will exhibit the adaptive cutaway effect once selected.

void Renderable::setLocalAngle ( float  angle)

Sets the object-specific angle of the object's cutaway shape.


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