VR-Forces 5.0.1 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
makVrv::DtIndirectVerticesHelper Class Reference

utility class to copy src geometry into interleaved vertex format used by bindless

Public Member Functions

 DtIndirectVerticesHelper (DtDe &de)
 
virtual ~DtIndirectVerticesHelper ()
 
 DtIndirectVerticesHelper (const DtIndirectVerticesHelper &)=delete
 
DtIndirectVerticesHelperoperator= (const DtIndirectVerticesHelper &)=delete
 
virtual void copyVertices (std::vector< DtIndirectBindlessVertexFormat > &destinationVertices, const osg::Geometry &srcGeometry, const osg::Matrix &transform) const
 
virtual void copyNormals (std::vector< DtIndirectBindlessVertexFormat > &destinationVertices, const osg::Geometry &srcGeometry) const
 
virtual void copyColors (std::vector< DtIndirectBindlessVertexFormat > &destinationVertices, const osg::Geometry &srcGeometry) const
 
virtual void copyTextureCoords (std::vector< std::vector< Vector2_32 > > &destinationCoordinates, const osg::Geometry &srcGeometry, const DtIndirectGeometryTexturesRefPtr textureForThisGeometry, const std::vector< DtIndirectBindlessVertexFormat > &destinationVertices) const
 
virtual void setModelName (const std::string &modelname)
 
virtual bool degenerate (void) const
 

Protected Member Functions

virtual bool checkSrcTextureCoordsOk (const osg::Geometry &srcGeometry) const
 

Protected Attributes

std::string myModelFileName
 
bool myDegenerateVertices
 
DtDemyDe
 

Constructor & Destructor Documentation

makVrv::DtIndirectVerticesHelper::DtIndirectVerticesHelper ( DtDe de)

constructor

virtual makVrv::DtIndirectVerticesHelper::~DtIndirectVerticesHelper ( )
virtual

destructor

makVrv::DtIndirectVerticesHelper::DtIndirectVerticesHelper ( const DtIndirectVerticesHelper )
delete

not allowed

Member Function Documentation

DtIndirectVerticesHelper& makVrv::DtIndirectVerticesHelper::operator= ( const DtIndirectVerticesHelper )
delete

not allowed

virtual void makVrv::DtIndirectVerticesHelper::copyVertices ( std::vector< DtIndirectBindlessVertexFormat > &  destinationVertices,
const osg::Geometry &  srcGeometry,
const osg::Matrix &  transform 
) const
virtual

copy the vertex positions from src into the destination

virtual void makVrv::DtIndirectVerticesHelper::copyNormals ( std::vector< DtIndirectBindlessVertexFormat > &  destinationVertices,
const osg::Geometry &  srcGeometry 
) const
virtual

copy the vertex normals from src into the destination

virtual void makVrv::DtIndirectVerticesHelper::copyColors ( std::vector< DtIndirectBindlessVertexFormat > &  destinationVertices,
const osg::Geometry &  srcGeometry 
) const
virtual

copy the vertex colors from src into the destination

virtual void makVrv::DtIndirectVerticesHelper::copyTextureCoords ( std::vector< std::vector< Vector2_32 > > &  destinationCoordinates,
const osg::Geometry &  srcGeometry,
const DtIndirectGeometryTexturesRefPtr  textureForThisGeometry,
const std::vector< DtIndirectBindlessVertexFormat > &  destinationVertices 
) const
virtual

copy the vertex texture coordinates from src into the destination

virtual void makVrv::DtIndirectVerticesHelper::setModelName ( const std::string &  modelname)
virtual

used for error messages

virtual bool makVrv::DtIndirectVerticesHelper::degenerate ( void  ) const
virtual
virtual bool makVrv::DtIndirectVerticesHelper::checkSrcTextureCoordsOk ( const osg::Geometry &  srcGeometry) const
protectedvirtual

check if the src texture coordinates check out

Member Data Documentation

std::string makVrv::DtIndirectVerticesHelper::myModelFileName
protected
bool makVrv::DtIndirectVerticesHelper::myDegenerateVertices
mutableprotected
DtDe& makVrv::DtIndirectVerticesHelper::myDe
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)