![]() |
VR-Forces 4.1.1 Class Documentation
|
DtKeepOriginalFileNameVisitor will store the original file name of the proxy node. More...

Public Member Functions | |
| DtKeepOriginalFilenamesVisitor (const std::string &rootFilePath="", DtFileCache *aFileCache=0, bool addOriginalName=true) | |
| CTOR If the file cache is provided it will rename all proxy nodes to use their cached name. | |
| ~DtKeepOriginalFilenamesVisitor () | |
| virtual void | apply (osg::ProxyNode &node) |
| Traverse proxy nodes. | |
Static Public Member Functions | |
| static bool | getOriginalFilenameFromDescription (const std::string &strIn, std::string &strOut) |
| Returns true, if strIn is a custom string that might have been written into a description list by this visitor. | |
Protected Attributes | |
| std::string | myRootFilePath |
| DtFileCache * | myFileCache |
| bool | myAddOriginalName |
DtKeepOriginalFileNameVisitor will store the original file name of the proxy node.
It will add a custom field to the description list containing the original file name.
| makVrv::DtKeepOriginalFilenamesVisitor::DtKeepOriginalFilenamesVisitor | ( | const std::string & | rootFilePath = "", |
| DtFileCache * | aFileCache = 0, |
||
| bool | addOriginalName = true |
||
| ) |
CTOR If the file cache is provided it will rename all proxy nodes to use their cached name.
| makVrv::DtKeepOriginalFilenamesVisitor::~DtKeepOriginalFilenamesVisitor | ( | ) |
|
virtual |
Traverse proxy nodes.
|
static |
Returns true, if strIn is a custom string that might have been written into a description list by this visitor.
If the return value is true, the strOut contains the original file name without the custom marking.
|
protected |
|
protected |
|
protected |