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 |
| Executor * | writeTo (std::ostream &, bool binary=true) const |
| Executor * | readFrom (std::istream &, const DataInterpreter< od_int32 > *) |
Public Attributes | |
| MultiDimStorage < MarchingCubesModel > | models_ |
| Threads::ReadWriteLock | modelslock_ |
| Notifier< MarchingCubesSurface > | change |
| bool | allchanged_ |
| set when change is trig. | |
| Interval< int > | changepos_ [3] |
| set when change is trig. | |
Private Member Functions | |
| mRefCountImpl (MarchingCubesSurface) | |
| MarchingCubesSurface::MarchingCubesSurface | ( | ) |
| bool MarchingCubesSurface::getModel | ( | const int * | pos, | |
| unsigned char & | model, | |||
| unsigned char & | submodel | |||
| ) | const |
| bool MarchingCubesSurface::isEmpty | ( | ) | const |
| MarchingCubesSurface::mRefCountImpl | ( | MarchingCubesSurface | ) | [private] |
| Executor* MarchingCubesSurface::readFrom | ( | std::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.
| Executor* MarchingCubesSurface::writeTo | ( | std::ostream & | , | |
| bool | binary = true | |||
| ) | const |
set when change is trig.
set when change is trig.
1.7.1