class osg::TriangleMesh


Inheritance:


Public Methods

[more] TriangleMesh()
[more] TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more] META_Shape(osg, TriangleMesh)
[more]void setVertices(Vec3Array* vertices)
[more]Vec3Array* getVertices()
[more]const Vec3Array* getVertices() const
[more]void setIndices(IndexArray* indices)
[more]IndexArray* getIndices()
[more]const IndexArray* getIndices() const

Protected Fields

[more]ref_ptr<Vec3Array> _vertices
[more]ref_ptr<IndexArray> _indices

Protected Methods

[more] ~TriangleMesh()


Inherited from Shape:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* libraryName() const
ovirtual const char* className() const
ovirtual void accept(ShapeVisitor&)
ovirtual void accept(ConstShapeVisitor&) const


Inherited from Object:

Public Classes

oenum DataVariance

Public Methods

oinline void setDataVariance(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

o TriangleMesh()

o TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

o META_Shape(osg, TriangleMesh)

ovoid setVertices(Vec3Array* vertices)

oVec3Array* getVertices()

oconst Vec3Array* getVertices() const

ovoid setIndices(IndexArray* indices)

oIndexArray* getIndices()

oconst IndexArray* getIndices() const

o ~TriangleMesh()

oref_ptr<Vec3Array> _vertices

oref_ptr<IndexArray> _indices


Direct child classes:
ConvexHull

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.