| http://www.sim.no/ http://www.coin3d.org/

SoScXMLStateMachine.h
1 #ifndef COIN_SOSCXMLSTATEMACHINE_H
2 #define COIN_SOSCXMLSTATEMACHINE_H
3
4 /**************************************************************************\
5 *
6 * This file is part of the Coin 3D visualization library.
7 * Copyright (C) by Kongsberg Oil & Gas Technologies.
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 Coin with software that can not be combined with the GNU
16 * GPL, and for taking advantage of the additional benefits of our
17 * support services, please contact Kongsberg Oil & Gas Technologies
18 * about acquiring a Coin Professional Edition License.
19 *
20 * See http://www.coin3d.org/ for more information.
21 *
22 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
23 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24 *
25 \**************************************************************************/
26
27 #include <Inventor/scxml/ScXMLStateMachine.h>
28
29 class SoEvent;
30 class SoNode;
31 class SoCamera;
32 class SbViewportRegion;
33
34 class COIN_DLL_API SoScXMLStateMachine : public ScXMLStateMachine {
35 typedef ScXMLStateMachine inherited;
36 SCXML_OBJECT_HEADER(SoScXMLStateMachine)
37
38 public:
39 static void initClass(void);
40
41 SoScXMLStateMachine(void);
42 virtual ~SoScXMLStateMachine(void);
43
44 virtual void setSceneGraphRoot(SoNode * root);
45 virtual SoNode * getSceneGraphRoot(void) const;
46
47 virtual void setActiveCamera(SoCamera * camera);
48 virtual SoCamera * getActiveCamera(void) const;
49
50 virtual void setViewportRegion(const SbViewportRegion & vp);
51 virtual const SbViewportRegion & getViewportRegion(void) const;
52
53 virtual void preGLRender(void);
54 virtual void postGLRender(void);
55
56 virtual SbBool processSoEvent(const SoEvent * event);
57
58 private:
59 SoScXMLStateMachine(const SoScXMLStateMachine & rhs); // N/A
60 SoScXMLStateMachine & operator = (const SoScXMLStateMachine & rhs); // N/A
61
62 class PImpl;
63 SbPimplPtr<PImpl> pimpl;
64
65 }; // SoScXMLStateMachine
66
67 #endif // !COIN_SOSCXMLSTATEMACHINE_H
SoCamera
The SoCamera class is the abstract base class for camera definition nodes.To be able to view a scene...
Definition: SoCamera.h:54
SoScXMLStateMachine
Integration level for using Coin events with SCXML-based state machines.
Definition: SoScXMLStateMachine.h:34
SoNode
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoEvent
The SoEvent class is the base class for all Coin events.Coin contains its own set of event classes...
Definition: SoEvent.h:34
SbViewportRegion
The SbViewportRegion class is a viewport within a full window.The SbViewportRegion class contains inf...
Definition: SbViewportRegion.h:31
ScXMLObject
Base class for all SCXML objects.
Definition: ScXMLObject.h:32
ScXMLStateMachine
Manager for processing events and setting states in SCXML structures.
Definition: ScXMLStateMachine.h:44

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.