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::DtOsgToIndirectTextureConverter Class Reference

VRV maintains its own texture prototypes: DtIndirectImagePrototype. This utility class fills up a DtIndirectImagePrototype, given an osg::Image.

Public Member Functions

 DtOsgToIndirectTextureConverter (DtDe &de)
 
virtual ~DtOsgToIndirectTextureConverter ()
 
virtual void copy (DtIndirectTexturePrototype *vrvTexture, const osg::Texture *srcOsgTexture, uint32_t flags) const
 
virtual bool match (const DtIndirectTexturePrototype *vrvTexture, const osg::Texture *srcOsgTexture, uint32_t flags) const
 
virtual std::string textureFileName (const osg::Texture *srcOsgTexture, uint32_t flags) const
 

Protected Member Functions

bool isAcceleratedPair (const std::string &textureFileName, const std::string &imageFileName) const
 

Protected Attributes

DtDemyDe
 
DtIndirectLogmyIndirectLog
 
DtIndirectImagePrototypeManagermyIndirectImagePrototypeManager
 
DtIndirectDefaultTexturesContainermyDefaultTexturesContainer
 

Private Member Functions

 DtOsgToIndirectTextureConverter ()=delete
 
 DtOsgToIndirectTextureConverter (const DtOsgToIndirectTextureConverter &rhs)=delete
 
DtOsgToIndirectTextureConverteroperator= (const DtOsgToIndirectTextureConverter &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtOsgToIndirectTextureConverter::DtOsgToIndirectTextureConverter ( DtDe de)

constructor

virtual makVrv::DtOsgToIndirectTextureConverter::~DtOsgToIndirectTextureConverter ( )
virtual

destructor

makVrv::DtOsgToIndirectTextureConverter::DtOsgToIndirectTextureConverter ( )
privatedelete

not allowed

makVrv::DtOsgToIndirectTextureConverter::DtOsgToIndirectTextureConverter ( const DtOsgToIndirectTextureConverter rhs)
privatedelete

not allowed

Member Function Documentation

DtOsgToIndirectTextureConverter& makVrv::DtOsgToIndirectTextureConverter::operator= ( const DtOsgToIndirectTextureConverter rhs)
privatedelete

not allowed

virtual void makVrv::DtOsgToIndirectTextureConverter::copy ( DtIndirectTexturePrototype vrvTexture,
const osg::Texture *  srcOsgTexture,
uint32_t  flags 
) const
virtual

fill specs of vrvTexture, given an osg::Texture

virtual bool makVrv::DtOsgToIndirectTextureConverter::match ( const DtIndirectTexturePrototype vrvTexture,
const osg::Texture *  srcOsgTexture,
uint32_t  flags 
) const
virtual

check if all the properties of a vrvTexture match with the srcOsgTexture This is used by the DtIndirectTexturePrototypeManager to check if a given prototype matches a previous and possibly different osg::Texture

virtual std::string makVrv::DtOsgToIndirectTextureConverter::textureFileName ( const osg::Texture *  srcOsgTexture,
uint32_t  flags 
) const
virtual

texture file name of the srcOsgTexture

bool makVrv::DtOsgToIndirectTextureConverter::isAcceleratedPair ( const std::string &  textureFileName,
const std::string &  imageFileName 
) const
protected

whether the texture file name and image file name are an accelerated file pair (extensions will not match)

Member Data Documentation

DtDe& makVrv::DtOsgToIndirectTextureConverter::myDe
protected
DtIndirectLog& makVrv::DtOsgToIndirectTextureConverter::myIndirectLog
protected
DtIndirectImagePrototypeManager& makVrv::DtOsgToIndirectTextureConverter::myIndirectImagePrototypeManager
protected
DtIndirectDefaultTexturesContainer& makVrv::DtOsgToIndirectTextureConverter::myDefaultTexturesContainer
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)