|
Public Types |
typedef std::vector< float > | HeightList |
Public Member Functions |
| HeightField () |
| HeightField (const HeightField &mesh, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| META_Shape (osg, HeightField) |
void | allocate (unsigned int numColumns, unsigned int numRows) |
void | allocateGrid (unsigned int numColumns, unsigned int numRows) |
unsigned int | getNumColumns () const |
unsigned int | getNumRows () const |
void | setOrigin (const osg::Vec3 &origin) |
const osg::Vec3 & | getOrigin () const |
void | setXInterval (float dx) |
float | getXInterval () const |
void | setYInterval (float dy) |
float | getYInterval () const |
void | setSkirtHeight (float skirtHeight) |
float | getSkirtHeight () const |
void | setBorderWidth (unsigned int borderWidth) |
unsigned int | getBorderWidth () const |
void | setRotation (const Quat &quat) |
const Quat & | getRotation () const |
Matrix | getRotationMatrix () const |
bool | zeroRotation () const |
void | setHeight (unsigned int c, unsigned int r, float value) |
float & | getHeight (unsigned int c, unsigned int r) |
float | getHeight (unsigned int c, unsigned int r) const |
HeightList & | getHeightList () |
const HeightList & | getHeightList () const |
Vec3 | getVertex (unsigned int c, unsigned int r) const |
Vec3 | getNormal (unsigned int c, unsigned int r) const |
Protected Member Functions |
virtual | ~HeightField () |
Protected Attributes |
unsigned int | _columns |
unsigned int | _rows |
osg::Vec3 | _origin |
float | _dx |
float | _dy |
float | _skirtHeight |
unsigned int | _borderWidth |
Quat | _rotation |
HeightList | _heights |