AGX Dynamics  2.35.0.1
agxOSG::MeshExtractorReference Class Reference

Store vertices and indices in vectors by reference. More...

#include <TriangleExtractor.h>

+ Inheritance diagram for agxOSG::MeshExtractorReference:

Public Member Functions

 MeshExtractorReference (agx::Vec3Vector &vertices, agx::UInt32Vector &indices)
 
virtual ~MeshExtractorReference ()
 
agx::UInt32Vector * getIndices ()
 
agx::Vec3Vector * getVertices ()
 
virtual void triangle (const osg::Vec3 &v0, const osg::Vec3 &v1, const osg::Vec3 &v2)
 

Detailed Description

Store vertices and indices in vectors by reference.

Definition at line 227 of file TriangleExtractor.h.

Constructor & Destructor Documentation

◆ MeshExtractorReference()

agxOSG::MeshExtractorReference::MeshExtractorReference ( agx::Vec3Vector &  vertices,
agx::UInt32Vector &  indices 
)
inline

Definition at line 231 of file TriangleExtractor.h.

◆ ~MeshExtractorReference()

virtual agxOSG::MeshExtractorReference::~MeshExtractorReference ( )
inlinevirtual

Definition at line 239 of file TriangleExtractor.h.

Member Function Documentation

◆ getIndices()

agx::UInt32Vector* agxOSG::MeshExtractorReference::getIndices ( )
inline

Definition at line 237 of file TriangleExtractor.h.

◆ getVertices()

agx::Vec3Vector* agxOSG::MeshExtractorReference::getVertices ( )
inline

Definition at line 236 of file TriangleExtractor.h.

◆ triangle()

void agxOSG::MeshExtractorReference::triangle ( const osg::Vec3 &  v0,
const osg::Vec3 &  v1,
const osg::Vec3 &  v2 
)
inlinevirtual

Definition at line 256 of file TriangleExtractor.h.

References OSG_VEC3_TO_AGX.


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