![]() |
An open-source, flexible 3D physical simulation framework
|
LightData is a struct to exchange light information between the Dialog_Add_Light, the MainWindow and the osg widget. More...
#include <LightData.h>
Public Member Functions | |
bool | fromConfigMap (configmaps::ConfigMap *config, std::string filenamePrefix, LoadCenter *loadCenter=0) |
void | toConfigMap (configmaps::ConfigMap *config, bool skipFilenamePrefix=false) |
void | getFilesToSave (std::vector< std::string > *fileList) |
Public Attributes | |
unsigned int | index |
std::string | name |
utils::Vector | pos |
utils::Vector | lookAt |
utils::Color | ambient |
utils::Color | diffuse |
utils::Color | specular |
double | constantAttenuation |
double | linearAttenuation |
double | quadraticAttenuation |
int | type |
double | angle |
double | exponent |
bool | directional |
std::string | node |
unsigned long | drawID |
configmaps::ConfigMap | map |
LightData is a struct to exchange light information between the Dialog_Add_Light, the MainWindow and the osg widget.
Definition at line 40 of file LightData.h.
bool mars::interfaces::LightData::fromConfigMap | ( | configmaps::ConfigMap * | config, |
std::string | filenamePrefix, | ||
LoadCenter * | loadCenter = 0 |
||
) |
Definition at line 45 of file LightData.cpp.
void mars::interfaces::LightData::getFilesToSave | ( | std::vector< std::string > * | fileList | ) |
Definition at line 105 of file LightData.cpp.
void mars::interfaces::LightData::toConfigMap | ( | configmaps::ConfigMap * | config, |
bool | skipFilenamePrefix = false |
||
) |
Definition at line 73 of file LightData.cpp.
utils::Color mars::interfaces::LightData::ambient |
Definition at line 52 of file LightData.h.
double mars::interfaces::LightData::angle |
Definition at line 59 of file LightData.h.
double mars::interfaces::LightData::constantAttenuation |
Definition at line 55 of file LightData.h.
utils::Color mars::interfaces::LightData::diffuse |
Definition at line 53 of file LightData.h.
bool mars::interfaces::LightData::directional |
Definition at line 61 of file LightData.h.
unsigned long mars::interfaces::LightData::drawID |
Definition at line 63 of file LightData.h.
double mars::interfaces::LightData::exponent |
Definition at line 60 of file LightData.h.
unsigned int mars::interfaces::LightData::index |
Definition at line 48 of file LightData.h.
double mars::interfaces::LightData::linearAttenuation |
Definition at line 56 of file LightData.h.
utils::Vector mars::interfaces::LightData::lookAt |
Definition at line 51 of file LightData.h.
configmaps::ConfigMap mars::interfaces::LightData::map |
Definition at line 64 of file LightData.h.
std::string mars::interfaces::LightData::name |
Definition at line 49 of file LightData.h.
std::string mars::interfaces::LightData::node |
Definition at line 62 of file LightData.h.
utils::Vector mars::interfaces::LightData::pos |
Definition at line 50 of file LightData.h.
double mars::interfaces::LightData::quadraticAttenuation |
Definition at line 57 of file LightData.h.
utils::Color mars::interfaces::LightData::specular |
Definition at line 54 of file LightData.h.
int mars::interfaces::LightData::type |
Definition at line 58 of file LightData.h.