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

Public Member Functions

 MarchingCubesSurface ()
 
bool setVolumeData (int xorigin, int yorigin, int zorigin, const Array3D< float > &, float threshold, TaskRunner *=0)
 
void removeAll ()
 
bool isEmpty () const
 
bool getModel (const int *pos, unsigned char &model, unsigned char &submodel) const
 
ExecutorwriteTo (od_ostream &, bool binary=true) const
 
ExecutorreadFrom (od_istream &, const DataInterpreter< od_int32 > *)
 
- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Public Attributes

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

Protected Member Functions

 ~MarchingCubesSurface ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

MarchingCubesSurface::MarchingCubesSurface ( )
MarchingCubesSurface::~MarchingCubesSurface ( )
protected

Member Function Documentation

bool MarchingCubesSurface::getModel ( const int *  pos,
unsigned char &  model,
unsigned char &  submodel 
) const
bool MarchingCubesSurface::isEmpty ( ) const
Executor* MarchingCubesSurface::readFrom ( od_istream ,
const DataInterpreter< od_int32 > *   
)
void MarchingCubesSurface::removeAll ( )
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

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

Member Data Documentation

bool MarchingCubesSurface::allchanged_

set when change is trig.

Notifier<MarchingCubesSurface> MarchingCubesSurface::change
Interval<int> MarchingCubesSurface::changepos_[3]

set when change is trig.

MultiDimStorage<MarchingCubesModel> MarchingCubesSurface::models_
Threads::Lock MarchingCubesSurface::modelslock_
mutable

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