OpendTect-6_4  6.4
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
visSurvey::Sower Class Reference
Inheritance diagram for visSurvey::Sower:
[legend]

Public Types

enum  SowingMode {
  Lasering =-2, Erasing =-1, Idle =0, Furrowing,
  FirstSowing, SequentSowing
}
 

Public Member Functions

 Sower (const visBase::VisualObjectImpl *=0)
 
 ~Sower ()
 
void setDisplayTransformation (const mVisTrans *)
 
void setEventCatcher (visBase::EventCatcher *)
 
SowingMode mode ()
 
void reInitSettings ()
 
void reverseSowingOrder (bool yn=true)
 
void alternateSowingOrder (bool yn=true)
 
void intersow (bool yn=true)
 
void setSequentSowMask (bool yn=true, OD::ButtonState mask=OD::LeftButton)
 
void setIfDragInvertMask (bool yn=true, OD::ButtonState mask=OD::ShiftButton)
 
void setLaserMask (bool yn=true, OD::ButtonState mask=OD::LeftButton)
 
void setEraserMask (bool yn=true, OD::ButtonState mask=((OD::ButtonState)(OD::LeftButton+OD::ControlButton)))
 
bool moreToSow () const
 
void stopSowing ()
 
Coord3 pivotPos () const
 
bool accept (const visBase::EventInfo &)
 
bool activate (const Color &, const visBase::EventInfo &, int underlyingobjid=-1, const TrcKeySampling *workrange=0)
 
- 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 MaterialgetMaterial () const
 
MaterialgetMaterial ()
 
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
 
NotifierAccessselection ()
 
NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () const
 
const TypeSet< int > * rightClickedPath () const
 
- Public Member Functions inherited from visBase::DataObject
virtual const char * getClassName () const
 
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 setDisplayTransformation (const visBase::Transformation *)
 
virtual const visBase::TransformationgetDisplayTransformation () 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)
 
NodeStateremoveNodeState (NodeState *)
 
