Coin Logo 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
29class SoEvent;
30class SoNode;
31class SoCamera;
33
34class COIN_DLL_API SoScXMLStateMachine : public ScXMLStateMachine {
36 SCXML_OBJECT_HEADER(SoScXMLStateMachine)
37
38public:
39 static void initClass(void);
40
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
58private:
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
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:31
Manager for processing events and setting states in SCXML structures.
Definition ScXMLStateMachine.h:44
The SoCamera class is the abstract base class for camera definition nodes.
Definition SoCamera.h:54
The SoEvent class is the base class for all Coin events.
Definition SoEvent.h:34
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
Integration level for using Coin events with SCXML-based state machines.
Definition SoScXMLStateMachine.h:34

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

Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.