![]() |
OpendTect
6.3
|
A set of coordinates. The coordinates will be transformed by the transformation before given to Coin, and transformed back when doing a getPos. More...
Public Member Functions | |
| Coordinates () | |
| virtual const char * | getClassName () const |
| void | setDisplayTransformation (const visBase::Transformation *) |
| const visBase::Transformation * | getDisplayTransformation () const |
| void | copyFrom (const Coordinates &) |
| int | nextID (int previd) const |
| int | size (bool includedelete=false) const |
| int | addPos (const Coord3 &) |
| int | addPos (const Coord3f &, bool scenespace=false) |
| Coord3 | getPos (int, bool scenespace=false) const |
| bool | isDefined (int) const |
| void | setPos (int, const Coord3 &) |
| void | setPositions (const Coord3 *, int sz, int start, bool scenespace=false) |
| void | insertPos (int, const Coord3 &) |
| void | removePos (int, bool keepidxafter=true) |
| void | removeAfter (int) |
| void | setAllPositions (const Coord3 &pos, int sz, int start) |
| void | setAllZ (const float *, int sz, bool dotransf) |
| osg::Array * | osgArray () |
| const osg::Array * | osgArray () const |
| void | setEmpty () |
| bool | isEmpty () const |
| void | dirty () 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 |
| 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 |
| virtual bool | selectable () const |
| void | select () const |
| void | deSelect () const |
| void | updateSel () const |
| virtual bool | isSelected () const |
| virtual NotifierAccess * | selection () |
| virtual NotifierAccess * | deSelection () |
| virtual NotifierAccess * | rightClicked () |
| virtual const TypeSet< int > * | rightClickedPath () const |
| virtual void | setRightHandSystem (bool yn) |
| virtual bool | isRightHandSystem () const |
| virtual void | setPixelDensity (float dpi) |
| virtual float | getPixelDensity () const |
| virtual const uiString & | 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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Static Public Member Functions | |
| static Coordinates * | create () |
| static void | initClass () |
| static const char * | getStaticClassName () |
| static const char * | sFactoryKeyword () |
Static Public Member Functions inherited from visBase::DataObject | |
| static int | getID (const osg::Node *) |
| static float | getDefaultPixelDensity () |
| static void | setVisualizationThread (Threads::ThreadID) |
| Call only once from initialization. More... | |
| static bool | isVisualizationThread () |
| static void | requestSingleRedraw () |
| static void | setCommonViewer (osgViewer::CompositeViewer *) |
| static osgViewer::CompositeViewer * | getCommonViewer () |
| static const osgGeo::GLInfo * | getGLInfo () |
| static NotifierAccess & | glInfoAvailable () |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Public Attributes | |
| Notifier< Coordinates > | change |
Protected Member Functions | |
| void | getPositions (TypeSet< Coord3 > &) const |
| void | setPositions (const TypeSet< Coord3 > &) |
| void | setPosWithoutLock (int, const Coord3 &, bool scenespace) |
| void | setPosWithoutLock (int, const Coord3f &, bool scenespace) |
| int | getFreeIdx () |
| ~Coordinates () | |
Protected Member Functions inherited from visBase::DataObject | |
| ~DataObject () | |
| virtual osg::StateSet * | getStateSet () |
| void | doAddNodeState (NodeState *ns) |
| virtual void | triggerSel () |
| virtual void | triggerDeSel () |
| virtual void | triggerRightClick (const EventInfo *=0) |
| DataObject () | |
| template<class T > | |
| T * | setOsgNode (T *t) |
| Must be called during construction. More... | |
| void | updateNodemask () |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| TypeSet< int > | unusedcoords_ |
| Threads::Mutex | mutex_ |
| const visBase::Transformation * | transformation_ |
| osg::Array * | osgcoords_ |
Protected Attributes inherited from visBase::DataObject | |
| DataObjectGroup * | parent_ |
Private Member Functions | |
| Coordinates & | operator= (const Coordinates &) |
| Coordinates (const Coordinates &) | |
Static Private Member Functions | |
| static visBase::DataObject * | createInternal () |
Friends | |
| class | CoordinatesBuilder |
| class | CoordListAdapter |
| class | SetOrGetCoordinates |
A set of coordinates. The coordinates will be transformed by the transformation before given to Coin, and transformed back when doing a getPos.
|
private |
| visBase::Coordinates::Coordinates | ( | ) |
|
protected |
| int visBase::Coordinates::addPos | ( | const Coord3 & | ) |
| int visBase::Coordinates::addPos | ( | const Coord3f & | , |
| bool | scenespace = false |
||
| ) |
| void visBase::Coordinates::copyFrom | ( | const Coordinates & | ) |
|
inlinestatic |
|
inlinestaticprivate |
| void visBase::Coordinates::dirty | ( | ) | const |
|
virtual |
Reimplemented from visBase::DataObject.
|
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 |
Object should be locked when calling
| Coord3 visBase::Coordinates::getPos | ( | int | , |
| bool | scenespace = false |
||
| ) | const |
|
static |
|
static |
| void visBase::Coordinates::insertPos | ( | int | , |
| const Coord3 & | |||
| ) |
| bool visBase::Coordinates::isDefined | ( | int | ) | const |
|
inline |
| int visBase::Coordinates::nextID | ( | int | previd | ) | const |
If previd == -1, first id is returned. If -1 is returned, no more id's are available.
|
private |
|
inline |
|
inline |
| void visBase::Coordinates::removeAfter | ( | int | ) |
| void visBase::Coordinates::removePos | ( | int | , |
| bool | keepidxafter = true |
||
| ) |
| void visBase::Coordinates::setAllPositions | ( | const Coord3 & | pos, |
| int | sz, | ||
| int | start | ||
| ) |
| void visBase::Coordinates::setAllZ | ( | const float * | , |
| int | sz, | ||
| bool | dotransf | ||
| ) |
|
virtual |
Reimplemented from visBase::DataObject.
| void visBase::Coordinates::setEmpty | ( | ) |
| void visBase::Coordinates::setPos | ( | int | , |
| const Coord3 & | |||
| ) |
| void visBase::Coordinates::setPositions | ( | const Coord3 * | , |
| int | sz, | ||
| int | start, | ||
| bool | scenespace = false |
||
| ) |
|
protected |
Object should be locked when calling
|
protected |
Object should be locked when calling
|
static |
| int visBase::Coordinates::size | ( | bool | includedelete = false | ) | const |
|
friend |
|
friend |
|
friend |
| Notifier<Coordinates> visBase::Coordinates::change |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017