source: Swollen/swollen/bedslope.h @ 65

Last change on this file since 65 was 65, checked in by darran, 20 years ago
File size: 663 bytes
Line 
1
2
3/*
4    BedSlope class
5
6    An OpenSceneGraph viewer for pyVolution .sww files.
7    copyright (C) 2004 Geoscience Australia
8*/
9
10
11#ifndef BEDSLOPE_H
12#define BEDSLOPE_H
13
14
15#include <project.h>
16#include <SWWReader.h>
17#include <osg/Geode>
18#include <osg/Material>
19#include <osg/StateAttribute>
20
21
22
23class BedSlope
24{
25
26public:
27
28    BedSlope(SWWReader *sww);
29    virtual osg::Geode* get(){ return _node; }
30    virtual osg::BoundingBox getBound(){ return _geom->getBound(); }
31
32protected:
33
34    SWWReader* _sww;
35    osg::Geode* _node;
36    osg::Geometry* _geom;
37    osg::StateSet* _stateset;
38    osg::Material* _material;
39    virtual ~BedSlope(){;}
40
41};
42
43
44#endif  // BEDSLOPE_H
Note: See TracBrowser for help on using the repository browser.