![]() |
OpendTect-6_4
6.4
|
Public Member Functions | |
| Normals () | |
| virtual const char * | getClassName () const |
| void | inverse () |
| Sets all normals to -normal. More... | |
| int | nrNormals () const |
| Envelope only, not all may be used. More... | |
| void | setNormal (int, const Coord3 &) |
| int | addNormal (const Coord3 &) |
| int | nextID (int previd) const |
| void | removeNormal (int) |
| Coord3 | getNormal (int) const |
| void | addNormalValue (int, const Coord3 &) |
| void | clear () |
| void | setAll (const float *vals, int nmsz) |
| vals are transformed, ordered in x,y,z. More... | |
| void | setAll (const Coord3 *coords, int nmsz) |
| coords are transformed. More... | |
| void | setAll (const Coord3 &coord, int nmsz) |
| set all normals as coord. More... | |
| void | setDisplayTransformation (const visBase::Transformation *nt) |
| const visBase::Transformation * | getDisplayTransformation () const |
| osg::Array * | osgArray () |
| const osg::Array * | osgArray () 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 |
| 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 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 Normals * | 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 (const void *) |
| Call only once from initialization. More... | |
| static bool | isVisualizationThread () |
| static void | requestSingleRedraw () |
| static void | setCommonViewer (osgViewer::CompositeViewer *) |
| static osgViewer::CompositeViewer * | getCommonViewer () |
Protected Member Functions | |
| ~Normals () | |
Protected Member Functions inherited from visBase::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 () |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| TypeSet< int > | unusednormals_ |
| Threads::Mutex & | mutex_ |
| const visBase::Transformation * | transformation_ |
| osg::Array * | osgnormals_ |
Protected Attributes inherited from visBase::DataObject | |
| DataObjectGroup * | parent_ |
Private Member Functions | |
| Normals & | operator= (const Normals &) |
| Normals (const Normals &) | |
Static Private Member Functions | |
| static visBase::DataObject * | createInternal () |
Friends | |
| class | DoTransformation |
|
private |
| visBase::Normals::Normals | ( | ) |
|
protected |
Object should be locked when calling
| int visBase::Normals::addNormal | ( | const Coord3 & | ) |
| void visBase::Normals::addNormalValue | ( | int | , |
| const Coord3 & | |||
| ) |
| void visBase::Normals::clear | ( | ) |
|
inlinestatic |
|
inlinestaticprivate |
|
virtual |
Reimplemented from visBase::DataObject.
|
inlinevirtual |
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.
| Coord3 visBase::Normals::getNormal | ( | int | ) | const |
|
static |
|
static |
| void visBase::Normals::inverse | ( | ) |
Sets all normals to -normal.
| int visBase::Normals::nextID | ( | int | previd | ) | const |
| int visBase::Normals::nrNormals | ( | ) | const |
Envelope only, not all may be used.
|
inline |
|
inline |
| void visBase::Normals::removeNormal | ( | int | ) |
| void visBase::Normals::setAll | ( | const float * | vals, |
| int | nmsz | ||
| ) |
vals are transformed, ordered in x,y,z.
| void visBase::Normals::setAll | ( | const Coord3 * | coords, |
| int | nmsz | ||
| ) |
coords are transformed.
| void visBase::Normals::setAll | ( | const Coord3 & | coord, |
| int | nmsz | ||
| ) |
set all normals as coord.
|
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::Normals::setNormal | ( | int | , |
| const Coord3 & | |||
| ) |
|
static |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019