VisPro  1.0
Project of Visualisierung 2
Energy Class Reference
Inheritance diagram for Energy:
Item Geometry SceneObject

Public Member Functions

 Energy (glm::mat4 &model_matrix, std::vector< Mesh * > m, unsigned int pts)
 
virtual void update (float delta_t)
 
- Public Member Functions inherited from Item
 Item (glm::mat4 &model_matrix, std::vector< Mesh * > m, unsigned int pts)
 
void setSlope (glm::vec3 &g)
 
- Public Member Functions inherited from Geometry
 Geometry (glm::mat4 &model_matrix, std::vector< Mesh * > m)
 
int draw (const CutawaySurface *c, ViewFrustum &frust, glm::mat4 &vp, glm::vec3 cam, bool useViewFrustumCulling, float clip)
 
void draw ()
 
virtual void addChild (Geometry *g)
 
virtual void setShader (Shader *shader)
 
virtual void transformModelMatrix (glm::mat4 &transform)
 
virtual void init (std::vector< std::shared_ptr< PointLight >> *allLights, glm::vec2 dim)
 
virtual void setViewProj (glm::mat4 &vpm)
 
virtual void setCameraLoc (glm::vec3 loc)
 
virtual void renderToZBuffer (ZBufferShader *z, glm::mat4 &vp)
 
- Public Member Functions inherited from SceneObject
 SceneObject (glm::mat4 &model_matrix)
 
glm::vec3 location ()
 

Additional Inherited Members

- Public Attributes inherited from Item
unsigned int points
 
- Public Attributes inherited from Geometry
std::vector< Mesh * > meshes
 
std::vector< glm::vec3 > relativeMeshPositions
 
int faceCount =0
 
- Public Attributes inherited from SceneObject
glm::mat4 model_matrix
 

Member Function Documentation

void Energy::update ( float  deltaTime)
virtual

Update contained geometry (collection of meshes) according to time passed.

Parameters
deltaTimetime passed since last update

Reimplemented from Item.


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