OpenSceneGraph  3.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
osg::TriangleMesh Class Reference

Exists to support collision detection engines not for doing rendering, use osg::Geometry instead. More...

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)
Vec3Array * getVertices ()
const Vec3Array * getVertices () const
void setIndices (IndexArray *indices)
IndexArray * getIndices ()
const IndexArray * getIndices () const

Protected Member Functions

virtual ~TriangleMesh ()

Protected Attributes

ref_ptr< Vec3Array > _vertices
ref_ptr< IndexArray > _indices

Detailed Description

Exists to support collision detection engines not for doing rendering, use osg::Geometry instead.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented in osg::ConvexHull.

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 Thu Sep 27 2012 12:20:24 for the OpenSceneGraph by doxygen 1.7.6.1.