http://www.sim.no
http://www.coin3d.org
Main Page
Modules
Classes
Files
File List
src
Inventor
Qt
viewers
SoQtFlyViewer.h
1
#ifndef SOQT_FLYVIEWER_H
2
#define SOQT_FLYVIEWER_H
3
4
// src/Inventor/Qt/viewers/SoQtFlyViewer.h. Generated from SoGuiFlyViewer.h.in by configure.
5
6
/**************************************************************************\
7
*
8
* This file is part of the Coin 3D visualization library.
9
* Copyright (C) by Kongsberg Oil & Gas Technologies.
10
*
11
* This library is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public License
13
* ("GPL") version 2 as published by the Free Software Foundation.
14
* See the file LICENSE.GPL at the root directory of this source
15
* distribution for additional information about the GNU GPL.
16
*
17
* For using Coin with software that can not be combined with the GNU
18
* GPL, and for taking advantage of the additional benefits of our
19
* support services, please contact Kongsberg Oil & Gas Technologies
20
* about acquiring a Coin Professional Edition License.
21
*
22
* See http://www.coin3d.org/ for more information.
23
*
24
* Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
25
* http://www.sim.no/ sales@sim.no coin-support@coin3d.org
26
*
27
\**************************************************************************/
28
29
#include <Inventor/Qt/viewers/SoQtConstrainedViewer.h>
30
31
// ************************************************************************
32
33
class
SOQT_DLL_API
SoQtFlyViewer
:
public
SoQtConstrainedViewer
{
34
SOQT_OBJECT_HEADER(
SoQtFlyViewer
,
SoQtConstrainedViewer
);
35
36
public
:
37
SoQtFlyViewer
(QWidget * parent = NULL,
38
const
char
* name = NULL,
39
SbBool embed = TRUE,
40
SoQtFullViewer::BuildFlag
flag = BUILD_ALL,
41
SoQtViewer::Type
type = BROWSER);
42
~
SoQtFlyViewer
();
43
44
virtual
void
setViewing
(SbBool enable);
45
virtual
void
viewAll
(
void
);
46
virtual
void
resetToHomePosition
(
void
);
47
virtual
void
setCamera
(SoCamera * camera);
48
virtual
void
setCursorEnabled
(SbBool enable);
49
virtual
void
setCameraType
(SoType type);
50
51
protected
:
52
SoQtFlyViewer
(QWidget * parent,
53
const
char
*
const
name,
54
SbBool embed,
55
SoQtFullViewer::BuildFlag
flag,
56
SoQtViewer::Type
type,
57
SbBool build);
58
59
virtual
const
char
*
getDefaultWidgetName
(
void
)
const
;
60
virtual
const
char
*
getDefaultTitle
(
void
)
const
;
61
virtual
const
char
*
getDefaultIconTitle
(
void
)
const
;
62
63
virtual
SbBool
processSoEvent
(
const
SoEvent *
const
event);
64
virtual
void
setSeekMode
(SbBool enable);
65
virtual
void
actualRedraw
(
void
);
66
67
virtual
void
rightWheelMotion
(
float
value);
68
69
virtual
void
afterRealizeHook
(
void
);
70
71
private
:
72
class
SoQtFlyViewerP * pimpl;
73
friend
class
SoQtFlyViewerP;
74
};
75
76
// ************************************************************************
77
78
#endif // ! SOQT_FLYVIEWER_H
Copyright © 1998-2010 by
Kongsberg Oil & Gas Technologies
. All rights reserved.
Generated on Wed May 29 2013 17:02:39 for SoQt by
Doxygen
1.8.3.1.