Inheritance:
Public Methods
-
HeightField()
-
HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-
META_Shape(osg, HeightField)
-
void allocate(unsigned int numColumns, unsigned int numRows)
-
void allocateGrid(unsigned int numColumns, unsigned int numRows)
-
inline unsigned int getNumColumns() const
-
inline unsigned int getNumRows() const
-
inline void setOrigin(const osg::Vec3& origin)
-
inline const osg::Vec3& getOrigin() const
-
inline void setXInterval(float dx)
-
inline float getXInterval() const
-
inline void setYInterval(float dy)
-
inline float getYInterval() const
-
void setSkirtHeight(float skirtHeight)
- Set the height of the skirt to render around the edge of HeightField.
-
float getSkirtHeight() const
- Get the height of the skirt to render around the edge of HeightField
-
void setBorderWidth(unsigned int borderWidth)
- Set the width in number of cells in from the edge that the height field should be rendered from.
-
unsigned int getBorderWidth() const
- Get the width in number of cells in from the edge that the height field should be rendered from
-
inline void setRotation(const Quat& quat)
-
inline const Quat& getRotation() const
-
inline Matrix getRotationMatrix() const
-
inline bool zeroRotation() const
-
inline void setHeight(unsigned int c, unsigned int r, float value)
-
inline float& getHeight(unsigned int c, unsigned int r)
-
inline float getHeight(unsigned int c, unsigned int r) const
-
HeightList& getHeightList()
-
const HeightList& getHeightList() const
-
inline Vec3 getVertex(unsigned int c, unsigned int r) const
-
Vec3 getNormal(unsigned int c, unsigned int r) const
Protected Fields
-
unsigned int _columns
-
unsigned int _rows
-
osg::Vec3 _origin
-
float _dx
-
float _dy
-
float _skirtHeight
-
unsigned int _borderWidth
-
Quat _rotation
-
HeightList _heights
Protected Methods
-
virtual ~HeightField()
Inherited from Shape:
Public Methods
-
virtual Object* cloneType() const
-
virtual Object* clone(const CopyOp&) const
-
virtual bool isSameKindAs(const Object* obj) const
-
virtual const char* libraryName() const
-
virtual const char* className() const
-
virtual void accept(ShapeVisitor&)
-
virtual void accept(ConstShapeVisitor&) const
Inherited from Object:
Public Classes
-
enum DataVariance
Public Methods
-
inline void setDataVariance(DataVariance dv)
-
inline DataVariance getDataVariance() const
-
inline void setUserData(Referenced* obj)
-
inline Referenced* getUserData()
-
inline const Referenced* getUserData() const
Protected Fields
-
DataVariance _dataVariance
-
ref_ptr<Referenced> _userData
Public Methods
-
inline Referenced& operator = (const Referenced&)
-
static void setDeleteHandler(DeleteHandler* handler)
-
static DeleteHandler* getDeleteHandler()
-
inline void ref() const
-
inline void unref_nodelete() const
-
inline int referenceCount() const
-
inline void unref() const
Protected Fields
-
mutable OpenThreads::Mutex _refMutex
-
mutable int _refCount
Documentation
- HeightField()
- HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- META_Shape(osg, HeightField)
- void allocate(unsigned int numColumns, unsigned int numRows)
- void allocateGrid(unsigned int numColumns, unsigned int numRows)
- inline unsigned int getNumColumns() const
- inline unsigned int getNumRows() const
- inline void setOrigin(const osg::Vec3& origin)
- inline const osg::Vec3& getOrigin() const
- inline void setXInterval(float dx)
- inline float getXInterval() const
- inline void setYInterval(float dy)
- inline float getYInterval() const
- void setSkirtHeight(float skirtHeight)
- Set the height of the skirt to render around the edge of HeightField.
The skirt is used as a means of disguising edge boundaries between adjacent HeightField, particular
of ones with different resolutions.
- float getSkirtHeight() const
- Get the height of the skirt to render around the edge of HeightField
- void setBorderWidth(unsigned int borderWidth)
- Set the width in number of cells in from the edge that the height field should be rendered from.
This exists to allow gradient and curvature continutity to be maintained between adjacent HeightField, where
the border cells will overlap adjacent HeightField.
- unsigned int getBorderWidth() const
- Get the width in number of cells in from the edge that the height field should be rendered from
- inline void setRotation(const Quat& quat)
- inline const Quat& getRotation() const
- inline Matrix getRotationMatrix() const
- inline bool zeroRotation() const
- inline void setHeight(unsigned int c, unsigned int r, float value)
- inline float& getHeight(unsigned int c, unsigned int r)
- inline float getHeight(unsigned int c, unsigned int r) const
- HeightList& getHeightList()
- const HeightList& getHeightList() const
- inline Vec3 getVertex(unsigned int c, unsigned int r) const
- Vec3 getNormal(unsigned int c, unsigned int r) const
- virtual ~HeightField()
- unsigned int _columns
- unsigned int _rows
- osg::Vec3 _origin
- float _dx
- float _dy
- float _skirtHeight
- unsigned int _borderWidth
- Quat _rotation
- HeightList _heights
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.