class SG_EXPORT osg::HeightField


Inheritance:


Public Methods

[more] HeightField()
[more] HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const Object* obj) const
[more]virtual const char* libraryName() const
[more]virtual const char* className() const
[more]virtual void accept(osg::ShapeVisitor& sv)
[more]virtual void accept(osg::ConstShapeVisitor& csv) const
[more]inline unsigned int getNumColumns() const
[more]inline unsigned int getNumRows() const
[more]inline void setOrigin(const osg::Vec3& origin)
[more]inline const osg::Vec3& getOrigin() const
[more]inline void setXInterval(float dx)
[more]inline float getXInterval() const
[more]inline void setYInterval(float dy)
[more]inline float getYInterval() const
[more]virtual float getHeight(unsigned int c, unsigned int r) const = 0
[more]virtual Vec3 getNormal(unsigned int c, unsigned int r) const
[more]inline void setRotation(const Quat& quat)
[more]inline const Quat& getRotation() const
[more]inline Matrix getRotationMatrix() const
[more]inline bool zeroRotation() const

Protected Fields

[more]unsigned int _columns
[more]unsigned int _rows
[more]osg::Vec3 _origin
[more]float _dx
[more]float _dy
[more]Quat _rotation

Protected Methods

[more] ~HeightField()


Inherited from Shape:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const


Inherited from Object:

Public Methods

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

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline static int createdCount()
oinline static int deletedCount()

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


Documentation

o HeightField()

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

ovirtual bool isSameKindAs(const Object* obj) const

ovirtual const char* libraryName() const

ovirtual const char* className() const

ovirtual void accept(osg::ShapeVisitor& sv)

ovirtual void accept(osg::ConstShapeVisitor& csv) const

oinline unsigned int getNumColumns() const

oinline unsigned int getNumRows() const

oinline void setOrigin(const osg::Vec3& origin)

oinline const osg::Vec3& getOrigin() const

oinline void setXInterval(float dx)

oinline float getXInterval() const

oinline void setYInterval(float dy)

oinline float getYInterval() const

ovirtual float getHeight(unsigned int c, unsigned int r) const = 0

ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const

oinline void setRotation(const Quat& quat)

oinline const Quat& getRotation() const

oinline Matrix getRotationMatrix() const

oinline bool zeroRotation() const

o ~HeightField()

ounsigned int _columns

ounsigned int _rows

oosg::Vec3 _origin

ofloat _dx

ofloat _dy

oQuat _rotation


Direct child classes:
Grid

Alphabetic index HTML hierarchy of classes or Java



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