HE_Mesh  5.1.2
wblut.geom.WB_IsoSurfaceVOL Class Reference

Public Member Functions

 WB_IsoSurfaceVOL ()
 
WB_IsoSurfaceVOL setResolution (final int resx, final int resy, final int resz)
 
WB_IsoSurfaceVOL setSize (final double dx, final double dy, final double dz)
 
WB_IsoSurfaceVOL setValues (final double[][][] values)
 
WB_IsoSurfaceVOL setValues (final float[][][] values)
 
WB_IsoSurfaceVOL setValues (final WB_ScalarParameter function, final double xi, final double yi, final double zi, final double dx, final double dy, final double dz)
 
WB_IsoSurfaceVOL setValues (final WB_HashGridDouble values)
 
WB_IsoSurfaceVOL setIsolevel (final double isolevelmin, final double isolevelmax)
 
WB_IsoSurfaceVOL setCenter (final WB_Coord c)
 
List< WB_TetrahedrongetTetrahedra ()
 

Private Member Functions

int index (final int i, final int j, final int k)
 
double value (final int i, final int j, final int k)
 
WB_Point vertex (final int i, final int j, final int k, final WB_Point offset)
 
WB_Point xedge (final int i, final int j, final int k, final WB_Point offset, final double isolevel)
 
WB_Point yedge (final int i, final int j, final int k, final WB_Point offset, final double isolevel)
 
WB_Point zedge (final int i, final int j, final int k, final WB_Point offset, final double isolevel)
 
WB_Point interp (final double isolevel, final WB_Point p1, final WB_Point p2, final double valp1, final double valp2)
 
int classifyCell (final int i, final int j, final int k)
 
void polygonise ()
 
void getPolygons (final int i, final int j, final int k, final int cubeindex, final WB_Point offset)
 

Private Attributes

WB_IsoValues3D values
 
int resx
 
double cx
 
double dx
 
double isolevelmin
 
TIntObjectMap< WB_Pointxedges
 
TIntObjectMap< WB_Pointyedges
 
TIntObjectMap< WB_Pointzedges
 
TIntObjectMap< WB_Pointvertices
 
List< WB_Tetrahedrontetra
 

Constructor & Destructor Documentation

wblut.geom.WB_IsoSurfaceVOL.WB_IsoSurfaceVOL ( )

Member Function Documentation

int wblut.geom.WB_IsoSurfaceVOL.classifyCell ( final int  i,
final int  j,
final int  k 
)
private

Classify cell.

Parameters
ithe i
jthe j
kthe k
Returns
the int
void wblut.geom.WB_IsoSurfaceVOL.getPolygons ( final int  i,
final int  j,
final int  k,
final int  cubeindex,
final WB_Point  offset 
)
private

Gets the polygons.

Parameters
ithe i
jthe j
kthe k
cubeindexthe cubeindex
offset
Returns
the polygons
List<WB_Tetrahedron> wblut.geom.WB_IsoSurfaceVOL.getTetrahedra ( )
int wblut.geom.WB_IsoSurfaceVOL.index ( final int  i,
final int  j,
final int  k 
)
private
Parameters
i
j
k
Returns
WB_Point wblut.geom.WB_IsoSurfaceVOL.interp ( final double  isolevel,
final WB_Point  p1,
final WB_Point  p2,
final double  valp1,
final double  valp2 
)
private

Interp.

Parameters
isolevelthe isolevel
p1the p1
p2the p2
valp1the valp1
valp2the valp2
Returns
the h e_ vertex
void wblut.geom.WB_IsoSurfaceVOL.polygonise ( )
private

Polygonise.

WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setCenter ( final WB_Coord  c)
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setIsolevel ( final double  isolevelmin,
final double  isolevelmax 
)
Parameters
isolevelmin
isolevelmax
Returns
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setResolution ( final int  resx,
final int  resy,
final int  resz 
)

Number of cells.

Parameters
resxthe resx
resythe resy
reszthe resz
Returns
self
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setSize ( final double  dx,
final double  dy,
final double  dz 
)

Size of cell.

Parameters
dx
dy
dz
Returns
self
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setValues ( final double  values[][][])

Values at grid points.

Parameters
valuesdouble[resx+1][resy+1][resz+1]
Returns
self
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setValues ( final float  values[][][])

Sets the values.

Parameters
valuesfloat[resx+1][resy+1][resz+1]
Returns
self
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setValues ( final WB_ScalarParameter  function,
final double  xi,
final double  yi,
final double  zi,
final double  dx,
final double  dy,
final double  dz 
)
Parameters
function
xi
yi
zi
dx
dy
dz
Returns
WB_IsoSurfaceVOL wblut.geom.WB_IsoSurfaceVOL.setValues ( final WB_HashGridDouble  values)
Parameters
values
Returns
double wblut.geom.WB_IsoSurfaceVOL.value ( final int  i,
final int  j,
final int  k 
)
private

Value.

Parameters
ithe i
jthe j
kthe k
Returns
the double
WB_Point wblut.geom.WB_IsoSurfaceVOL.vertex ( final int  i,
final int  j,
final int  k,
final WB_Point  offset 
)
private
Parameters
i
j
k
offset
Returns
WB_Point wblut.geom.WB_IsoSurfaceVOL.xedge ( final int  i,
final int  j,
final int  k,
final WB_Point  offset,
final double  isolevel 
)
private

Xedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
kk: -1 .. resz+1
offset
isolevel
Returns
edge vertex
WB_Point wblut.geom.WB_IsoSurfaceVOL.yedge ( final int  i,
final int  j,
final int  k,
final WB_Point  offset,
final double  isolevel 
)
private

Yedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
kk: -1 .. resz+1
offset
isolevel
Returns
edge vertex
WB_Point wblut.geom.WB_IsoSurfaceVOL.zedge ( final int  i,
final int  j,
final int  k,
final WB_Point  offset,
final double  isolevel 
)
private

Zedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
kk: -1 .. resz+1
offset
isolevel
Returns
edge vertex

Member Data Documentation

double wblut.geom.WB_IsoSurfaceVOL.cx
private
double wblut.geom.WB_IsoSurfaceVOL.dx
private
double wblut.geom.WB_IsoSurfaceVOL.isolevelmin
private
int wblut.geom.WB_IsoSurfaceVOL.resx
private
List<WB_Tetrahedron> wblut.geom.WB_IsoSurfaceVOL.tetra
private
WB_IsoValues3D wblut.geom.WB_IsoSurfaceVOL.values
private
TIntObjectMap<WB_Point> wblut.geom.WB_IsoSurfaceVOL.vertices
private
TIntObjectMap<WB_Point> wblut.geom.WB_IsoSurfaceVOL.xedges
private
TIntObjectMap<WB_Point> wblut.geom.WB_IsoSurfaceVOL.yedges
private
TIntObjectMap<WB_Point> wblut.geom.WB_IsoSurfaceVOL.zedges
private

The documentation for this class was generated from the following file: