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

 ~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]

osg::TriangleMesh::~TriangleMesh (  )  [inline, protected]


Member Function Documentation

osg::TriangleMesh::META_Shape ( osg  ,
TriangleMesh   
)

Reimplemented in osg::ConvexHull.

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

Vec3Array* osg::TriangleMesh::getVertices (  )  [inline]

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

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

IndexArray* osg::TriangleMesh::getIndices (  )  [inline]

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


Member Data Documentation

ref_ptr<Vec3Array> osg::TriangleMesh::_vertices [protected]

ref_ptr<IndexArray> osg::TriangleMesh::_indices [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:15 2007 for the OpenSceneGraph by doxygen 1.5.3.