 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "geometrymod.h"
24 template <
class T>
class Array3D;
28 class MarchingCuebs2ImplicitFloodFiller;
29 class SeedBasedFloodFiller;
59 int i0,
int i1,
int i2,
float threshold);
64 bool c011,
bool c100,
bool c101,
65 bool c110,
bool c111 );
77 unsigned char axispos_[3];
99 bool getModel(
const int* pos,
unsigned char& model,
100 unsigned char& submodel)
const;
128 {
return tr(
"Implicit body to MarchingCubes: Contouring"); }
154 int originx,
int originy,
int originz,
165 {
return tr(
"Processing MarchingCubes2Implicit."); }
175 friend class MarchingCubes2ImplicitDistGen;
Array3D< int > & result_
Definition: marchingcubes.h:190
~Implicit2MarchingCubes()
MultiDimStorage< MarchingCubesModel > models_
Definition: marchingcubes.h:106
unsigned char submodel_
Definition: marchingcubes.h:76
Definition: marchingcubes.h:118
bool getModel(const int *pos, unsigned char &model, unsigned char &submodel) const
mODTextTranslationClass(Implicit2MarchingCubes)
Definition: arraytesselator.h:21
#define od_int64
Definition: plftypes.h:35
Definition: marchingcubes.h:150
#define mExpClass(module)
Definition: commondefs.h:177
int zorigin_
Definition: marchingcubes.h:139
uiString uiMessage() const
will be message() again in 7.x
Definition: marchingcubes.h:164
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
int yorigin_
Definition: marchingcubes.h:138
bool set(const Array3D< float > &arr, int i0, int i1, int i2, float threshold)
bool allchanged_
set when change is trig.
Definition: marchingcubes.h:110
bool operator==(const MarchingCubesModel &) const
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
bool doWork(od_int64, od_int64, int)
mRefCountImpl(MarchingCubesSurface)
const MarchingCubesSurface & surface_
Definition: marchingcubes.h:180
Byte-level data interpreter.
Definition: cbvswriter.h:21
Executor * readFrom(od_istream &, const DataInterpreter< od_int32 > *)
od_int64 nrIterations() const
static const unsigned char cAxisSpacing
Definition: marchingcubes.h:73
uiString uiMessage() const
will be message() again in 7.x
Definition: marchingcubes.h:127
mODTextTranslationClass(MarchingCubes2Implicit)
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:162
bool processSeeds(const od_int64 *, int nr)
static const unsigned char cUdfAxisPos
Definition: marchingcubes.h:71
float threshold_
Definition: marchingcubes.h:135
MarchingCubesModel(const MarchingCubesModel &)
static bool getCornerSign(unsigned char model, int corner)
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
bool * newfloodfillers_
Definition: marchingcubes.h:193
int originx_
Definition: marchingcubes.h:181
int originy_
Definition: marchingcubes.h:182
Class that can execute a task.
Definition: task.h:170
static unsigned char determineModel(bool c000, bool c001, bool c010, bool c011, bool c100, bool c101, bool c110, bool c111)
od_int64 nrDone() const
May be -1, i.e. class does not report nrdone.
TypeSet< od_int64 > activefloodfillers_
Definition: marchingcubes.h:194
Threads::Barrier barrier_
Definition: marchingcubes.h:189
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
static const unsigned char cMaxAxisPos
Definition: marchingcubes.h:72
int originz_
Definition: marchingcubes.h:183
od_int64 nrdefined_
Definition: marchingcubes.h:191
~MarchingCubes2Implicit()
Waits for a number of threads to reach a certain point (i.e. the call to Barrier::waitForAll)....
Definition: thread.h:239
Definition: marchingcubes.h:50
bool setVolumeData(int xorigin, int yorigin, int zorigin, const Array3D< float > &, float threshold, TaskRunner *=0)
float threshold() const
Definition: marchingcubes.h:163
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
bool readFrom(od_istream &, bool binary=true)
int xorigin_
Definition: marchingcubes.h:137
bool writeTo(od_ostream &, bool binary=true) const
const Array3D< float > & array_
Definition: marchingcubes.h:134
void setValue(od_int64 offset, int newval, bool checkval)
bool nodistance_
Definition: marchingcubes.h:187
bool shouldSetValue(od_int64 offset, int newval)
bool doWork(od_int64, od_int64, int)
Executor * writeTo(od_ostream &, bool binary=true) const
Threads::Lock modelslock_
Definition: marchingcubes.h:107
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
Implicit2MarchingCubes(int posx, int posy, int posz, const Array3D< float > &, float threshold, MarchingCubesSurface &)
MarchingCubes2Implicit(const MarchingCubesSurface &, Array3D< int > &, int originx, int originy, int originz, bool nodistance)
Definition: marchingcubes.h:82
MarchingCubesModel & operator=(const MarchingCubesModel &)
od_int64 nrIterations() const
MarchingCubesSurface & surface_
Definition: marchingcubes.h:132
Notifier< MarchingCubesSurface > change
Definition: marchingcubes.h:109
unsigned char model_
Definition: marchingcubes.h:75
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021