SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SmSceneryViewElement.h
1#ifndef SM_SCENERYVIEWELEMENT_H
2#define SM_SCENERYVIEWELEMENT_H
3
4/**************************************************************************\
5 *
6 * This file is part of the SmallChange extension library for Coin.
7 * Copyright (C) 1998-2003 by Systems in Motion. All rights reserved.
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * ("GPL") version 2 as published by the Free Software Foundation.
12 * See the file LICENSE.GPL at the root directory of this source
13 * distribution for additional information about the GNU GPL.
14 *
15 * For using SmallChange with software that can not be combined with the
16 * GNU GPL, and for taking advantage of the additional benefits of our
17 * support services, please contact Systems in Motion about acquiring
18 * a Coin Professional Edition License.
19 *
20 * See <URL:http://www.coin3d.org> for more information.
21 *
22 * Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY.
23 * <URL:http://www.sim.no>.
24 *
25\**************************************************************************/
26
27#include <Inventor/elements/SoElement.h>
28#include <Inventor/elements/SoSubElement.h>
29
30#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
31#include <SoWinLeaveScope.h>
32#endif // win
33
34#include <SmallChange/basic.h>
35
36
37class SMALLCHANGE_DLL_API SmSceneryViewElement : public SoElement {
38 typedef SoElement inherited;
39
40 SO_ELEMENT_HEADER(SmSceneryViewElement);
41public:
42 static void initClass(void);
43
44protected:
45 virtual ~SmSceneryViewElement(void);
46
47public:
48 // static void set(SoState * state, const Func func, const SbBool enable);
49 virtual void init(SoState * state);
50 virtual void push(SoState * state);
51 virtual void pop(SoState * state, const SoElement * prevTopElement);
52
53 virtual SbBool matches(const SoElement * element) const;
54 virtual SoElement * copyMatchInfo(void) const;
55
56private:
57
58};
59
60#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
61#include <SoWinEnterScope.h>
62#endif
63
64#endif // !SM_SCENERYVIEWELEMENT_H
Definition SmSceneryViewElement.h:37