SoVRMLCollision.h Source File

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

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

SoVRMLCollision.h
1 /**************************************************************************\
2 *
3 * This file is part of the Coin 3D visualization library.
4 * Copyright (C) by Kongsberg Oil & Gas Technologies.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * ("GPL") version 2 as published by the Free Software Foundation.
9 * See the file LICENSE.GPL at the root directory of this source
10 * distribution for additional information about the GNU GPL.
11 *
12 * For using Coin with software that can not be combined with the GNU
13 * GPL, and for taking advantage of the additional benefits of our
14 * support services, please contact Kongsberg Oil & Gas Technologies
15 * about acquiring a Coin Professional Edition License.
16 *
17 * See http://www.coin3d.org/ for more information.
18 *
19 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
20 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
21 *
22 \**************************************************************************/
23
24 #ifndef COIN_SOVRMLCOLLISION_H
25 #define COIN_SOVRMLCOLLISION_H
26
27 #include <Inventor/VRMLnodes/SoVRMLGroup.h>
28 #include <Inventor/nodes/SoSubNode.h>
29 #include <Inventor/fields/SoSFBool.h>
30 #include <Inventor/fields/SoSFNode.h>
31 #include <Inventor/fields/SoSFTime.h>
32
33 class SoVRMLCollisionP;
34
35 class COIN_DLL_API SoVRMLCollision : public SoVRMLGroup
36 {
37 typedef SoVRMLGroup inherited;
38 SO_NODE_HEADER(SoVRMLCollision);
39
40 public:
41 static void initClass(void);
42 SoVRMLCollision(void);
43 SoVRMLCollision(int numchildren);
44
45 SoSFBool collide;
46 SoSFNode proxy;
47 SoSFTime collideTime;
48
49 virtual void GLRender(SoGLRenderAction * action);
50
51 virtual void notify(SoNotList * list);
52
53 protected:
54 virtual ~SoVRMLCollision();
55
56 private:
57 void commonConstructor(void);
58 SoVRMLCollisionP * pimpl;
59 };
60
61 #endif // ! COIN_SOVRMLCOLLISION_H
SoVRMLGroup::GLRender
virtual void GLRender(SoGLRenderAction *action)
Definition: Group.cpp:321
SO_NODE_HEADER
#define SO_NODE_HEADER(classname)
SoVRMLCollision::collideTime
SoSFTime collideTime
Definition: SoVRMLCollision.h:47
SoSFBool
The SoSFBool class is a container for an SbBool value.This field is used where nodes, engines or other field containers needs to store a boolean on/off or TRUE/FALSE value, like for instance as the "on" field of the SoPointLight, SoSpotLight and SoDirectionalLight node classes.
Definition: SoSFBool.h:30
SoVRMLCollision::proxy
SoSFNode proxy
Definition: SoVRMLCollision.h:46
SoSFNode
The SoSFNode class is a container for a single node.This field container stores a pointer to a Coin n...
Definition: SoSFNode.h:38
SoVRMLCollision
The SoVRMLCollision class is used for collision detection with the avatar.The detailed class document...
Definition: SoVRMLCollision.h:35
SoVRMLCollision::collide
SoSFBool collide
Definition: SoVRMLCollision.h:45
SoSFTime
The SoSFTime class is a container for an SbTime value.This field is used where nodes, engines or other field containers needs to store a single time representation.
Definition: SoSFTime.h:31
SoVRMLGroup::notify
virtual void notify(SoNotList *list)
Definition: Group.cpp:680
SoVRMLGroup
The SoVRMLGroup class is used for grouping VRML nodes.The detailed class documentation is taken verba...
Definition: SoVRMLGroup.h:35
SoNotList
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
SoGLRenderAction
The SoGLRenderAction class renders the scene graph with OpenGL calls.Applying this method at a root n...
Definition: SoGLRenderAction.h:41

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