Linderdaum Engine: clVisualGraph Class Reference
Updated: Mon May 14 2012 05:02:36
clVisualGraph Class Reference

#include <VisualGraph.h>

List of all members.

Public Member Functions

 clVisualGraph ()
virtual ~clVisualGraph ()
virtual void AddDebugGeometry (clScene *S)
 Add some debug geometry when entring the scene "OnSceneEnter".
virtual void RemoveDebugGeometry (clScene *S)
 Remove added debug geometry when entring the scene "OnSceneEnter".
virtual void RefreshDebugGeometry (clScene *S)
 TODO : move to VisualObject ?
virtual void UpdateTransform ()
 TODO : EulerAngleSystem to .NET export.
clGraphGetGraph () const
void SetGraph (clGraph *GG)
void SetMaterialName (const std::string &Name, clMaterial **MatPtr)
 Set the name of material.
std::string GetMaterialName (clMaterial *MatPtr) const
void SetBeadMaterialName (const std::string &Name)
void SetStickMaterialName (const std::string &Name)
void SetArrowMaterialName (const std::string &Name)
std::string GetBeadMaterialName () const
std::string GetStickMaterialName () const
std::string GetArrowMaterialName () const

Public Attributes

clGraphFGraph
float FBeadRadius
float FStickRadius
float FArrowSize
bool FUseCubes
clMaterialFBeadMaterial
clMaterialFStickMaterial
clMaterialFArrowMaterial

Private Member Functions

clGeomGetGraphGeometry ()
 Get current graph mesh.

Private Attributes

clGeomFGraphGeometry
 Internal container of graph mesh.
int FGraphGeomID
 The internal ID of graph debug geometry.

Detailed Description

Visual representation of a graph for debugging purposes.

Specific graphs may also be used in some logical items, like waypoint/accessibility maps


Constructor & Destructor Documentation

clVisualGraph::clVisualGraph ( )
clVisualGraph::~clVisualGraph ( ) [virtual]

Member Function Documentation

void clVisualGraph::AddDebugGeometry ( clScene S) [virtual]

Add some debug geometry when entring the scene "OnSceneEnter".

Reimplemented from clVisualObject.

std::string clVisualGraph::GetArrowMaterialName ( ) const [inline]
std::string clVisualGraph::GetBeadMaterialName ( ) const [inline]
clGraph* clVisualGraph::GetGraph ( ) const [inline]
clGeom * clVisualGraph::GetGraphGeometry ( ) [private]

Get current graph mesh.

std::string clVisualGraph::GetMaterialName ( clMaterial MatPtr) const
std::string clVisualGraph::GetStickMaterialName ( ) const [inline]
virtual void clVisualGraph::RefreshDebugGeometry ( clScene S) [inline, virtual]

TODO : move to VisualObject ?

do anything to rebuild current visual geometry

void clVisualGraph::RemoveDebugGeometry ( clScene S) [virtual]

Remove added debug geometry when entring the scene "OnSceneEnter".

Reimplemented from clVisualObject.

void clVisualGraph::SetArrowMaterialName ( const std::string &  Name) [inline]
void clVisualGraph::SetBeadMaterialName ( const std::string &  Name) [inline]
void clVisualGraph::SetGraph ( clGraph GG) [inline]
void clVisualGraph::SetMaterialName ( const std::string &  Name,
clMaterial **  MatPtr 
)

Set the name of material.

TODO : what to do with Value/ValueFileName pairs in serialization ? Write specific getters/setters, which resolve the conflits or something else ?

void clVisualGraph::SetStickMaterialName ( const std::string &  Name) [inline]
void clVisualGraph::UpdateTransform ( ) [virtual]

TODO : EulerAngleSystem to .NET export.

Called after something has changed in transformation

Reimplemented from clVisualRenderable.


Member Data Documentation

Internal container of graph mesh.

The internal ID of graph debug geometry.


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