root/OpenSceneGraph/trunk/src/osgPlugins/ive/Layer.h @ 13041

Revision 13041, 1.4 kB (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version.  The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * OpenSceneGraph Public License for more details.
12*/
13
14#ifndef IVE_LAYER
15#define IVE_LAYER 1
16
17#include <osgTerrain/Layer>
18#include "ReadWrite.h"
19
20namespace ive
21{
22
23class LayerHelper
24{
25    public:
26
27        LayerHelper() {}
28
29        void writeLayer(DataOutputStream* out, osgTerrain::Layer* layer);
30        osgTerrain::Layer* readLayer(DataInputStream* in);
31
32        void writeLocator(DataOutputStream* out, osgTerrain::Locator* locator);
33        osgTerrain::Locator* readLocator(DataInputStream* in);
34};
35
36class Layer : public osgTerrain::Layer, public ReadWrite
37{
38    public:
39    void write(DataOutputStream* out);
40    void read(DataInputStream* in);
41
42    void writeValidDataOperator(DataOutputStream* out, osgTerrain::ValidDataOperator* validDataOperator);
43    osgTerrain::ValidDataOperator* readValidDataOperator(DataInputStream* in);
44};
45
46
47}
48
49#endif
Note: See TracBrowser for help on using the browser.