~ubuntu-branches/ubuntu/oneiric/soqt/oneiric

« back to all changes in this revision

Viewing changes to build/msvc6/src/Inventor/Qt/nodes/SoGuiPane.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2006-02-06 22:34:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060206223400-g69m5soqa4zh0gkc
Tags: 1.3.0-3
debian/control: update libsoqt-dev depends.  Closes: #351700.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef COIN_SOGUIPANE_H
 
2
#define COIN_SOGUIPANE_H
 
3
 
 
4
/**************************************************************************\
 
5
 *
 
6
 *  This file is part of the Coin 3D visualization library.
 
7
 *  Copyright (C) 1998-2005 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 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 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, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
 
23
 *  <URL:http://www.sim.no/>.
 
24
 *
 
25
\**************************************************************************/
 
26
 
 
27
#ifndef SOQT_INTERNAL
 
28
#error this is a private header file
 
29
#endif /* !SOQT_INTERNAL */
 
30
 
 
31
#include <Inventor/SbLinear.h>
 
32
#include <Inventor/fields/SoSFVec3f.h>
 
33
#include <Inventor/nodes/SoSeparator.h>
 
34
 
 
35
class SoState;
 
36
 
 
37
class SoGuiPane : public SoSeparator {
 
38
  typedef SoSeparator inherited;
 
39
  SO_NODE_HEADER(SoGuiPane);
 
40
 
 
41
public:
 
42
  static void initClass(void);
 
43
 
 
44
  SoGuiPane(void);
 
45
 
 
46
  SoSFVec3f worldSize;
 
47
  SoSFVec3f objectSize;
 
48
 
 
49
  virtual void doAction(SoAction * action);
 
50
 
 
51
  virtual void GLRenderBelowPath(SoGLRenderAction * action);
 
52
  virtual void GLRenderInPath(SoGLRenderAction * action);
 
53
  virtual void GLRenderOffPath(SoGLRenderAction * action);
 
54
  virtual void pick(SoPickAction * action);
 
55
  virtual void rayPick(SoRayPickAction * action);
 
56
  virtual void getMatrix(SoGetMatrixAction * action);
 
57
  virtual void getBoundingBox(SoGetBoundingBoxAction * action);
 
58
  virtual void handleEvent(SoHandleEventAction * action);
 
59
 
 
60
  SbVec2f getRayPickIntersectionPoint(void) const;
 
61
 
 
62
protected:
 
63
  friend class SoGuiPosition;
 
64
  friend class SoGuiTranslation;
 
65
 
 
66
  virtual ~SoGuiPane(void);
 
67
 
 
68
  void moveTo(SoState * state, SbVec3f position);
 
69
  void applyMoveTo(SoGetMatrixAction * action, SbVec3f position);
 
70
  void moveBy(SoState * state, SbVec3f translation);
 
71
  void applyMoveBy(SoGetMatrixAction * action, SbVec3f translation);
 
72
 
 
73
private:
 
74
  void * internals;
 
75
 
 
76
};
 
77
 
 
78
#endif // !COIN_SOGUIPANE_H