44 #ifndef __VIEW_CONFIG_H__
45 #define __VIEW_CONFIG_H__
225 bool readXML(
const std::string & fileName );
246 void setCameras( std::vector< SceneGraph::GLCamera > & cameras )
const;
262 void setLights( std::vector< SceneGraph::GLLight > & lights )
const;
321 #endif // __VIEW_CONFIG_H__
Watermark * _waterMark
The optional watermark.
Definition: ViewConfig.h:287
float _g
The green channel of the light's diffuse color.
Definition: ViewConfig.h:161
float _r
The red channel of the light's diffuse color.
Definition: ViewConfig.h:156
float _posX
Camera x-position in world space.
Definition: ViewConfig.h:82
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
CamEnum
Determines the projection matrix of the 3D camera.
Definition: GLCamera.h:62
Logger & operator<<(Logger &out, const BFSM::PropertyOperand op)
Friend function for printing string versions of the PropertyOperand enum.
Definition: FSMEnumeration.cpp:43
A simple light for defining OpenGL lighting properties.
Sets up the proper compiler directives for platform and dll export/import.
float _nearPlane
Distance to camera's near plane.
Definition: ViewConfig.h:117
A set of parameters specifying a single camera.
Definition: ViewConfig.h:64
float _posY
Camera y-position in world space.
Definition: ViewConfig.h:87
SceneGraph::GLLight::LightSpace _space
The space in which the light lives.
Definition: ViewConfig.h:197
A set of parameters specifying a single light.
Definition: ViewConfig.h:142
The namespace containing visualization functionality for the pedestrian simulation.
Definition: GLViewer.h:64
int _height
Height of viewport (in pixels).
Definition: ViewConfig.h:277
float _w
The w-value of the light position. Determines if the light Is a point or directional light...
Definition: ViewConfig.h:192
float _tgtZ
Camera's target z-position in world space.
Definition: ViewConfig.h:107
float _z
The z-value of the light position.
Definition: ViewConfig.h:186
An html logger - writes messages to a formatted html file.
Definition: Logger.h:59
SceneGraph::GLCamera::CamEnum _projType
The camera's projection type (perspective or orthographic).
Definition: ViewConfig.h:134
LightSpace
Defines the space of the camera: world or camera.
Definition: GLLight.h:66
LightParam()
Default constructor.
Definition: ViewConfig.h:147
float _tgtX
Camera's target x-position in world space.
Definition: ViewConfig.h:97
The OpenGL light class. Defines a light for the basic OpenGL pipeline.
Definition: GLLight.h:58
float _x
The x-value of the light position.
Definition: ViewConfig.h:176
The specificaiton of a message logger for menge, such that all messages to the system get properly re...
std::string _fontName
Font name.
Definition: ViewConfig.h:292
float _tgtY
Camera's target y-position in world space.
Definition: ViewConfig.h:102
CameraParam()
Default constructor.
Definition: ViewConfig.h:69
float _orthoScale
The "scale" factor applid to the camera in orthographic view.
Definition: ViewConfig.h:122
float _farPlane
Distance to camera's far plane.
Definition: ViewConfig.h:112
The class for controlling the view camera: it's position, orientation field of view, projection matrix, etc.
Definition: GLCamera.h:57
float _b
The blue channel of the light's diffuse color.
Definition: ViewConfig.h:166
std::string _viewFldr
The folder the view configuration file is located in.
Definition: ViewConfig.h:267
The specification of an OpenGL GLViewer for a scene.
Definition: ViewConfig.h:207
A class for handling the watermark functionality.
Definition: Watermark.h:74
std::vector< LightParam > _lightSpecs
The set of cameras for the configuration.
Definition: ViewConfig.h:307
std::vector< CameraParam > _camSpecs
The set of cameras for the configuration.
Definition: ViewConfig.h:302
float _y
The y-value of the light position.
Definition: ViewConfig.h:181
int _width
Width of viewport (in pixels).
Definition: ViewConfig.h:272
float _posZ
Camera z-position in world space.
Definition: ViewConfig.h:92
Class to handle camera transformations in OpenGL.
float _fov
The camera's horizontal field of view (in degrees).
Definition: ViewConfig.h:127
std::string _bgImg
The name of the background image to use.
Definition: ViewConfig.h:282
float _a
The alpha channel of the lights' diffuse color.
Definition: ViewConfig.h:171