46 virtual bool addLight(
DtLightPointType *lightPointType,
const std::string& codeStr);
58 virtual void loadLightTableFromXML(
const std::string& fileName);
66 virtual void saveDefaultLightValuesToCSV(
const std::string&
filename);
73 virtual void loadDefaultLightValuesFromCSV(
const std::string& filename);
77 virtual void loadDefaultLightValuesFromXML(
const std::string& fileName);
83 virtual void loadTunningLightValuesFromXML(
const std::string& fileName);
86 virtual bool isDirty();
92 virtual int maxCode();
95 virtual void updateLightPointTypeMap();
103 virtual void loadLightTypeFromXML(
xmlNodePtr lightTypeNode,
const std::string* parentType);
106 bool compareXmlString(
const xmlChar *xmlStr,
const char* compareStr);
std::map< const std::string, unsigned int > StringIntMap
Definition: DtLightPointTable.h:128
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
std::pair< unsigned int, DtLightPointType * > IntLightPointTypePair
Definition: DtLightPointTable.h:114
StringIntMap myHierarchyToCodeTable
Definition: DtLightPointTable.h:130
std::map< unsigned int, DtLightPointType * > IntLightPointTypeMap
Definition: DtLightPointTable.h:113
bool myDirtyFlag
Definition: DtLightPointTable.h:124
struct _xmlNode xmlNode
Definition: DtLightPointTable.h:18
std::pair< DtLightPointType, unsigned int > LightPointTypeIntPair
Definition: DtLightPointTable.h:111
Contains DLL export macros.
Lights Table class, handles loading the light type table default files and keeping track of all the c...
Definition: DtLightPointTable.h:33
std::pair< const std::string, unsigned int > StringIntPair
Definition: DtLightPointTable.h:129
xmlNode * xmlNodePtr
Definition: DtLightPointTable.h:19
int myMaxCode
Definition: DtLightPointTable.h:125
unsigned char xmlChar
Definition: DtLightPointTable.h:20
IntLightPointTypeMap myLightsTable
Table of CDB Lights loaded from Light.xml (and complete by either the Light_xxx.xml Tunning file or L...
Definition: DtLightPointTable.h:118
LightPointTypeIntMap myLightPointTypes
used when creating additional custom types that are not in the tables that are saved on disk ...
Definition: DtLightPointTable.h:122
Light point information class, Used to represent a Light Point Type in the light point table with all...
Definition: DtLightPointType.h:22
std::map< DtLightPointType, unsigned int > LightPointTypeIntMap
Definition: DtLightPointTable.h:110