![]() |
VR-Forces 5.0.3 Developer's Guide
|
utility class to copy src geometry into interleaved vertex format used by bindless
Public Member Functions | |
| DtIndirectIndicesHelper (DtDe &de) | |
| virtual | ~DtIndirectIndicesHelper () |
| DtIndirectIndicesHelper (const DtIndirectIndicesHelper &)=delete | |
| DtIndirectIndicesHelper & | operator= (const DtIndirectIndicesHelper &)=delete |
| virtual void | copyIndices (std::vector< int > &indices, const osg::Geometry &srcGeometry) const |
| virtual int | calculateNumIndices (const osg::Geometry &srcGeometry) const |
| virtual void | setModelName (const std::string &modelname) |
| virtual bool | isModeSupported (int mode) const |
| virtual std::string | toModeString (int mode) const |
Protected Member Functions | |
| virtual bool | checkSrcIndicesOk (const osg::Geometry &srcGeometry) const |
| virtual bool | checkAndCopyIndicesIfTriangleElements (std::vector< int > &indices, const osg::PrimitiveSet *primitiveSet) const |
| virtual bool | checkAndCopyIndicesIfDrawArrays (std::vector< int > &indices, const osg::PrimitiveSet *primitiveSet) const |
| virtual void | printDetailsPrimitiveSets (const osg::Geometry &geometry) const |
| virtual int | calculateNumIndices (const osg::PrimitiveSet *primitiveSet) const |
Protected Attributes | |
| std::string | myModelFileName |
| DtDe & | myDe |
| makVrv::DtIndirectIndicesHelper::DtIndirectIndicesHelper | ( | DtDe & | de | ) |
constructor
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
virtual |
copy the indices from geometry into the aggregated geometry
|
virtual |
number of indices across all primitive sets
|
virtual |
used for error messages
helper function for checking if a mode is supported by this helper/indirect
|
virtual |
helper function for converting from a GLenum to a string that contains the GLenum. for example GL_POINTS returns "GL_POINTS" useful for debug printouts
|
protectedvirtual |
check if the src indices check out
|
protectedvirtual |
Helper function for copying indices from a triangle element.
|
protectedvirtual |
Helper function for copying indices from a draw arrays.
|
protectedvirtual |
helper function for printing out the details of a primitive set
|
protectedvirtual |
helper function, calculates the number of indices based on primitive type and vert count
|
protected |
|
protected |