DtLightPointManager core base class for DtOsgLightPointManger (which does most of the work for light points) this class handles the light point group creation and current state along with distribution of state changest to the slave RDE's.
More...
Public Member Functions |
| | DtLightPointManager (DtDe &de) |
| | Light point manager contructor used by instance() call to setup the singleton instance.
|
| virtual DtColorValue | groupColor (const std::string &group) |
| | Get the current value of the group color for the specified group string.
|
| virtual int | groupId (const std::string &group) |
| | get the groupId assigned to the specified group string used by the light point nodes and light point groups to associate a node or type to a group in the shader.
|
| virtual DtLightPointTable & | lightsTable () |
| | get the lights table which contains all the light point type settings.
|
| void | setGroupColor (const std::string &group, float colorR, float colorG, float colorB, float colorA) |
| | Set the current value of the group color for the specified group string should only be called on a master display engine and distributes the color to the slaves.
|
| virtual void | setGroupColor (const std::string &group, const DtColorValue &color) |
| | Set the current value of the group color for the specified group string should only be called on a master display engine and distributes the color to the slaves.
|
| virtual const GroupIdMap & | groupIdMap () |
| | Get the current groupIdMap.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|
Detailed Description
DtLightPointManager core base class for DtOsgLightPointManger (which does most of the work for light points) this class handles the light point group creation and current state along with distribution of state changest to the slave RDE's.
Member Typedef Documentation
Constructor & Destructor Documentation
| makVrv::DtLightPointManager::DtLightPointManager |
( |
DtDe & |
de | ) |
|
Light point manager contructor used by instance() call to setup the singleton instance.
| virtual makVrv::DtLightPointManager::~DtLightPointManager |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
| static const std::string& makVrv::DtLightPointManager::theClassName |
( |
| ) |
|
|
static |
Get the name used to register this class.
| static float makVrv::DtLightPointManager::defaultLightPointRange |
( |
| ) |
|
|
static |
default light point range for when the light point should disappear
| virtual DtColorValue makVrv::DtLightPointManager::groupColor |
( |
const std::string & |
group | ) |
|
|
virtual |
Get the current value of the group color for the specified group string.
| virtual int makVrv::DtLightPointManager::groupId |
( |
const std::string & |
group | ) |
|
|
virtual |
get the groupId assigned to the specified group string used by the light point nodes and light point groups to associate a node or type to a group in the shader.
These groups are controlled using the setGroupColor by passing the same string.
get the lights table which contains all the light point type settings.
| void makVrv::DtLightPointManager::setGroupColor |
( |
const std::string & |
group, |
|
|
float |
colorR, |
|
|
float |
colorG, |
|
|
float |
colorB, |
|
|
float |
colorA |
|
) |
| |
Set the current value of the group color for the specified group string should only be called on a master display engine and distributes the color to the slaves.
| virtual void makVrv::DtLightPointManager::setGroupColor |
( |
const std::string & |
group, |
|
|
const DtColorValue & |
color |
|
) |
| |
|
virtual |
Set the current value of the group color for the specified group string should only be called on a master display engine and distributes the color to the slaves.
| virtual const GroupIdMap& makVrv::DtLightPointManager::groupIdMap |
( |
| ) |
|
|
virtual |
Get the current groupIdMap.
| void makVrv::DtLightPointManager::local_setGroupColor |
( |
const std::string & |
group, |
|
|
const DtColorValue & |
color |
|
) |
| |
|
protected |
Set the current value of the group color for the specified group string called indirectly by setGroupColor and is used by the DtDeSharedState to modify the color for a group.
Friends And Related Function Documentation
Member Data Documentation
| DtDe& makVrv::DtLightPointManager::myDe |
|
protected |
| GroupIdMap makVrv::DtLightPointManager::myGroupIds |
|
protected |
| const std::string makVrv::DtLightPointManager::theLightFilename |
|
staticprotected |
| const std::string makVrv::DtLightPointManager::theLightTunningFilename |
|
staticprotected |
| const std::string makVrv::DtLightPointManager::theLightDefaultValuesXmlFilename |
|
staticprotected |
| const std::string makVrv::DtLightPointManager::theLightDefaultValuesCsvFilename |
|
staticprotected |
The documentation for this class was generated from the following file: