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 Member Functions | Protected Attributes | Private Member Functions
makVrv::DtTexturesRemapper Class Reference

Like the DtTextureAtlasMapper, this class operates on appearance changes Right now, it operates on the camouflage bit changes in the entity appearance set from vrf It first registers all the texture variants (if it is the first time coming through here), if possible Then, for the incoming variant, it will ask the articulated model instance to change it's texture variant.

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

Public Member Functions

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

Static Public Attributes

static const chartheFeatureName
 

Protected Member Functions

virtual void fillVariantNames (std::vector< std::string > &modelTextureVariants, const rapidjson::Value &jsonData, bool skipNull)
 
virtual bool isNull (const std::string &variant)
 

Protected Attributes

std::string myFeatureName
 
std::string myAtlasFile
 
DtDemyDe
 

Private Member Functions

 DtTexturesRemapper ()=delete
 
 DtTexturesRemapper (const DtTexturesRemapper &orig)=delete
 
DtTexturesRemapperoperator= (const DtTexturesRemapper)=delete
 

Constructor & Destructor Documentation

makVrv::DtTexturesRemapper::DtTexturesRemapper ( DtDe de)

CTOR.

virtual makVrv::DtTexturesRemapper::~DtTexturesRemapper ( )
virtual

DTOR.

makVrv::DtTexturesRemapper::DtTexturesRemapper ( )
privatedelete

not allowed

makVrv::DtTexturesRemapper::DtTexturesRemapper ( const DtTexturesRemapper orig)
privatedelete

not allowed

Member Function Documentation

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

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

DtTexturesRemapper& makVrv::DtTexturesRemapper::operator= ( const DtTexturesRemapper  )
privatedelete

not allowed

virtual void makVrv::DtTexturesRemapper::fillVariantNames ( std::vector< std::string > &  modelTextureVariants,
const rapidjson::Value &  jsonData,
bool  skipNull 
)
protectedvirtual

get names of all variants in the meta file for the entity

virtual bool makVrv::DtTexturesRemapper::isNull ( const std::string &  variant)
protectedvirtual

whether represents a non-variant (ie original model)

Member Data Documentation

const char* makVrv::DtTexturesRemapper::theFeatureName
static

Strings to get the different parts of the meta file.

std::string makVrv::DtTexturesRemapper::myFeatureName
protected

The name of the feature in the .meta file.

std::string makVrv::DtTexturesRemapper::myAtlasFile
protected

The path to the atlas file in the .meta file.

DtDe& makVrv::DtTexturesRemapper::myDe
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)