NodeStategetNodeState (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...
 

Public Attributes

Notifier< Sowersowingend
 
Notifier< Sowersowing
 

Protected Member Functions

bool isInWorkRange (const visBase::EventInfo &) const
 
void tieToWorkRange (const visBase::EventInfo &)
 
void calibrateEventInfo (visBase::EventInfo &)
 
bool acceptMouse (const visBase::EventInfo &)
 
bool acceptTablet (const visBase::EventInfo &)
 
bool acceptLaser (const visBase::EventInfo &)
 
bool acceptEraser (const visBase::EventInfo &)
 
EM::PosID getMarkerID (const visBase::EventInfo &) const
 
void reset ()
 
- 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 ()
 
void triggerRightClick (const EventInfo *)
 
 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...
 

Protected Attributes

const visBase::VisualObjectImpleditobject_
 
visBase::EventCatchereventcatcher_
 
const mVisTranstransformation_
 
visBase::PolyLinesowingline_
 
bool linelost_
 
SowingMode mode_
 
ObjectSet< visBase::EventInfoeventlist_
 
int underlyingobjid_
 
TrcKeySamplingworkrange_
 
TypeSet< Coordmousecoords_
 
TypeSet< int > bendpoints_
 
bool reversesowingorder_
 
bool alternatesowingorder_
 
bool intersow_
 
OD::ButtonState pressedbutstate_
 
OD::ButtonState sequentsowmask_
 
OD::ButtonState ifdraginvertmask_
 
OD::ButtonState lasermask_
 
OD::ButtonState erasermask_
 
bool singleseeded_
 
EM::PosID curpid_
 
int curpidstamp_
 
int furrowstamp_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Member Enumeration Documentation

Enumerator
Lasering 
Erasing 
Idle 
Furrowing 
FirstSowing 
SequentSowing 

Constructor & Destructor Documentation

visSurvey::Sower::Sower ( const visBase::VisualObjectImpl = 0)
visSurvey::Sower::~Sower ( )

Member Function Documentation

bool visSurvey::Sower::accept ( const visBase::EventInfo )
bool visSurvey::Sower::acceptEraser ( const visBase::EventInfo )
protected
bool visSurvey::Sower::acceptLaser ( const visBase::EventInfo )
protected
bool visSurvey::Sower::acceptMouse ( const visBase::EventInfo )
protected
bool visSurvey::Sower::acceptTablet ( const visBase::EventInfo )
protected
bool visSurvey::Sower::activate ( const Color ,
const visBase::EventInfo ,
int  underlyingobjid = -1,
const TrcKeySampling workrange = 0 
)
void visSurvey::Sower::alternateSowingOrder ( bool  yn = true)
void visSurvey::Sower::calibrateEventInfo ( visBase::EventInfo )
protected
EM::PosID visSurvey::Sower::getMarkerID ( const visBase::EventInfo ) const
protected
void visSurvey::Sower::intersow ( bool  yn = true)
bool visSurvey::Sower::isInWorkRange ( const visBase::EventInfo ) const
protected
SowingMode visSurvey::Sower::mode ( )
inline
bool visSurvey::Sower::moreToSow ( ) const
Coord3 visSurvey::Sower::pivotPos ( ) const
void visSurvey::Sower::reInitSettings ( )
void visSurvey::Sower::reset ( )
protected
void visSurvey::Sower::reverseSowingOrder ( bool  yn = true)
void visSurvey::Sower::setDisplayTransformation ( const mVisTrans )
void visSurvey::Sower::setEraserMask ( bool  yn = true,
OD::ButtonState  mask = ((OD::ButtonState)(OD::LeftButton+OD::ControlButton)) 
)
void visSurvey::Sower::setEventCatcher ( visBase::EventCatcher )
void visSurvey::Sower::setIfDragInvertMask ( bool  yn = true,
OD::ButtonState  mask = OD::ShiftButton 
)
void visSurvey::Sower::setLaserMask ( bool  yn = true,
OD::ButtonState  mask = OD::LeftButton 
)
void visSurvey::Sower::setSequentSowMask ( bool  yn = true,
OD::ButtonState  mask = OD::LeftButton 
)
void visSurvey::Sower::stopSowing ( )
void visSurvey::Sower::tieToWorkRange ( const visBase::EventInfo )
protected

Member Data Documentation

bool visSurvey::Sower::alternatesowingorder_
protected
TypeSet<int> visSurvey::Sower::bendpoints_
protected
EM::PosID visSurvey::Sower::curpid_
protected
int visSurvey::Sower::curpidstamp_
protected
const visBase::VisualObjectImpl* visSurvey::Sower::editobject_
protected
OD::ButtonState visSurvey::Sower::erasermask_
protected
visBase::EventCatcher* visSurvey::Sower::eventcatcher_
protected
ObjectSet<visBase::EventInfo> visSurvey::Sower::eventlist_
protected
int visSurvey::Sower::furrowstamp_
protected
OD::ButtonState visSurvey::Sower::ifdraginvertmask_
protected
bool visSurvey::Sower::intersow_
protected
OD::ButtonState visSurvey::Sower::lasermask_
protected
bool visSurvey::Sower::linelost_
protected
SowingMode visSurvey::Sower::mode_
protected
TypeSet<Coord> visSurvey::Sower::mousecoords_
protected
OD::ButtonState visSurvey::Sower::pressedbutstate_
protected
bool visSurvey::Sower::reversesowingorder_
protected
OD::ButtonState visSurvey::Sower::sequentsowmask_
protected
bool visSurvey::Sower::singleseeded_
protected
Notifier<Sower> visSurvey::Sower::sowing
Notifier<Sower> visSurvey::Sower::sowingend
visBase::PolyLine* visSurvey::Sower::sowingline_
protected
const mVisTrans* visSurvey::Sower::transformation_
protected
int visSurvey::Sower::underlyingobjid_
protected
TrcKeySampling* visSurvey::Sower::workrange_
protected

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