OpendTect-6_4
6.4
|
Classes | |
struct | DragControl |
Public Member Functions | |
RandomTrackDragger () | |
virtual const char * | getClassName () const |
int | nrKnots () const |
Coord | getKnot (int) const |
void | setKnot (int, const Coord &) |
void | insertKnot (int, const Coord &) |
void | removeKnot (int) |
void | showAdjacentPanels (int knotidx, bool yn) |
bool | areAdjacentPanelsShown (int knotidx) const |
void | showAllPanels (bool yn) |
bool | areAllPanelsShown () const |
Interval< float > | getDepthRange () const |
void | setDepthRange (const Interval< float > &) |
void | setDisplayTransformation (const visBase::Transformation *) |
const visBase::Transformation * | getDisplayTransformation () const |
void | setLimits (const Coord3 &start, const Coord3 &stop, const Coord3 &step) |
void | updateZLimit (const Interval< float > &zborder) |
void | showPlaneDraggers (bool yn, int minsizeinsteps=0) |
void | setTransDragKeys (bool trans1d, int keys, int groupidx=0) |
int | getTransDragKeys (bool trans1d, int groupidx=0) const |
NotifierAccess * | rightClicked () |
const TypeSet< int > * | rightClickedPath () const |
const EventInfo * | rightClickedEventInfo () const |
int | getKnotIdx (const TypeSet< int > &pickpath) const |
void | handleEvents (bool yn) |
bool | isHandlingEvents () const |
Public Member Functions inherited from visBase::VisualObjectImpl | |
void | setRightHandSystem (bool yn) |
bool | isRightHandSystem () const |
void | setLockable () |
void | readLock () |
void | readUnLock () |
bool | tryReadLock () |
void | writeLock () |
void | writeUnLock () |
bool | tryWriteLock () |
void | setMaterial (Material *) |
const Material * | getMaterial () const |
Material * | getMaterial () |
virtual bool | usePar (const IOPar &) |
virtual void | fillPar (IOPar &) const |
Public Member Functions inherited from visBase::VisualObject | |
virtual bool | getBoundingBox (Coord3 &min, Coord3 &max) const |
virtual void | setSceneEventCatcher (EventCatcher *) |
void | setSelectable (bool yn) |
bool | selectable () const |
NotifierAccess * | selection () |
NotifierAccess * | deSelection () |
const EventInfo * | rightClickedEventInfo () const |
Public Member Functions inherited from visBase::DataObject | |
virtual bool | isOK () const |
int | id () const |
void | setID (int nid) |
uiString | name () const |
virtual void | setName (const uiString &) |
osg::Node * | osgNode (bool skipswitch=false) |
const osg::Node * | osgNode (bool skipswitch=false) const |
void | enableTraversal (unsigned int mask, bool yn=true) |
bool | isTraversalEnabled (unsigned int mask) const |
SoNode * | getInventorNode () |
const SoNode * | getInventorNode () const |
virtual bool | turnOn (bool yn) |
virtual bool | isOn () const |
bool | isPickable (bool actively=true) const |
void | setPickable (bool actively, bool passively=true) |
virtual bool | rightClickable () const |
void | select () const |
void | deSelect () const |
void | updateSel () const |
virtual bool | isSelected () const |
virtual void | setPixelDensity (float dpi) |
virtual float | getPixelDensity () const |
virtual const char * | errMsg () const |
bool | serialize (const char *filename, bool binary=false) |
void | setParent (DataObjectGroup *g) |
template<class T > | |
T * | addNodeState (T *ns) |
NodeState * | removeNodeState (NodeState *) |
NodeState * | getNodeState (int idx) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
static RandomTrackDragger * | create () |
static void | initClass () |
static const char * | getStaticClassName () |
static const char * | sFactoryKeyword () |
Static Public Member Functions inherited from visBase::VisualObjectImpl | |
static const char * | sKeyMaterialID () |
static const char * | sKeyMaterial () |
static const char * | sKeyIsOn () |
Static Public Member Functions inherited from visBase::DataObject | |
static int | getID (const osg::Node *) |
static float | getDefaultPixelDensity () |
static void | setVisualizationThread (const void *) |
Call only once from initialization. More... | |
static bool | isVisualizationThread () |
static void | requestSingleRedraw () |
static void | setCommonViewer (osgViewer::CompositeViewer *) |
static osgViewer::CompositeViewer * | getCommonViewer () |
Public Attributes | |
CNotifier< RandomTrackDragger, int > | motion |
knotidx>=0, panelidx<0 More... | |
Notifier< RandomTrackDragger > | movefinished |
Protected Member Functions | |
~RandomTrackDragger () | |
void | startCB (CallBacker *) |
void | moveCB (CallBacker *) |
void | finishCB (CallBacker *) |
void | triggerRightClick (const EventInfo *eventinfo) |
void | doSetKnot (int, const Coord &) |
void | followActiveDragger (int activeidx) |
void | updatePanels () |
void | postponePanelUpdate (bool) |
void | turnPanelOn (int planeidx, bool yn) |
void | setPanelsPolygonOffset (bool) |
void | removePlaneDraggerCBHandler (int idx) |
void | addPlaneDraggerCBHandler () |
void | updatePlaneDraggers () |
void | updateKnotColor (int idx, bool horoverlap) |
bool | canShowPlaneDragger (int planeidx, bool &horoverlap) const |
void | snapToLimits (Coord3 &pos) const |
Coord3 | getPlaneBoundingBoxInSteps (int planeidx) const |
bool | doesKnotStickToBorder (int knotidx) const |
unsigned char | getOnBorderFlags (int knotidx) const |
void | showRotationAxis (bool yn, int planeidx=0, Coord normpickedpos=Coord::udf()) |
int | getDragControlIdx (bool trans1d, int groupidx, bool docreate) |
int | getDragControlIdx (bool trans1d, int groupidx) const |
Protected Member Functions inherited from visBase::VisualObjectImpl | |
int | addChild (osg::Node *) |
void | insertChild (int pos, osg::Node *) |
void | removeChild (osg::Node *) |
int | childIndex (const osg::Node *) const |
VisualObjectImpl (bool selectable) | |
virtual | ~VisualObjectImpl () |
virtual void | materialChangeCB (CallBacker *) |
virtual void | setGroupNode (osg::Group *) |
Must be called during construction. More... | |
Protected Member Functions inherited from visBase::VisualObject | |
void | triggerSel () |
void | triggerDeSel () |
VisualObject (bool selectable=false) | |
~VisualObject () | |
Protected Member Functions inherited from visBase::DataObject | |
virtual osg::StateSet * | getStateSet () |
void | doAddNodeState (NodeState *ns) |
DataObject () | |
template<class T > | |
T * | setOsgNode (T *t) |
Must be called during construction. More... | |
void | updateNodemask () |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Static Protected Member Functions | |
static const char * | sKeyDraggerScale () |
Protected Attributes | |
ObjectSet< Dragger > | draggers_ |
ObjectSet< MarkerSet > | draggermarkers_ |
ObjectSet< PlaneDragCBHandler > | planedraghandlers_ |
osg::Switch * | panels_ |
osg::Switch * | planedraggers_ |
osg::Switch * | rotationaxis_ |
BoolTypeSet | showadjacents_ |
bool | showallpanels_ |
bool | showplanedraggers_ |
int | planedraggerminsizeinsteps_ |
bool | postponepanelupdate_ |
Interval< float > | zrange_ |
StepInterval< float > | limits_ [3] |
Geom::Rectangle< double > | horborder_ |
Interval< float > | zborder_ |
Notifier< RandomTrackDragger > | rightclicknotifier_ |
const EventInfo * | rightclickeventinfo_ |
const visBase::Transformation * | displaytrans_ |
ObjectSet< DragControl > | dragcontrols_ |
Protected Attributes inherited from visBase::VisualObjectImpl | |
Material * | material_ |
bool | righthandsystem_ |
Protected Attributes inherited from visBase::DataObject | |
DataObjectGroup * | parent_ |
Private Member Functions | |
RandomTrackDragger & | operator= (const RandomTrackDragger &) |
RandomTrackDragger (const RandomTrackDragger &) | |
Static Private Member Functions | |
static visBase::DataObject * | createInternal () |
Friends | |
class | PlaneDragCBHandler |
|
private |
visBase::RandomTrackDragger::RandomTrackDragger | ( | ) |
|
protected |
|
protected |
bool visBase::RandomTrackDragger::areAdjacentPanelsShown | ( | int | knotidx | ) | const |
bool visBase::RandomTrackDragger::areAllPanelsShown | ( | ) | const |
|
protected |
|
inlinestatic |
|
inlinestaticprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visBase::DataObject.
Interval<float> visBase::RandomTrackDragger::getDepthRange | ( | ) | const |
|
virtual |
All positions going from the outside world to the vis should be transformed with this transform. This enables us to have different coord-systems outside OI, e.g. we can use UTM coords outside the vis without loosing precision in the vis.
Reimplemented from visBase::DataObject.
|
protected |
|
protected |
Coord visBase::RandomTrackDragger::getKnot | ( | int | ) | const |
int visBase::RandomTrackDragger::getKnotIdx | ( | const TypeSet< int > & | pickpath | ) | const |
|
protected |
|
protected |
|
static |
int visBase::RandomTrackDragger::getTransDragKeys | ( | bool | trans1d, |
int | groupidx = 0 |
||
) | const |
void visBase::RandomTrackDragger::handleEvents | ( | bool | yn | ) |
|
static |
void visBase::RandomTrackDragger::insertKnot | ( | int | , |
const Coord & | |||
) |
bool visBase::RandomTrackDragger::isHandlingEvents | ( | ) | const |
|
protected |
int visBase::RandomTrackDragger::nrKnots | ( | ) | const |
|
private |
|
protected |
void visBase::RandomTrackDragger::removeKnot | ( | int | ) |
|
protected |
|
inlinevirtual |
Reimplemented from visBase::VisualObject.
const EventInfo* visBase::RandomTrackDragger::rightClickedEventInfo | ( | ) | const |
|
virtual |
Reimplemented from visBase::VisualObject.
void visBase::RandomTrackDragger::setDepthRange | ( | const Interval< float > & | ) |
|
virtual |
All positions going from the outside world to the vis should be transformed with this transform. This enables us to have different coord-systems outside OI, e.g. we can use UTM coords outside the vis without loosing precision in the vis.
Reimplemented from visBase::DataObject.
void visBase::RandomTrackDragger::setKnot | ( | int | , |
const Coord & | |||
) |
void visBase::RandomTrackDragger::setLimits | ( | const Coord3 & | start, |
const Coord3 & | stop, | ||
const Coord3 & | step | ||
) |
|
protected |
void visBase::RandomTrackDragger::setTransDragKeys | ( | bool | trans1d, |
int | keys, | ||
int | groupidx = 0 |
||
) |
|
static |
void visBase::RandomTrackDragger::showAdjacentPanels | ( | int | knotidx, |
bool | yn | ||
) |
void visBase::RandomTrackDragger::showAllPanels | ( | bool | yn | ) |
void visBase::RandomTrackDragger::showPlaneDraggers | ( | bool | yn, |
int | minsizeinsteps = 0 |
||
) |
|
protected |
|
inlinestaticprotected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented from visBase::VisualObject.
|
protected |
|
protected |
|
protected |
|
protected |
void visBase::RandomTrackDragger::updateZLimit | ( | const Interval< float > & | zborder | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
CNotifier<RandomTrackDragger,int> visBase::RandomTrackDragger::motion |
knotidx>=0, panelidx<0
Notifier<RandomTrackDragger> visBase::RandomTrackDragger::movefinished |
|
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