26 namespace visBase {
class Scene;
class PolygonSelection;
class SceneColTab; }
36 const char* nm=
"ui3DViewer");
50 void enableAnimation(
bool);
53 void rotateH(
float angle);
54 void rotateV(
float angle);
55 void dolly(
float rel);
79 void viewAll(
bool animate=
true);
83 void setAnnotationColor(
const Color&);
84 Color getAnnotationColor()
const;
86 bool rotAxisShown()
const;
105 void setKeyBindings(
const char* keybindname);
107 const char* getCurrentKeyBindings()
const;
114 float getScenesPixelDensity()
const;
118 void savePropertySettings()
const;
135 uiObjectBody& mkBody(
uiParent*,
bool direct,
const char*);
#define mExpClass(module)
Definition: commondefs.h:160
Coord3 getCameraPosition() const
static const char * sKeyAnimate()
Definition: ui3dviewer.h:125
ui3DViewerBody * osgbody_
Definition: ui3dviewer.h:133
Definition: ui3dviewerbody.h:142
PlaneType
Definition: ui3dviewer.h:60
StereoType
Definition: ui3dviewer.h:64
bool isMapView() const
Definition: ui3dviewerbody.h:150
void setCameraZoom(float val)
static const char * sKeyBGColor()
Definition: ui3dviewer.h:126
OD::String that holds an existing text string.
Definition: fixedstring.h:29
const osgViewer::View * getOsgViewerHudView() const
Definition: ui3dviewerbody.h:139
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Baseclass for different body implementation (direct & indirect) of OSG.
Definition: ui3dviewerbody.h:61
Definition: ui3dviewerbody.h:120
void setStereoOffset(float)
void setAnnotationFont(const FontData &)
void setMouseWheelZoomFactor(float)
bool setStereoType(StereoType)
void setBackgroundColor(const Color &)
The base class for most UI elements.
Definition: uiobj.h:38
visBase::SceneColTab * getSceneColTab()
Definition: uiparent.h:26
Notifier< ui3DViewer > viewmodechanged
Definition: ui3dviewer.h:101
Set of BufferString objects.
Definition: bufstringset.h:28
Data needed to make an actual font.
Definition: fontdata.h:20
static const char * sKeyPersCamera()
Definition: ui3dviewer.h:131
float getMouseWheelZoomFactor() const
static const char * sKeySceneID()
Definition: ui3dviewer.h:124
static const char * sKeyQuadBuf()
Definition: ui3dviewer.h:128
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
FixedString None()
Definition: keystrs.h:90
const osgViewer::View * getOsgViewerMainView() const
Definition: ui3dviewerbody.h:138
WheelMode getWheelDisplayMode() const
static const char * sKeyStereo()
Definition: ui3dviewer.h:127
Notifier< ui3DViewer > destroyed
Definition: ui3dviewer.h:100
void viewAll(bool animate)
Definition: vispolygonselection.h:40
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool getReversedMouseWheelDirection() const
Definition: ui3dviewer.h:29
void setWheelDisplayMode(WheelMode)
CNotifier< ui3DViewer, bool > pageupdown
Definition: ui3dviewer.h:102
virtual void setViewMode(bool viewmode, bool trigger)
WheelMode
Definition: ui3dviewer.h:90
static const char * sKeyStereoOff()
Definition: ui3dviewer.h:129
void setReversedMouseWheelDirection(bool)
float getStereoOffset() const
void setScenesPixelDensity(float dpi)
bool isAnimationEnabled() const
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
visBase::Scene * getScene()
Definition: ui3dviewerbody.h:72
Definition: ui3dviewerbody.h:142
Definition: visannot.h:43
Definition: visscenecoltab.h:30
Scene manages all DataObjects and has some managing functions such as the selection management and va...
Definition: visscene.h:40
Geom::Size2D< int > getViewportSizePixels() const
CallBack * vmcb
Definition: ui3dviewer.h:103
StereoType getStereoType() const
Color getBackgroundColor() const
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
static const char * sKeyPrintDlg()
Definition: ui3dviewer.h:130
visBase::PolygonSelection * getPolygonSelector()
Definition: ui3dviewerbody.h:120
Definition: ui3dviewer.h:60
CallBacks object-oriented (object + method).
Definition: callback.h:57
bool isCameraPerspective() const
float getCameraZoom() const
Definition: ui3dviewerbody.h:120