OpenSceneGraph 2.8.4
Public Member Functions | Protected Member Functions | Protected Attributes
osg::TriangleMesh Class Reference
Inheritance diagram for osg::TriangleMesh:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TriangleMesh ()
 TriangleMesh (const TriangleMesh &mesh, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 META_Shape (osg, TriangleMesh)
void setVertices (Vec3Array *vertices)
Vec3ArraygetVertices ()
const Vec3ArraygetVertices () const
void setIndices (IndexArray *indices)
IndexArraygetIndices ()
const IndexArraygetIndices () const

Protected Member Functions

virtual ~TriangleMesh ()

Protected Attributes

ref_ptr< Vec3Array_vertices
ref_ptr< IndexArray_indices

Constructor & Destructor Documentation

osg::TriangleMesh::TriangleMesh ( ) [inline]
osg::TriangleMesh::TriangleMesh ( const TriangleMesh mesh,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]
virtual osg::TriangleMesh::~TriangleMesh ( ) [protected, virtual]

Member Function Documentation

IndexArray* osg::TriangleMesh::getIndices ( ) [inline]
const IndexArray* osg::TriangleMesh::getIndices ( ) const [inline]
const Vec3Array* osg::TriangleMesh::getVertices ( ) const [inline]
Vec3Array* osg::TriangleMesh::getVertices ( ) [inline]
osg::TriangleMesh::META_Shape ( osg  ,
TriangleMesh   
)

Reimplemented in osg::ConvexHull.

void osg::TriangleMesh::setIndices ( IndexArray indices) [inline]
void osg::TriangleMesh::setVertices ( Vec3Array vertices) [inline]

Member Data Documentation


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

osg logo
Generated at Sun Jan 8 2012 13:16:19 for the OpenSceneGraph by doxygen 1.7.4.