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

Public Member Functions

 Item (glm::mat4 &model_matrix, std::vector< Mesh * > m, unsigned int pts)
 
virtual void update (float deltaT)
 
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 ()
 

Public Attributes

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 Item::update ( float  deltaTime)
virtual

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

Parameters
deltaTimetime passed since last update

Reimplemented from Geometry.

Reimplemented in Energy.


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