#include <SIG_EnvironmentRenderer.h>
Inheritance diagram for SIGEL_Visualisation::SIG_EnvironmentRenderer:
Public Methods | |
SIG_EnvironmentRenderer (SIGEL_Environment::SIG_Environment const &environment) | |
The constructor of the SIG_EnvironmentRenderer. More... | |
~SIG_EnvironmentRenderer () | |
The destructor of the SIG_EnvironmentRenderer. More... | |
void | render () |
Calls the inherited method renderSceneObjects and does additional rendering like drawing the main plane which is the main component of every SIG_Environment. More... | |
QString | exportToPovray () |
QString | createPovrayDeclarations () |
void | setLookPoint ( DL_vector newPosition ) |
void | setRenderMode ( SIG_ViewSettings::renderModeType newRenderMode ) |
void | setPlaneColor ( double red, double green, double blue ) |
void | setShowPlane ( bool newShowPlane ) |
void | setShowGrid ( bool newShowGrid ) |
void | setShowRobotPath ( bool newShowRobotPath ) |
void | addRobotPathPoint ( DL_vector newPoint ) |
Private Methods | |
void | buildDisplayLists () |
Reads the environment attribute and uses its properties like geometry of objects to build display lists. More... | |
void | buildPlane (GLuint number) |
Builds the display list to render the plane that is part of every SIGEL_Environment::SIG_Environment. More... | |
void | buildGrid (GLuint number) |
void | renderRobotPath () |
Private Attributes | |
SIGEL_Environment::SIG_Environment const& | environment |
The SIG_Environment object that should be rendered by this SIG_EnvironmentRenderer. More... | |
GLint const | fieldEdgeLength |
DL_vector | lookPoint |
SIG_ViewSettings::renderModeType | renderMode |
bool | showPlane |
bool | showGrid |
bool | showRobotPath |
QList< DL_vector > | robotPathPoints |
Definition at line 17 of file SIG_EnvironmentRenderer.h.
|
The constructor of the SIG_EnvironmentRenderer. It reads the supplied SIG_Environment, fills the inherited QVector sceneObjects and calls the method buildDisplayLists.
Definition at line 12 of file SIG_EnvironmentRenderer.cpp. |
|
The destructor of the SIG_EnvironmentRenderer. It cleans up the OpenGL stuff like the display lists. Definition at line 47 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 325 of file SIG_EnvironmentRenderer.cpp. |
|
Reads the environment attribute and uses its properties like geometry of objects to build display lists.
Reimplemented from SIGEL_Visualisation::SIG_Renderer. Definition at line 59 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 98 of file SIG_EnvironmentRenderer.cpp. |
|
Builds the display list to render the plane that is part of every SIGEL_Environment::SIG_Environment.
Definition at line 69 of file SIG_EnvironmentRenderer.cpp. |
|
Reimplemented from SIGEL_Visualisation::SIG_Renderer. Definition at line 225 of file SIG_EnvironmentRenderer.cpp. |
|
Reimplemented from SIGEL_Visualisation::SIG_Renderer. Definition at line 172 of file SIG_EnvironmentRenderer.cpp. |
|
Calls the inherited method renderSceneObjects and does additional rendering like drawing the main plane which is the main component of every SIG_Environment.
Reimplemented from SIGEL_Visualisation::SIG_Renderer. Definition at line 153 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 130 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 294 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 50 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 299 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 313 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 306 of file SIG_EnvironmentRenderer.cpp. |
|
Definition at line 320 of file SIG_EnvironmentRenderer.cpp. |
|
The SIG_Environment object that should be rendered by this SIG_EnvironmentRenderer.
Definition at line 92 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 94 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 96 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 98 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 106 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 102 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 100 of file SIG_EnvironmentRenderer.h. |
|
Definition at line 104 of file SIG_EnvironmentRenderer.h. |