VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
makVrv::DtTextureAtlasMapper Class Reference

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.

Inheritance diagram for makVrv::DtTextureAtlasMapper:
Inheritance graph
[legend]

Public Member Functions

 DtTextureAtlasMapper (DtDe &de)
 
virtual ~DtTextureAtlasMapper ()
 
virtual void configure (DtOsgArticulatedModel *osgArticulatedModel, const rapidjson::Value &jsonData)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Attributes

static const char * theTextureSkinningFeatureName
 
static const char * theTagAtlasFile
 
static const char * theTagColor
 
static const char * thePattern
 

Protected Attributes

DtDe & myDe
 
std::string myFeatureName
 
std::string myAtlasFile
 

Static Protected Attributes

static DtTextureAtlasIndexParser * theTextureAtlasIndexParser
 
static std::mutex theTextureAtlasIndexParserMutex
 

Private Member Functions

 DtTextureAtlasMapper ()
 
 DtTextureAtlasMapper (const DtTextureAtlasMapper &orig)
 
DtTextureAtlasMapper & operator= (const DtTextureAtlasMapper)
 

Constructor & Destructor Documentation

makVrv::DtTextureAtlasMapper::DtTextureAtlasMapper ( DtDe &  de)

CTOR.

virtual makVrv::DtTextureAtlasMapper::~DtTextureAtlasMapper ( )
virtual

DTOR.

makVrv::DtTextureAtlasMapper::DtTextureAtlasMapper ( )
private

Default CTOR (unimplemented)

makVrv::DtTextureAtlasMapper::DtTextureAtlasMapper ( const DtTextureAtlasMapper &  orig)
private

brief Copy CTOR (unimplemented)

Member Function Documentation

virtual void makVrv::DtTextureAtlasMapper::configure ( DtOsgArticulatedModel *  osgArticulatedModel,
const rapidjson::Value &  jsonData 
)
virtual

Configure node based on json data, modifies the UV offset of the osgArticulatedModel.

DtTextureAtlasMapper& makVrv::DtTextureAtlasMapper::operator= ( const DtTextureAtlasMapper  )
private

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

Strings to get the different parts of the meta file Use these instead of hardcoded strings.

const char* makVrv::DtTextureAtlasMapper::theTagColor
static

Strings to get the different parts of the meta file Use these instead of hardcoded strings.

const char* makVrv::DtTextureAtlasMapper::thePattern
static

Strings to get the different parts of the meta file Use these instead of hardcoded strings.

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.

DtTextureAtlasIndexParser* makVrv::DtTextureAtlasMapper::theTextureAtlasIndexParser
staticprotected
std::mutex makVrv::DtTextureAtlasMapper::theTextureAtlasIndexParserMutex
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)