The DtVisualMetaDataManager will use ead meta data files based on the given entity type, and, if the data exists, return a map of linkages and values that can be applied to those linkages to change aspects of the visual model associated with the entity type.
More...
Protected Member Functions |
| virtual std::vector< std::string > | orderFromSelection (const std::map< std::string, int > &, const DtRwNLengthStringVector &) const |
| | Given the list of potential items to select from, return an in order list of the items to select.
|
| virtual std::string | randomlySelect (const std::vector< std::string > &, double topPercentToChoose, double topRandomPrecent) const |
| | Given the ordered list return an randomly selected item.
|
| virtual std::string | weightedExponential (const std::vector< std::string > &) const |
| | Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));.
|
| virtual void * | loadMetaFile (const DtFilename &) const |
| | Returns the document for the given filename. User must close the document handle returned to prevent leak.
|
Detailed Description
The DtVisualMetaDataManager will use ead meta data files based on the given entity type, and, if the data exists, return a map of linkages and values that can be applied to those linkages to change aspects of the visual model associated with the entity type.
Member Typedef Documentation
Constructor & Destructor Documentation
| DtVisualMetaDataManager::DtVisualMetaDataManager |
( |
| ) |
|
| virtual DtVisualMetaDataManager::~DtVisualMetaDataManager |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual Markings DtVisualMetaDataManager::visualMetaDataFor |
( |
const DtFilename & |
metaDataFile | ) |
|
|
virtual |
| virtual void DtVisualMetaDataManager::clear |
( |
| ) |
|
|
virtual |
| virtual std::map<std::string, std::string> DtVisualMetaDataManager::markingsFromVisualMetaData |
( |
const DtFilename & |
metaDataFile, |
|
|
const DtRwVisualMetaData & |
|
|
) |
| |
|
virtual |
Given the variable data rules, return a map that contains the annoation and the value for that annotation to be set.
Returns the current instance.
If instance does not exist will create a new version of this class.
| virtual std::vector<std::string> DtVisualMetaDataManager::orderFromSelection |
( |
const std::map< std::string, int > & |
, |
|
|
const DtRwNLengthStringVector & |
|
|
) |
| const |
|
protectedvirtual |
Given the list of potential items to select from, return an in order list of the items to select.
| virtual std::string DtVisualMetaDataManager::randomlySelect |
( |
const std::vector< std::string > & |
, |
|
|
double |
topPercentToChoose, |
|
|
double |
topRandomPrecent |
|
) |
| const |
|
protectedvirtual |
Given the ordered list return an randomly selected item.
| virtual std::string DtVisualMetaDataManager::weightedExponential |
( |
const std::vector< std::string > & |
| ) |
const |
|
protectedvirtual |
Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));.
| virtual void* DtVisualMetaDataManager::loadMetaFile |
( |
const DtFilename & |
| ) |
const |
|
protectedvirtual |
Returns the document for the given filename. User must close the document handle returned to prevent leak.
Member Data Documentation
The documentation for this class was generated from the following file: