OpendTect  6.6
Public Member Functions | Public Attributes | List of all members
MarchingCubesSurface Class Reference
Inheritance diagram for MarchingCubesSurface:
[legend]

Public Member Functions

 MarchingCubesSurface ()
 
bool getModel (const int *pos, unsigned char &model, unsigned char &submodel) const
 
bool isEmpty () const
 
ExecutorreadFrom (od_istream &, const DataInterpreter< od_int32 > *)
 
void removeAll ()
 
bool setVolumeData (int xorigin, int yorigin, int zorigin, const Array3D< float > &, float threshold, TaskRunner *=0)
 
ExecutorwriteTo (od_ostream &, bool binary=true) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

bool allchanged_
 set when change is trig. More...
 
Notifier< MarchingCubesSurfacechange
 
Interval< int > changepos_ [3]
 set when change is trig. More...
 
MultiDimStorage< MarchingCubesModelmodels_
 
Threads::Lock modelslock_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ MarchingCubesSurface()

MarchingCubesSurface::MarchingCubesSurface ( )

Member Function Documentation

◆ getModel()

bool MarchingCubesSurface::getModel ( const int *  pos,
unsigned char &  model,
unsigned char &  submodel 
) const

◆ isEmpty()

bool MarchingCubesSurface::isEmpty ( ) const

◆ readFrom()

Executor* MarchingCubesSurface::readFrom ( od_istream ,
const DataInterpreter< od_int32 > *   
)

◆ removeAll()

void MarchingCubesSurface::removeAll ( )

◆ setVolumeData()

bool MarchingCubesSurface::setVolumeData ( int  xorigin,
int  yorigin,
int  zorigin,
const Array3D< float > &  ,
float  threshold,
TaskRunner = 0 
)

Replaces the surface within the array3d's volume with an isosurface from the array and its threshold. Make sure inside body value is less than the threshold, outside value is bigger than the threshold

◆ writeTo()

Executor* MarchingCubesSurface::writeTo ( od_ostream ,
bool  binary = true 
) const

Member Data Documentation

◆ allchanged_

bool MarchingCubesSurface::allchanged_

set when change is trig.

◆ change

Notifier<MarchingCubesSurface> MarchingCubesSurface::change

◆ changepos_

Interval<int> MarchingCubesSurface::changepos_[3]

set when change is trig.

◆ models_

MultiDimStorage<MarchingCubesModel> MarchingCubesSurface::models_

◆ modelslock_

Threads::Lock MarchingCubesSurface::modelslock_
mutable

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