27 #ifndef VERTEX_BUFFER_TERRAIN_H 28 #define VERTEX_BUFFER_TERRAIN_H 30 #include <osg/Drawable> 35 class MultiResHeightMapRenderer;
44 const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) {
45 fprintf(stderr,
"error: not implemented yet!!");
51 fprintf(stderr,
"error: not implemented yet!!");
55 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const {
56 fprintf(stderr,
"error: not implemented yet!!");
61 void collideSphere(
double xPos,
double yPos,
double zPos,
double radius);
62 #if (OPENSCENEGRAPH_MAJOR_VERSION < 3 || ( OPENSCENEGRAPH_MAJOR_VERSION == 3 && OPENSCENEGRAPH_MINOR_VERSION < 4)) 64 #elif (OPENSCENEGRAPH_MAJOR_VERSION > 3 || (OPENSCENEGRAPH_MAJOR_VERSION == 3 && OPENSCENEGRAPH_MINOR_VERSION >= 4)) 67 #error Unknown OSG Version virtual ~VertexBufferTerrain()
MultiResHeightMapRenderer * mrhmr
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
void setCameraPosition(double x, double y)
virtual osg::Object * clone(const osg::CopyOp ©op) const
virtual osg::Object * cloneType() const
VertexBufferTerrain(int width, int height, double scaleZ, int resolution, int depth)
void setSelected(bool val)
void collideSphere(double xPos, double yPos, double zPos, double radius)
osg::BoundingBox computeBound() const
VertexBufferTerrain(const VertexBufferTerrain &pg, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)