Flow Visualisation
|
Represents a 3D Object in OpenGL. More...
#include <Geometry.h>
Public Member Functions | |
Geometry (objects::VertexGeometry *vertexGeoemetry) | |
Transparency Setting. More... | |
~Geometry () | |
Texture * | get_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 | |
ISceneGraphPart * | m_parent |
std::vector< ISceneGraphPart * > | m_children |
parent element in the scene graph More... | |
Represents a 3D Object in OpenGL.
Geometry::Geometry | ( | objects::VertexGeometry * | vertexGeoemetry | ) |
Transparency Setting.
Geometry::~Geometry | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Renders the current object.
context | object to save current state of rendering Uses active Shader and Camera and renders object |
Implements render::ISceneGraphPart.
|
inline |
|
inline |
|
inline |