44 #ifndef __VIS_AGENT_H__
45 #define __VIS_AGENT_H__
81 virtual void drawGL(
bool select=
false );
98 inline void setPosition(
float x,
float y,
float z ) { _pos.set( x, y, z ); }
111 void getColor(
float & r,
float & g,
float & b );
125 #endif //__VIS_AGENT_H__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Agents::BaseAgent * _agent
The logical agent being visualized.
Definition: VisAgent.h:116
An abstact class – a generic, scene graph node.
Definition: GLNode.h:66
void setPosition(float x, float y, float z)
Set the 3D position of the visual agent.
Definition: VisAgent.h:98
Sets up the proper compiler directives for platform and dll export/import.
Agents::BaseAgent * getAgent()
Returns a Agents::BaseAgent pointer of the associated simulation agent.
Definition: VisAgent.h:89
The basic scene graph node. Any object which can be placed into the scene graph is an instance or sub...
Functionality to make nodes in the scene graph selectable by mouse clicking.
The basic agent visualization class: a selectable cylinder.
Definition: VisAgent.h:66
Vector3 _pos
The position in R3 of the logical agent.
Definition: VisAgent.h:121
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
The namespace that contains the basic simulation mechanisms.
The class interface for selectable objects – objects which can be selectedc in the OpenGL context by...
Definition: Select.h:59