OpendTect-6_4
6.4
|
Baseclass for different body implementation (direct & indirect) of OSG. More...
Public Types | |
enum | WheelMode { Never, Always, OnHover } |
enum | StereoType { None, RedCyan, QuadBuffer } |
Protected Types | |
enum | ViewModeCursor { RotateCursor, PanCursor, ZoomCursor, HoverCursor } |
Protected Member Functions | |
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 *) |
virtual osgViewer::GraphicsWindow & | getGraphicsWindow ()=0 |
virtual osg::GraphicsContext * | getGraphicsContext ()=0 |
uiObject & | uiObjHandle () |
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) |
Static Protected Member Functions | |
static osgViewer::CompositeViewer * | getCompositeViewer () |
Protected Attributes | |
MouseCursor | actmodecursor_ |
ui3DViewer & | handle_ |
IOPar & | printpar_ |
RefMan< visBase::Camera > | camera_ |
RefMan< visBase::Scene > | scene_ |
RefMan< visBase::ThumbWheel > | horthumbwheel_ |
RefMan< visBase::ThumbWheel > | verthumbwheel_ |
RefMan< visBase::ThumbWheel > | distancethumbwheel_ |
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::DataObjectGroup > | hudscene_ |
uiEventFilter | eventfilter_ |
uiMouseEventBlockerByGestures & | mouseeventblocker_ |
RefMan< visBase::Axes > | axes_ |
RefMan< visBase::PolygonSelection > | polygonselection_ |
TrackBallManipulatorMessenger * | manipmessenger_ |
SwapCallback * | swapcallback_ |
IOPar | homepos_ |
RefMan< visBase::SceneColTab > | visscenecoltab_ |
KeyBindMan & | keybindman_ |
bool | mapview_ |
Friends | |
class | TrackBallManipulatorMessenger |
Baseclass for different body implementation (direct & indirect) of OSG.
|
protected |
ui3DViewerBody::ui3DViewerBody | ( | ui3DViewer & | , |
uiParent * | |||
) |
|
virtual |
void ui3DViewerBody::align | ( | ) |
|
protected |
|
protected |
void ui3DViewerBody::fillCameraPos | ( | IOPar & | ) | const |
Color ui3DViewerBody::getBackgroundColor | ( | ) | const |
Coord3 ui3DViewerBody::getCameraPosition | ( | ) | const |
float ui3DViewerBody::getCameraZoom | ( | ) | const |
|
staticprotected |
|
protectedpure virtual |
Implemented in ui3DIndirectViewBody.
|
protectedpure virtual |
Implemented in ui3DIndirectViewBody.
float ui3DViewerBody::getMouseWheelZoomFactor | ( | ) | const |
Always positive. Direction is set by setReversedMouseWheelDirection()
|
protected |
|
protected |
|
inline |
|
inline |
visBase::PolygonSelection* ui3DViewerBody::getPolygonSelector | ( | ) |
bool ui3DViewerBody::getReversedMouseWheelDirection | ( | ) | const |
|
inline |
|
inline |
visBase::SceneColTab* ui3DViewerBody::getSceneColTab | ( | ) |
float ui3DViewerBody::getStereoOffset | ( | ) | const |
StereoType ui3DViewerBody::getStereoType | ( | ) | const |
Geom::Size2D<int> ui3DViewerBody::getViewportSizePixels | ( | ) | const |
|
inline |
WheelMode ui3DViewerBody::getWheelDisplayMode | ( | ) | const |
|
protected |
bool ui3DViewerBody::isAnimationEnabled | ( | ) | const |
bool ui3DViewerBody::isAxisShown | ( | ) | const |
bool ui3DViewerBody::isCameraOrthographic | ( | ) | const |
bool ui3DViewerBody::isCameraPerspective | ( | ) | const |
|
inline |
|
inline |
bool ui3DViewerBody::isViewMode | ( | ) | const |
|
inline |
|
protected |
|
protected |
|
protected |
void ui3DViewerBody::removeSwapCallback | ( | CallBacker * | ) |
|
protected |
void ui3DViewerBody::resetToHomePosition | ( | ) |
|
virtual |
void ui3DViewerBody::saveHomePos | ( | ) |
bool ui3DViewerBody::serializeScene | ( | const char * | ) | const |
void ui3DViewerBody::setAnimationEnabled | ( | bool | ) |
void ui3DViewerBody::setAnnotationFont | ( | const FontData & | ) |
void ui3DViewerBody::setAnnotColor | ( | const Color & | ) |
void ui3DViewerBody::setBackgroundColor | ( | const Color & | ) |
|
protected |
void ui3DViewerBody::setCameraZoom | ( | float | val | ) |
|
protected |
void ui3DViewerBody::setHomePos | ( | const IOPar & | ) |
void ui3DViewerBody::setMapView | ( | bool | yn | ) |
void ui3DViewerBody::setMouseWheelZoomFactor | ( | float | ) |
void ui3DViewerBody::setReversedMouseWheelDirection | ( | bool | ) |
void ui3DViewerBody::setSceneID | ( | int | ) |
void ui3DViewerBody::setScenesPixelDensity | ( | float | dpi | ) |
void ui3DViewerBody::setStereoOffset | ( | float | ) |
bool ui3DViewerBody::setStereoType | ( | StereoType | ) |
|
protected |
|
protected |
|
protected |
|
virtual |
|
protectedvirtual |
void ui3DViewerBody::setWheelDisplayMode | ( | WheelMode | ) |
void ui3DViewerBody::showRotAxis | ( | bool | ) |
|
protected |
void ui3DViewerBody::toggleCameraType | ( | ) |
void ui3DViewerBody::toggleViewMode | ( | CallBacker * | ) |
void ui3DViewerBody::toHomePos | ( | ) |
|
protected |
void ui3DViewerBody::uiRotate | ( | float | angle, |
bool | horizontal | ||
) |
void ui3DViewerBody::uiZoom | ( | float | rel, |
const osg::Vec3f * | dir = 0 |
||
) |
|
protectedvirtual |
bool ui3DViewerBody::useCameraPos | ( | const IOPar & | ) |
void ui3DViewerBody::viewAll | ( | bool | animate | ) |
void ui3DViewerBody::viewPlaneCrl | ( | ) |
void ui3DViewerBody::viewPlaneInl | ( | ) |
void ui3DViewerBody::viewPlaneN | ( | ) |
void ui3DViewerBody::viewPlaneX | ( | ) |
void ui3DViewerBody::viewPlaneY | ( | ) |
void ui3DViewerBody::viewPlaneYZ | ( | ) |
void ui3DViewerBody::viewPlaneZ | ( | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019