OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
visBase::GridLines Class Reference
Inheritance diagram for visBase::GridLines:
[legend]

Public Member Functions

 GridLines ()
 
virtual const char * getClassName () const
 
 ~GridLines ()
 
void setDisplayTransformation (const visBase::Transformation *)
 
void setLineStyle (const OD::LineStyle &)
 
void getLineStyle (OD::LineStyle &) const
 
void adjustGridCS ()
 
void setGridTrcKeyZSampling (const TrcKeyZSampling &)
 
void setPlaneTrcKeyZSampling (const TrcKeyZSampling &)
 
const TrcKeyZSamplinggetGridTrcKeyZSampling ()
 
const TrcKeyZSamplinggetPlaneTrcKeyZSampling ()
 
void showInlines (bool)
 
bool areInlinesShown () const
 
void showCrosslines (bool)
 
bool areCrosslinesShown () const
 
void showZlines (bool)
 
bool areZlinesShown () const
 
virtual void setPixelDensity (float)
 
- 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 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 const visBase::TransformationgetDisplayTransformation () const
 
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...
 

Static Public Member Functions

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

Protected Member Functions

void emptyLineSet (PolyLine *)
 
PolyLineaddLineSet ()
 
void addLine (PolyLine &, const Coord3 &start, const Coord3 &stop)
 
void drawInlines ()
 
void drawCrosslines ()
 
void drawZlines ()
 
- 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...
 

Static Protected Member Functions

static const char * sKeyLineStyle ()
 
static const char * sKeyInlShown ()
 
static const char * sKeyCrlShown ()
 
static const char * sKeyZShown ()
 

Protected Attributes

TrcKeyZSampling gridcs_
 
TrcKeyZSampling planecs_
 
bool csinlchanged_
 
bool cscrlchanged_
 
bool cszchanged_
 
PolyLineinlines_
 
PolyLinecrosslines_
 
PolyLinezlines_
 
PolyLinetrcnrlines_
 
ObjectSet< PolyLinepolylineset_
 
DrawStyledrawstyle_
 
const visBase::Transformationtransformation_
 
Materiallinematerial_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

GridLinesoperator= (const GridLines &)
 
 GridLines (const GridLines &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Constructor & Destructor Documentation

visBase::GridLines::GridLines ( const GridLines )
private
visBase::GridLines::GridLines ( )
visBase::GridLines::~GridLines ( )

Member Function Documentation

void visBase::GridLines::addLine ( PolyLine ,
const Coord3 start,
const Coord3 stop 
)
protected
PolyLine* visBase::GridLines::addLineSet ( )
protected
void visBase::GridLines::adjustGridCS ( )
bool visBase::GridLines::areCrosslinesShown ( ) const
bool visBase::GridLines::areInlinesShown ( ) const
bool visBase::GridLines::areZlinesShown ( ) const
static GridLines* visBase::GridLines::create ( )
inlinestatic
static visBase::DataObject* visBase::GridLines::createInternal ( )
inlinestaticprivate
void visBase::GridLines::drawCrosslines ( )
protected
void visBase::GridLines::drawInlines ( )
protected
void visBase::GridLines::drawZlines ( )
protected
void visBase::GridLines::emptyLineSet ( PolyLine )
protected
virtual const char* visBase::GridLines::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

const TrcKeyZSampling& visBase::GridLines::getGridTrcKeyZSampling ( )
inline
void visBase::GridLines::getLineStyle ( OD::LineStyle ) const
const TrcKeyZSampling& visBase::GridLines::getPlaneTrcKeyZSampling ( )
inline
static const char* visBase::GridLines::getStaticClassName ( )
static
static void visBase::GridLines::initClass ( )
static
GridLines& visBase::GridLines::operator= ( const GridLines )
private
void visBase::GridLines::setDisplayTransformation ( const visBase::Transformation )
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::GridLines::setGridTrcKeyZSampling ( const TrcKeyZSampling )
void visBase::GridLines::setLineStyle ( const OD::LineStyle )
virtual void visBase::GridLines::setPixelDensity ( float  )
virtual

Reimplemented from visBase::DataObject.

void visBase::GridLines::setPlaneTrcKeyZSampling ( const TrcKeyZSampling )
static const char* visBase::GridLines::sFactoryKeyword ( )
static
void visBase::GridLines::showCrosslines ( bool  )
void visBase::GridLines::showInlines ( bool  )
void visBase::GridLines::showZlines ( bool  )
static const char* visBase::GridLines::sKeyCrlShown ( )
staticprotected
static const char* visBase::GridLines::sKeyInlShown ( )
staticprotected
static const char* visBase::GridLines::sKeyLineStyle ( )
staticprotected
static const char* visBase::GridLines::sKeyZShown ( )
staticprotected

Member Data Documentation

PolyLine* visBase::GridLines::crosslines_
protected
bool visBase::GridLines::cscrlchanged_
protected
bool visBase::GridLines::csinlchanged_
protected
bool visBase::GridLines::cszchanged_
protected
DrawStyle* visBase::GridLines::drawstyle_
protected
TrcKeyZSampling visBase::GridLines::gridcs_
protected
PolyLine* visBase::GridLines::inlines_
protected
Material* visBase::GridLines::linematerial_
protected
TrcKeyZSampling visBase::GridLines::planecs_
protected
ObjectSet<PolyLine> visBase::GridLines::polylineset_
protected
const visBase::Transformation* visBase::GridLines::transformation_
protected
PolyLine* visBase::GridLines::trcnrlines_
protected
PolyLine* visBase::GridLines::zlines_
protected

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