Flow Visualisation
render::ISceneGraphPart Class Referenceabstract

Represents part of the SceneGraph. More...

#include <ISceneGraphPart.h>

Inheritance diagram for render::ISceneGraphPart:
Collaboration diagram for render::ISceneGraphPart:

Public Member Functions

 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 void render (SceneContext *context)=0
 renders the current elment and all children in the SceneGraph More...
 
virtual ~ISceneGraphPart ()
 

Protected Attributes

ISceneGraphPartm_parent
 
std::vector< ISceneGraphPart * > m_children
 parent element in the scene graph More...
 

Detailed Description

Represents part of the SceneGraph.

Constructor & Destructor Documentation

render::ISceneGraphPart::ISceneGraphPart ( )
inline

child elements in the scene graph

virtual render::ISceneGraphPart::~ISceneGraphPart ( )
inlinevirtual

Member Function Documentation

void ISceneGraphPart::addChild ( ISceneGraphPart child)

adds child to this element in the scenegraph

void ISceneGraphPart::removeChild ( ISceneGraphPart child)

removes child from the scenegraph

virtual void render::ISceneGraphPart::render ( SceneContext context)
pure virtual

renders the current elment and all children in the SceneGraph

Parameters
contextobject to save current state of rendering

Implemented in render::Shader, render::Geometry, and render::Camera.

Member Data Documentation

std::vector<ISceneGraphPart*> render::ISceneGraphPart::m_children
protected

parent element in the scene graph

ISceneGraphPart* render::ISceneGraphPart::m_parent
protected

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