OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Private 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 (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...
 

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...
 

Private Member Functions

 mRefCountImpl (MarchingCubesSurface)
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

MarchingCubesSurface::MarchingCubesSurface ( )

Member Function Documentation

bool MarchingCubesSurface::getModel ( const int *  pos,
unsigned char &  model,
unsigned char &  submodel 
) const
bool MarchingCubesSurface::isEmpty ( ) const
MarchingCubesSurface::mRefCountImpl ( MarchingCubesSurface  )
private
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. 2019