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) |
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 |
osg::FloatArray * | getFloatArray () |
const osg::FloatArray * | getFloatArray () const |
HeightList & | getHeightList () |
const HeightList & | getHeightList () 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 | computeRotationMatrix () 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 |
Vec3 | getVertex (unsigned int c, unsigned int r) const |
Vec3 | getNormal (unsigned int c, unsigned int r) const |
Vec2 | getHeightDelta (unsigned int c, unsigned int r) const |
| Shape () |
| Shape (const Shape &sa, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
virtual Object * | cloneType () const =0 |
virtual Object * | clone (const CopyOp &) const =0 |
virtual bool | isSameKindAs (const Object *obj) const |
virtual const char * | libraryName () const |
virtual const char * | className () const |
virtual void | accept (ShapeVisitor &)=0 |
virtual void | accept (ConstShapeVisitor &) const =0 |
| Object () |
| Object (bool threadSafeRefUnref) |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
virtual void | setName (const std::string &name) |
void | setName (const char *name) |
const std::string & | getName () const |
void | setDataVariance (DataVariance dv) |
DataVariance | getDataVariance () const |
virtual void | computeDataVariance () |
void | setUserDataContainer (osg::UserDataContainer *udc) |
osg::UserDataContainer * | getUserDataContainer () |
const osg::UserDataContainer * | getUserDataContainer () const |
osg::UserDataContainer * | getOrCreateUserDataContainer () |
virtual void | setUserData (Referenced *obj) |
virtual Referenced * | getUserData () |
virtual const Referenced * | getUserData () const |
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
virtual void | resizeGLObjectBuffers (unsigned int) |
virtual void | releaseGLObjects (osg::State *=0) const |
| Referenced () |
| Referenced (bool threadSafeRefUnref) |
| Referenced (const Referenced &) |
Referenced & | operator= (const Referenced &) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |