OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ui3DIndirectViewBody Class Reference

Class used by ui3DViewer to render things indirectly. More...

Inheritance diagram for ui3DIndirectViewBody:
[legend]

Public Member Functions

 ui3DIndirectViewBody (ui3DViewer &, uiParent *)
 
 ~ui3DIndirectViewBody ()
 
const QWidget * qwidget_ () const
 
- Public Member Functions inherited from ui3DViewerBody
 ui3DViewerBody (ui3DViewer &, uiParent *)
 
virtual ~ui3DViewerBody ()
 
void viewAll (bool animate)
 
void setSceneID (int)
 
visBase::ScenegetScene ()
 
const visBase::ScenegetScene () const
 
bool serializeScene (const char *) const
 
void setBackgroundColor (const Color &)
 
Color getBackgroundColor () const
 
Geom::Size2D< int > getViewportSizePixels () const
 
float getMouseWheelZoomFactor () const
 
void setMouseWheelZoomFactor (float)
 
void setReversedMouseWheelDirection (bool)
 
bool getReversedMouseWheelDirection () const
 
void setHomePos (const IOPar &)
 
void resetToHomePosition ()
 
void toggleCameraType ()
 
bool isCameraPerspective () const
 
bool isCameraOrthographic () const
 
void align ()
 
void viewPlaneX ()
 
void viewPlaneY ()
 
void viewPlaneZ ()
 
void viewPlaneInl ()
 
void viewPlaneCrl ()
 
void viewPlaneN ()
 
void viewPlaneYZ ()
 
void uiRotate (float angle, bool horizontal)
 
void uiZoom (float rel, const osg::Vec3f *dir=0)
 
void setCameraZoom (float val)
 
float getCameraZoom () const
 
bool isViewMode () const
 
virtual void setViewMode (bool viewmode, bool trigger)
 
Coord3 getCameraPosition () const
 
visBase::CameragetVisCamera ()
 
virtual void reSizeEvent (CallBacker *)
 
void toggleViewMode (CallBacker *)
 
void setWheelDisplayMode (WheelMode)
 
WheelMode getWheelDisplayMode () const
 
void setAnimationEnabled (bool)
 
bool isAnimationEnabled () const
 
void showRotAxis (bool)
 
bool isAxisShown () const
 
void setAnnotColor (const Color &)
 
void setAnnotationFont (const FontData &)
 
visBase::PolygonSelectiongetPolygonSelector ()
 
visBase::SceneColTabgetSceneColTab ()
 
void toHomePos ()
 
void saveHomePos ()
 
bool isHomePosEmpty ()
 
void fillCameraPos (IOPar &) const
 
bool useCameraPos (const IOPar &)
 
const osgViewer::View * getOsgViewerMainView () const
 
const osgViewer::View * getOsgViewerHudView () const
 
void setScenesPixelDensity (float dpi)
 
bool setStereoType (StereoType)
 
StereoType getStereoType () const
 
void setStereoOffset (float)
 
float getStereoOffset () const
 
void setMapView (bool yn)
 
bool isMapView () const
 
KeyBindMankeyBindMan ()
 
void removeSwapCallback (CallBacker *)
 

Protected Member Functions

osgViewer::GraphicsWindow & getGraphicsWindow ()
 
osg::GraphicsContext * getGraphicsContext ()
 
- Protected Member Functions inherited from ui3DViewerBody
void enableDragging (bool yn)
 
virtual void setViewModeCursor (ViewModeCursor)
 
virtual void updateActModeCursor ()
 
void mouseCursorChg (CallBacker *)
 
void notifyManipulatorMovement (float dh, float dv, float df)
 
void setupTouch ()
 
void setupHUD ()
 
void setupView ()
 
void qtEventCB (CallBacker *)
 
void setFocusCB (CallBacker *)
 
void handleGestureEvent (QGestureEvent *)
 
uiObjectuiObjHandle ()
 
void requestRedraw ()
 
osg::Camera * getOsgCamera ()
 
const osg::Camera * getOsgCamera () const
 
void setCameraPos (const osg::Vec3f &, const osg::Vec3f &, bool)
 
void thumbWheelRotationCB (CallBacker *)
 
void enableThumbWheelHandling (bool yn, const visBase::ThumbWheel *tw=0)
 

Protected Attributes

GraphicsWindowIndirect * graphicswin_
 
- Protected Attributes inherited from ui3DViewerBody
MouseCursor actmodecursor_
 
ui3DViewerhandle_
 
IOParprintpar_
 
RefMan< visBase::Cameracamera_
 
RefMan< visBase::Scenescene_
 
RefMan< visBase::ThumbWheelhorthumbwheel_
 
RefMan< visBase::ThumbWheelverthumbwheel_
 
RefMan< visBase::ThumbWheeldistancethumbwheel_
 
int wheeldisplaymode_
 
osg::Switch * offscreenrenderswitch_
 
osgViewer::CompositeViewer * compositeviewer_
 
osgViewer::View * view_
 
osg::Viewport * viewport_
 
StereoType stereotype_
 
float stereooffset_
 
osgViewer::View * hudview_
 
osg::Switch * offscreenrenderhudswitch_
 
RefMan< visBase::DataObjectGrouphudscene_
 
uiEventFilter eventfilter_
 
uiMouseEventBlockerByGesturesmouseeventblocker_
 
RefMan< visBase::Axesaxes_
 
RefMan< visBase::PolygonSelectionpolygonselection_
 
TrackBallManipulatorMessengermanipmessenger_
 
SwapCallbackswapcallback_
 
IOPar homepos_
 
RefMan< visBase::SceneColTabvisscenecoltab_
 
KeyBindMankeybindman_
 
bool mapview_
 

Additional Inherited Members

- Public Types inherited from ui3DViewerBody
enum  WheelMode { Never, Always, OnHover }
 
enum  StereoType { None, RedCyan, QuadBuffer }
 
- Protected Types inherited from ui3DViewerBody
enum  ViewModeCursor { RotateCursor, PanCursor, ZoomCursor, HoverCursor }
 
- Static Protected Member Functions inherited from ui3DViewerBody
static osgViewer::CompositeViewer * getCompositeViewer ()
 

Detailed Description

Class used by ui3DViewer to render things indirectly.

Constructor & Destructor Documentation

ui3DIndirectViewBody::ui3DIndirectViewBody ( ui3DViewer ,
uiParent  
)
ui3DIndirectViewBody::~ui3DIndirectViewBody ( )

Member Function Documentation

osg::GraphicsContext* ui3DIndirectViewBody::getGraphicsContext ( )
protectedvirtual

Implements ui3DViewerBody.

osgViewer::GraphicsWindow& ui3DIndirectViewBody::getGraphicsWindow ( )
protectedvirtual

Implements ui3DViewerBody.

const QWidget* ui3DIndirectViewBody::qwidget_ ( ) const

Member Data Documentation

GraphicsWindowIndirect* ui3DIndirectViewBody::graphicswin_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019