/* BedSlope class An OpenSceneGraph viewer for pyVolution .sww files. copyright (C) 2004-2005 Geoscience Australia */ #ifndef BEDSLOPE_H #define BEDSLOPE_H #include #include #include #include #include class BedSlope { public: BedSlope(SWWReader *sww); virtual osg::Geode* get(){ return _node; } virtual osg::BoundingBox getBound(){ return _geom->getBound(); } virtual void update(){} protected: SWWReader* _sww; osg::Geode* _node; osg::Geometry* _geom; osg::StateSet* _stateset; osg::Material* _material; virtual ~BedSlope(){;} bool _texture; }; #endif // BEDSLOPE_H