#include <Isocontour.h>
Public Methods | |
IsoContour () | |
constructor. More... | |
int | compute (const VolumetricData *, float isovalue, int step) |
calculate isocontour for a given isovalue and step size. More... | |
void | clear () |
free up memory. More... | |
int | DoCell (int x, int y, int z, float isovalue, int step) |
int | Polygonise (const SQUARECELL grid, const float isolevel, LINE *lines) |
void | VertexInterp (float isolevel, const SQUARECELL grid, int ind1, int ind2, XY *vert) |
Public Attributes | |
int | numtriangles |
number of triangles in the facet list. More... | |
ResizeArray< float > | v |
vertices. More... | |
ResizeArray< int > | f |
facets. More... | |
const VolumetricData * | vol |
volume data pointer. More... | |
float | xax [3] |
float | yax [3] |
float | zax [3] |
axes/size of volume. More... |
Definition at line 34 of file Isocontour.h.
|
constructor.
Definition at line 20 of file Isocontour.C. |
|
free up memory.
Definition at line 22 of file Isocontour.C. References ResizeArray< int >::clear, ResizeArray< float >::clear, f, numtriangles, and v. |
|
calculate isocontour for a given isovalue and step size.
Definition at line 29 of file Isocontour.C. References data, DoCell, isovalue, vol, xax, VolumetricData::xaxis, VolumetricData::xsize, yax, VolumetricData::yaxis, VolumetricData::ysize, z, zax, VolumetricData::zaxis, and VolumetricData::zsize. |
|
Definition at line 60 of file Isocontour.C. References ResizeArray< float >::append3, ResizeArray< int >::append3, SQUARECELL::cubeindex, VolumetricData::data, f, isovalue, numtriangles, VolumetricData::origin, LINE::p, SQUARECELL::p, Polygonise, v, SQUARECELL::val, vol, XY::x, xax, VolumetricData::xsize, XY::y, yax, VolumetricData::ysize, z, and zax. Referenced by compute. |
|
Definition at line 158 of file Isocontour.C. References SQUARECELL::cubeindex, LINE::p, and VertexInterp. Referenced by DoCell. |
|
Definition at line 208 of file Isocontour.C. References SQUARECELL::p, SQUARECELL::val, XY::x, and XY::y. Referenced by Polygonise. |
|
facets.
Definition at line 38 of file Isocontour.h. |
|
number of triangles in the facet list.
Definition at line 36 of file Isocontour.h. |
|
vertices.
Definition at line 37 of file Isocontour.h. |
|
volume data pointer.
Definition at line 39 of file Isocontour.h. |
|
Definition at line 40 of file Isocontour.h. |
|
Definition at line 40 of file Isocontour.h. |
|
axes/size of volume.
Definition at line 40 of file Isocontour.h. |