00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
#ifndef SOQT_FLYVIEWER_H
00027
#define SOQT_FLYVIEWER_H
00028
00029
#include <Inventor/Qt/viewers/SoQtConstrainedViewer.h>
00030
00031
00032
00033 class SOQT_DLL_API SoQtFlyViewer :
public SoQtConstrainedViewer {
00034 SOQT_OBJECT_HEADER(SoQtFlyViewer,
SoQtConstrainedViewer);
00035
00036
public:
00037 SoQtFlyViewer(QWidget * parent = NULL,
00038
const char * name = NULL,
00039 SbBool embed = TRUE,
00040 SoQtFullViewer::BuildFlag flag = BUILD_ALL,
00041 SoQtViewer::Type type = BROWSER);
00042 ~SoQtFlyViewer();
00043
00044
virtual void setViewing(SbBool enable);
00045
virtual void viewAll(
void);
00046
virtual void resetToHomePosition(
void);
00047
virtual void setCamera(SoCamera * camera);
00048
virtual void setCursorEnabled(SbBool enable);
00049
virtual void setCameraType(SoType type);
00050
00051
protected:
00052 SoQtFlyViewer(QWidget * parent,
00053
const char *
const name,
00054 SbBool embed,
00055 SoQtFullViewer::BuildFlag flag,
00056 SoQtViewer::Type type,
00057 SbBool build);
00058
00059
virtual const char *
getDefaultWidgetName(
void)
const;
00060
virtual const char *
getDefaultTitle(
void)
const;
00061
virtual const char *
getDefaultIconTitle(
void)
const;
00062
00063
virtual SbBool processSoEvent(
const SoEvent *
const event);
00064
virtual void setSeekMode(SbBool enable);
00065
virtual void actualRedraw(
void);
00066
00067
virtual void rightWheelMotion(
float value);
00068
00069
virtual void afterRealizeHook(
void);
00070
00071
private:
00072
class SoQtFlyViewerP * pimpl;
00073
#ifndef DOXYGEN_SKIP_THIS
00074
friend class SoQtFlyViewerP;
00075
#endif // DOXYGEN_SKIP_THIS
00076
};
00077
00078
00079
00080
#endif // ! SOQT_FLYVIEWER_H