Public Member Functions | |
TriangleMesh () | |
TriangleMesh (const TriangleMesh &mesh, const CopyOp ©op=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 | |
~TriangleMesh () | |
Protected Attributes | |
ref_ptr< Vec3Array > | _vertices |
ref_ptr< IndexArray > | _indices |
osg::TriangleMesh::TriangleMesh | ( | ) | [inline] |
osg::TriangleMesh::TriangleMesh | ( | const TriangleMesh & | mesh, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
osg::TriangleMesh::~TriangleMesh | ( | ) | [inline, protected] |
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] |
ref_ptr<Vec3Array> osg::TriangleMesh::_vertices [protected] |
ref_ptr<IndexArray> osg::TriangleMesh::_indices [protected] |