Public Member Functions | Public Attributes | List of all members
mvsim::World::TGUI_Options Struct Reference

Public Member Functions

void parse_from (const rapidxml::xml_node< char > &node)
 
 TGUI_Options ()=default
 

Public Attributes

double camera_distance = 80.0
 
std::string follow_vehicle
 
double force_scale = 0.01
 In meters/Newton. More...
 
double fov_deg = 60.0
 
bool ortho = false
 
const TParameterDefinitions params
 
int refresh_fps = 20
 
bool show_forces = false
 
bool start_maximized = true
 
unsigned int win_h = 600
 
unsigned int win_w = 800
 

Detailed Description

Definition at line 282 of file World.h.

Constructor & Destructor Documentation

mvsim::World::TGUI_Options::TGUI_Options ( )
default

Member Function Documentation

void World::TGUI_Options::parse_from ( const rapidxml::xml_node< char > &  node)

Definition at line 32 of file World_gui.cpp.

Member Data Documentation

double mvsim::World::TGUI_Options::camera_distance = 80.0

Definition at line 290 of file World.h.

std::string mvsim::World::TGUI_Options::follow_vehicle

Name of the vehicle to follow (empty=none)

Definition at line 293 of file World.h.

double mvsim::World::TGUI_Options::force_scale = 0.01

In meters/Newton.

Definition at line 289 of file World.h.

double mvsim::World::TGUI_Options::fov_deg = 60.0

Definition at line 291 of file World.h.

bool mvsim::World::TGUI_Options::ortho = false

Definition at line 287 of file World.h.

const TParameterDefinitions mvsim::World::TGUI_Options::params
Initial value:
= {
{"win_w", {"%u", &win_w}},
{"win_h", {"%u", &win_h}},
{"ortho", {"%bool", &ortho}},
{"show_forces", {"%bool", &show_forces}},
{"force_scale", {"%lf", &force_scale}},
{"fov_deg", {"%lf", &fov_deg}},
{"follow_vehicle", {"%s", &follow_vehicle}},
{"start_maximized", {"%bool", &start_maximized}},
{"refresh_fps", {"%i", &refresh_fps}},
}

Definition at line 295 of file World.h.

int mvsim::World::TGUI_Options::refresh_fps = 20

Definition at line 286 of file World.h.

bool mvsim::World::TGUI_Options::show_forces = false

Definition at line 288 of file World.h.

bool mvsim::World::TGUI_Options::start_maximized = true

Definition at line 285 of file World.h.

unsigned int mvsim::World::TGUI_Options::win_h = 600

Definition at line 284 of file World.h.

unsigned int mvsim::World::TGUI_Options::win_w = 800

Definition at line 284 of file World.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52