47 virtual void copyIndices(std::vector<int>& indices,
const osg::Geometry& srcGeometry)
const;
50 virtual int calculateNumIndices(
const osg::Geometry& srcGeometry)
const;
53 virtual void setModelName(
const std::string& modelname);
56 virtual bool isModeSupported(
int mode)
const;
61 virtual std::string toModeString(
int mode)
const;
66 virtual void setCopyRange(
int primitiveSetIndex,
int startIndex,
int endIndex,
int startVertex);
70 virtual bool checkSrcIndicesOk(
const osg::Geometry& srcGeometry)
const;
73 virtual bool checkAndCopyIndicesIfTriangleElements(std::vector<int>& indices,
const osg::PrimitiveSet* primitiveSet)
const;
76 virtual bool checkAndCopyIndicesIfDrawArrays(std::vector<int>& indices,
const osg::PrimitiveSet* primitiveSet)
const;
79 virtual void printDetailsPrimitiveSets(
const osg::Geometry& geometry)
const;
82 virtual int calculateNumIndices(
const osg::PrimitiveSet* primitiveSet)
const;
91 int myPrimitiveSetIndex = -1;
94 int myStartIndex = -1;
100 int myStartVertex = -1;
std::string myModelFileName
Definition: DtIndirectIndicesHelper.h:86
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
utility class to copy src geometry into interleaved vertex format used by bindless ...
Definition: DtIndirectIndicesHelper.h:30
const char int mode
Definition: ioapi.h:38
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
DtDe & myDe
Definition: DtIndirectIndicesHelper.h:88