1 #ifndef explicitmarchingcubes_h 2 #define explicitmarchingcubes_h 15 #include "geometrymod.h" 40 bool needsUpdate()
const;
46 friend class ExplicitMarchingCubesSurfaceUpdater;
47 void surfaceChange(CallBacker*);
49 bool allBucketsHaveChanged()
const;
57 bool updateIndices(
const int* pos);
58 bool getCoordIndices(
const int* pos,
int* res);
59 bool updateCoordinates(
const int* pos);
60 bool updateCoordinate(
const int* pos,
const int* idxs,
62 int getBucketPos(
int pos)
const;
114 MarchingCubeLookupTable();
115 ~MarchingCubeLookupTable();
118 static const MarchingCubeLookupTable&
get();
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
ObjectSet< char > indices_
Definition: explicitmarchingcubes.h:101
MarchingCubesSurface * getSurface()
Definition: explicitmarchingcubes.h:35
Definition: explicitmarchingcubes.h:98
int lastversionupdate_
Definition: explicitmarchingcubes.h:67
Definition: marchingcubes.h:82
Class that can execute a task.
Definition: task.h:169
MarchingCubesSurface * surface_
Definition: explicitmarchingcubes.h:64
Definition: explicitmarchingcubes.h:27
MultiDimStorage< int > coordindices_
Definition: explicitmarchingcubes.h:69
Definition: explicitmarchingcubes.h:111
Threads::Lock coordindiceslock_
Definition: explicitmarchingcubes.h:70
TypeSet< unsigned char > nrindices_
Definition: explicitmarchingcubes.h:102
MultiDimStorage< Geometry::IndexedGeometry * > ibuckets_
Definition: explicitmarchingcubes.h:72
bool createsNormals() const
Definition: explicitmarchingcubes.h:42
Holds the fundamental sampling info: start and interval.
Definition: samplingdata.h:22
const MarchingCubesSurface * getSurface() const
Definition: explicitmarchingcubes.h:36
Definition: arraytesselator.h:21