source: Swollen/swollen/surface.h @ 6

Last change on this file since 6 was 6, checked in by darran, 19 years ago

new import

File size: 538 bytes
Line 
1/*
2    Surface class
3
4    An OpenSceneGraph viewer for pyVolution .sww files.
5    copyright (C) 2004 Geoscience Australia
6*/
7
8
9#ifndef SURFACE_H
10#define SURFACE_H
11
12
13#include <project.h>
14#include <osg/Geode>
15#include <osg/Material>
16#include <osg/StateAttribute>
17
18
19
20class Surface
21{
22
23public:
24
25    Surface();
26    virtual osg::Geode* get(){ return _node; }
27
28protected:
29
30    osg::Geode* _node;
31    osg::Geometry* _geom;
32    osg::StateSet* _stateset;
33    osg::Material* _material;
34    virtual ~Surface();
35
36};
37
38
39#endif  // SURFACE_H
Note: See TracBrowser for help on using the repository browser.