OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
visBase::OrthogonalSlice Class Reference

Slice that cuts orthogonal through a VolumeData. More...

Inheritance diagram for visBase::OrthogonalSlice:
[legend]

Public Member Functions

 OrthogonalSlice ()
 
virtual const char * getClassName () const
 
void setVolumeDataSize (int xsz, int ysz, int zsz)
 
void setSpaceLimits (const Interval< float > &x, const Interval< float > &y, const Interval< float > &z)
 
void setCenter (const Coord3 &newcenter, bool alldims)
 
int getDim () const
 
void setDim (int)
 
void getSliceInfo (int &, Interval< float > &) const
 
int getSliceNr (int dim=-1) const
 
void setSliceNr (int nr, int dim=-1)
 
float getPosition () const
 
DepthTabPlaneDraggergetDragger () const
 
void enablePicking (bool)
 
bool isPickingEnabled () const
 
void removeDragger ()
 
NotifierAccessdragStart ()
 
NotifierAccessdragFinished ()
 
void setDisplayTransformation (const visBase::Transformation *)
 
const visBase::TransformationgetDisplayTransformation () const
 
void setTextureChannels (TextureChannels *)
 
TextureChannelsgetTextureChannels ()
 
- 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 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...
 

Static Public Member Functions

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

Notifier< OrthogonalSlicemotion
 

Protected Member Functions

 ~OrthogonalSlice ()
 
void draggerMovementCB (CallBacker *)
 
- 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 * dimstr ()
 
static const char * slicestr ()
 

Protected Attributes

DepthTabPlaneDraggerdragger_
 
TextureRectangleslice_
 
int xdatasz_
 
int ydatasz_
 
int zdatasz_
 
int curdim_
 
int slicenr_ [3]
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

OrthogonalSliceoperator= (const OrthogonalSlice &)
 
 OrthogonalSlice (const OrthogonalSlice &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Slice that cuts orthogonal through a VolumeData.

Constructor & Destructor Documentation

visBase::OrthogonalSlice::OrthogonalSlice ( const OrthogonalSlice )
private
visBase::OrthogonalSlice::OrthogonalSlice ( )
visBase::OrthogonalSlice::~OrthogonalSlice ( )
protected

Member Function Documentation

static OrthogonalSlice* visBase::OrthogonalSlice::create ( )
inlinestatic
static visBase::DataObject* visBase::OrthogonalSlice::createInternal ( )
inlinestaticprivate
static const char* visBase::OrthogonalSlice::dimstr ( )
staticprotected
NotifierAccess& visBase::OrthogonalSlice::dragFinished ( )
void visBase::OrthogonalSlice::draggerMovementCB ( CallBacker )
protected
NotifierAccess& visBase::OrthogonalSlice::dragStart ( )
void visBase::OrthogonalSlice::enablePicking ( bool  )
virtual const char* visBase::OrthogonalSlice::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

int visBase::OrthogonalSlice::getDim ( ) const
const visBase::Transformation* visBase::OrthogonalSlice::getDisplayTransformation ( ) 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.

DepthTabPlaneDragger* visBase::OrthogonalSlice::getDragger ( ) const
float visBase::OrthogonalSlice::getPosition ( ) const
void visBase::OrthogonalSlice::getSliceInfo ( int &  ,
Interval< float > &   
) const
int visBase::OrthogonalSlice::getSliceNr ( int  dim = -1) const
static const char* visBase::OrthogonalSlice::getStaticClassName ( )
static
TextureChannels* visBase::OrthogonalSlice::getTextureChannels ( )
static void visBase::OrthogonalSlice::initClass ( )
static
bool visBase::OrthogonalSlice::isPickingEnabled ( ) const
OrthogonalSlice& visBase::OrthogonalSlice::operator= ( const OrthogonalSlice )
private
void visBase::OrthogonalSlice::removeDragger ( )
void visBase::OrthogonalSlice::setCenter ( const Coord3 newcenter,
bool  alldims 
)
void visBase::OrthogonalSlice::setDim ( int  )
void visBase::OrthogonalSlice::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::OrthogonalSlice::setSliceNr ( int  nr,
int  dim = -1 
)
void visBase::OrthogonalSlice::setSpaceLimits ( const Interval< float > &  x,
const Interval< float > &  y,
const Interval< float > &  z 
)
void visBase::OrthogonalSlice::setTextureChannels ( TextureChannels )
void visBase::OrthogonalSlice::setVolumeDataSize ( int  xsz,
int  ysz,
int  zsz 
)
static const char* visBase::OrthogonalSlice::sFactoryKeyword ( )
static
static const char* visBase::OrthogonalSlice::slicestr ( )
staticprotected

Member Data Documentation

int visBase::OrthogonalSlice::curdim_
protected
DepthTabPlaneDragger* visBase::OrthogonalSlice::dragger_
protected
Notifier<OrthogonalSlice> visBase::OrthogonalSlice::motion
TextureRectangle* visBase::OrthogonalSlice::slice_
protected
int visBase::OrthogonalSlice::slicenr_[3]
protected
int visBase::OrthogonalSlice::xdatasz_
protected
int visBase::OrthogonalSlice::ydatasz_
protected
int visBase::OrthogonalSlice::zdatasz_
protected

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