Flow Visualisation
render::Geometry Class Reference

Represents a 3D Object in OpenGL. More...

#include <Geometry.h>

Inheritance diagram for render::Geometry:
Collaboration diagram for render::Geometry:

Public Member Functions

 Geometry (objects::VertexGeometry *vertexGeoemetry)
 Transparency Setting. More...
 
 ~Geometry ()
 
Textureget_texture ()
 
void set_texture (Texture *texture)
 
int get_vertexCount ()
 
int get_indexCount ()
 
virtual void render (SceneContext *context)
 Renders the current object. More...
 
glm::mat4 get_modelMatrix ()
 
void set_modelMatrix (glm::mat4 modelMatrix)
 
float get_transparency ()
 
void set_transparency (float transparency)
 
- Public Member Functions inherited from render::ISceneGraphPart
 ISceneGraphPart ()
 child elements in the scene graph More...
 
void addChild (ISceneGraphPart *child)
 adds child to this element in the scenegraph More...
 
void removeChild (ISceneGraphPart *child)
 removes child from the scenegraph More...
 
virtual ~ISceneGraphPart ()
 

Additional Inherited Members

- Protected Attributes inherited from render::ISceneGraphPart
ISceneGraphPartm_parent
 
std::vector< ISceneGraphPart * > m_children
 parent element in the scene graph More...
 

Detailed Description

Represents a 3D Object in OpenGL.

Constructor & Destructor Documentation

Geometry::Geometry ( objects::VertexGeometry vertexGeoemetry)

Transparency Setting.

Geometry::~Geometry ( )

Member Function Documentation

int render::Geometry::get_indexCount ( )
inline
glm::mat4 render::Geometry::get_modelMatrix ( )
inline
Texture* render::Geometry::get_texture ( )
inline
float render::Geometry::get_transparency ( )
inline
int render::Geometry::get_vertexCount ( )
inline
void Geometry::render ( SceneContext context)
virtual

Renders the current object.

Parameters
contextobject to save current state of rendering Uses active Shader and Camera and renders object

Implements render::ISceneGraphPart.

void render::Geometry::set_modelMatrix ( glm::mat4  modelMatrix)
inline
void render::Geometry::set_texture ( Texture texture)
inline
void render::Geometry::set_transparency ( float  transparency)
inline

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