The DtTextureAtlasMapper class is responsible calculating and setting the UV offets of a texture atlas based on the "COLOUR" and "COLPAT" tags of a model definition.
More...
Protected Attributes |
| DtDe & | myDe |
| std::string | myFeatureName |
| | The name of the feature in the .meta file.
|
| std::string | myAtlasFile |
| | The path to the atlas file in the .meta file.
|
Detailed Description
The DtTextureAtlasMapper class is responsible calculating and setting the UV offets of a texture atlas based on the "COLOUR" and "COLPAT" tags of a model definition.
Constructor & Destructor Documentation
| makVrv::DtTextureAtlasMapper::DtTextureAtlasMapper |
( |
DtDe & |
de | ) |
|
| virtual makVrv::DtTextureAtlasMapper::~DtTextureAtlasMapper |
( |
| ) |
|
|
virtual |
| makVrv::DtTextureAtlasMapper::DtTextureAtlasMapper |
( |
| ) |
|
|
private |
Default CTOR (unimplemented)
brief Copy CTOR (unimplemented)
Member Function Documentation
| virtual void makVrv::DtTextureAtlasMapper::configure |
( |
osg::Node * |
n, |
|
|
DtOsgArticulatedModel * |
osgArticulatedModel, |
|
|
const std::string & |
modelDefName, |
|
|
const rapidjson::Value & |
jsonData |
|
) |
| |
|
virtual |
Configure node based on json data, modifies the UV offset of the osgArticulatedModel.
| bool makVrv::DtTextureAtlasMapper::readModelDefParam |
( |
DtModelDefinition & |
modelDef, |
|
|
const std::string & |
paramName, |
|
|
std::string & |
resultOut |
|
) |
| |
|
protected |
Utility method for reading model definition parameter.
brief Assignment operator (unimplemented)
Member Data Documentation
| const char* makVrv::DtTextureAtlasMapper::theTextureSkinningFeatureName |
|
static |
Strings to get the different parts of the meta file Use these instead of hardcoded strings.
| const char* makVrv::DtTextureAtlasMapper::theTagAtlasFile |
|
static |
| const char* makVrv::DtTextureAtlasMapper::theTagColor |
|
static |
| const char* makVrv::DtTextureAtlasMapper::thePattern |
|
static |
| DtDe& makVrv::DtTextureAtlasMapper::myDe |
|
protected |
| std::string makVrv::DtTextureAtlasMapper::myFeatureName |
|
protected |
The name of the feature in the .meta file.
| std::string makVrv::DtTextureAtlasMapper::myAtlasFile |
|
protected |
The path to the atlas file in the .meta file.
The documentation for this class was generated from the following file: