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::MarchingCubesSurface Class Reference
Inheritance diagram for visBase::MarchingCubesSurface:
[legend]

Public Member Functions

 MarchingCubesSurface ()
 
virtual const char * getClassName () const
 
bool setSurface (::MarchingCubesSurface &, TaskRunner *)
 
::MarchingCubesSurfacegetSurface ()
 
const ::MarchingCubesSurfacegetSurface () const
 
void setRightHandSystem (bool)
 
void setScales (const SamplingData< float > &, const SamplingData< float > &, const SamplingData< float > &)
 
const SamplingData< float > getScale (int dim) const
 
bool touch (bool forall, TaskRunner *=0)
 
void setRenderMode (RenderMode)
 
char enabledSection () const
 
void enableSection (char)
 
void setSectionPosition (float)
 
float getSectionPosition ()
 
void setBoxBoundary (float x, float y, float z)
 
GeomIndexedShapegetShape ()
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
const visBase::TransformationgetDisplayTransformation () const
 
void getTransformCoord (Coord3 &)
 
- 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 MarchingCubesSurfacecreate ()
 
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

 ~MarchingCubesSurface ()
 
void updateHints ()
 
void updateDisplayRange ()
 
- 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 * sKeyCoordIndex ()
 

Protected Attributes

char displaysection_
 
float sectionlocation_
 
StepInterval< float > xrg_
 
StepInterval< float > yrg_
 
StepInterval< float > zrg_
 
GeomIndexedShapeshape_
 
ExplicitMarchingCubesSurfacesurface_
 
const visBase::Transformationtransform_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

MarchingCubesSurfaceoperator= (const MarchingCubesSurface &)
 
 MarchingCubesSurface (const MarchingCubesSurface &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Class to display MarchingCubesSurface or body sections.

Constructor & Destructor Documentation

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

Member Function Documentation

static MarchingCubesSurface* visBase::MarchingCubesSurface::create ( )
inlinestatic
static visBase::DataObject* visBase::MarchingCubesSurface::createInternal ( )
inlinestaticprivate
char visBase::MarchingCubesSurface::enabledSection ( ) const
void visBase::MarchingCubesSurface::enableSection ( char  )

-1: display the whole isosurface. 0: display section along inline. 1: display section along crline. 2: display section along z.

virtual const char* visBase::MarchingCubesSurface::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

const visBase::Transformation* visBase::MarchingCubesSurface::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.

const SamplingData<float> visBase::MarchingCubesSurface::getScale ( int  dim) const
float visBase::MarchingCubesSurface::getSectionPosition ( )
GeomIndexedShape* visBase::MarchingCubesSurface::getShape ( )
inline
static const char* visBase::MarchingCubesSurface::getStaticClassName ( )
static
::MarchingCubesSurface* visBase::MarchingCubesSurface::getSurface ( )
const ::MarchingCubesSurface* visBase::MarchingCubesSurface::getSurface ( ) const
void visBase::MarchingCubesSurface::getTransformCoord ( Coord3 )
static void visBase::MarchingCubesSurface::initClass ( )
static
MarchingCubesSurface& visBase::MarchingCubesSurface::operator= ( const MarchingCubesSurface )
private
void visBase::MarchingCubesSurface::setBoxBoundary ( float  x,
float  y,
float  z 
)
virtual void visBase::MarchingCubesSurface::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::MarchingCubesSurface::setRenderMode ( RenderMode  )
void visBase::MarchingCubesSurface::setRightHandSystem ( bool  yn)
virtual

Sets whether the coordinate system is right or left handed.

Reimplemented from visBase::DataObject.

void visBase::MarchingCubesSurface::setScales ( const SamplingData< float > &  ,
const SamplingData< float > &  ,
const SamplingData< float > &   
)
void visBase::MarchingCubesSurface::setSectionPosition ( float  )
bool visBase::MarchingCubesSurface::setSurface ( ::MarchingCubesSurface ,
TaskRunner  
)
static const char* visBase::MarchingCubesSurface::sFactoryKeyword ( )
static
static const char* visBase::MarchingCubesSurface::sKeyCoordIndex ( )
inlinestaticprotected
bool visBase::MarchingCubesSurface::touch ( bool  forall,
TaskRunner = 0 
)
void visBase::MarchingCubesSurface::updateDisplayRange ( )
protected
void visBase::MarchingCubesSurface::updateHints ( )
protected

Member Data Documentation

char visBase::MarchingCubesSurface::displaysection_
protected
float visBase::MarchingCubesSurface::sectionlocation_
protected
GeomIndexedShape* visBase::MarchingCubesSurface::shape_
protected
ExplicitMarchingCubesSurface* visBase::MarchingCubesSurface::surface_
protected
const visBase::Transformation* visBase::MarchingCubesSurface::transform_
protected
StepInterval<float> visBase::MarchingCubesSurface::xrg_
protected
StepInterval<float> visBase::MarchingCubesSurface::yrg_
protected
StepInterval<float> visBase::MarchingCubesSurface::zrg_
protected

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