HE_Mesh2014  2.0.11
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
wblut.hemesh.HEC_IsoSurface Class Reference
+ Inheritance diagram for wblut.hemesh.HEC_IsoSurface:

Public Member Functions

 HEC_IsoSurface ()
 
HEC_IsoSurface setResolution (final int resx, final int resy, final int resz)
 
HEC_IsoSurface setSize (final double dx, final double dy, final double dz)
 
HEC_IsoSurface setValues (final double[][][] values)
 
HEC_IsoSurface setValues (final float[][][] values)
 
HEC_IsoSurface setIsolevel (final double v)
 
HEC_IsoSurface setBoundary (final double v)
 
HEC_IsoSurface clearBoundary ()
 
HEC_IsoSurface setInvert (final boolean invert)
 
HEC_IsoSurface setCenter (final WB_Point c)
 
- Public Member Functions inherited from wblut.hemesh.HEC_Creator
 HEC_Creator ()
 
HEC_Creator setCenter (final double x, final double y, final double z)
 
HEC_Creator setCenter (final WB_Point c)
 
HEC_Creator setZAngle (final double a)
 
HEC_Creator setZAxis (final double x, final double y, final double z)
 
HEC_Creator setZAxis (final double p0x, final double p0y, final double p0z, final double p1x, final double p1y, final double p1z)
 
HEC_Creator setZAxis (final WB_Point p)
 
HEC_Creator setZAxis (final WB_Point p0, final WB_Point p1)
 
HEC_Creator setToModelview (final PApplet home)
 
HEC_Creator setToWorldview ()
 
final HE_Mesh create ()
 
HE_Mesh apply (final HE_Mesh mesh)
 
HE_Mesh apply (final HE_Selection sel)
 
- Public Member Functions inherited from wblut.hemesh.HE_Machine
abstract HE_Mesh apply (HE_Mesh mesh)
 
abstract HE_Mesh apply (HE_Selection selection)
 
String getStatus ()
 

Protected Member Functions

HE_Mesh createBase ()
 
- Protected Member Functions inherited from wblut.hemesh.HEC_Creator
abstract HE_Mesh createBase ()
 

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)
 
HE_Vertex xedge (final int i, final int j, final int k)
 
HE_Vertex yedge (final int i, final int j, final int k)
 
HE_Vertex zedge (final int i, final int j, final int k)
 
HE_Vertex 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)
 

Private Attributes

double[][][] values
 
int resx
 
double cx
 
double dx
 
double isolevel
 
double boundary
 
TIntObjectMap< HE_Vertexxedges
 
TIntObjectMap< HE_Vertexyedges
 
TIntObjectMap< HE_Vertexzedges
 
final HE_Vertex[] vertlist
 
boolean invert
 

Additional Inherited Members

- Public Attributes inherited from wblut.hemesh.HEC_Creator
PApplet home
 
- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final HET_ProgressTracker tracker
 
- Protected Attributes inherited from wblut.hemesh.HEC_Creator
WB_Point center
 
double zangle
 
WB_Vector zaxis
 
boolean override
 
boolean toModelview
 
WB_Vector Z
 

Constructor & Destructor Documentation

wblut.hemesh.HEC_IsoSurface.HEC_IsoSurface ( )

Member Function Documentation

int wblut.hemesh.HEC_IsoSurface.classifyCell ( final int  i,
final int  j,
final int  k 
)
private

Classify cell.

Parameters
ithe i
jthe j
kthe k
Returns
the int
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.clearBoundary ( )

Clear boundary level.

Returns
self
HE_Mesh wblut.hemesh.HEC_IsoSurface.createBase ( )
protected
void wblut.hemesh.HEC_IsoSurface.getPolygons ( final int  i,
final int  j,
final int  k,
final int  cubeindex 
)
private

Gets the polygons.

Parameters
ithe i
jthe j
kthe k
cubeindexthe cubeindex
Returns
the polygons
int wblut.hemesh.HEC_IsoSurface.index ( final int  i,
final int  j,
final int  k 
)
private
Parameters
i
j
k
Returns
HE_Vertex wblut.hemesh.HEC_IsoSurface.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.hemesh.HEC_IsoSurface.polygonise ( )
private

Polygonise.

HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setBoundary ( final double  v)

Boundary level.

Parameters
vboundary level
Returns
self
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setCenter ( final WB_Point  c)
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setInvert ( final boolean  invert)

Invert isosurface.

Parameters
inverttrue/false
Returns
self
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setIsolevel ( final double  v)

Isolevel to render.

Parameters
visolevel
Returns
self
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setResolution ( final int  resx,
final int  resy,
final int  resz 
)

Number of cells.

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

Size of cell.

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

Values at grid points.

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

Sets the values.

Parameters
valuesfloat[resx+1][resy+1][resz+1]
Returns
self
double wblut.hemesh.HEC_IsoSurface.value ( final int  i,
final int  j,
final int  k 
)
private

Value.

Parameters
ithe i
jthe j
kthe k
Returns
the double
HE_Vertex wblut.hemesh.HEC_IsoSurface.xedge ( final int  i,
final int  j,
final int  k 
)
private

Xedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
kk: -1 .. resz+1
Returns
edge vertex
HE_Vertex wblut.hemesh.HEC_IsoSurface.yedge ( final int  i,
final int  j,
final int  k 
)
private

Yedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
kk: -1 .. resz+1
Returns
edge vertex
HE_Vertex wblut.hemesh.HEC_IsoSurface.zedge ( final int  i,
final int  j,
final int  k 
)
private

Zedge.

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

Member Data Documentation

double wblut.hemesh.HEC_IsoSurface.boundary
private
double wblut.hemesh.HEC_IsoSurface.cx
private
double wblut.hemesh.HEC_IsoSurface.dx
private
boolean wblut.hemesh.HEC_IsoSurface.invert
private
double wblut.hemesh.HEC_IsoSurface.isolevel
private
int wblut.hemesh.HEC_IsoSurface.resx
private
double [][][] wblut.hemesh.HEC_IsoSurface.values
private
final HE_Vertex [] wblut.hemesh.HEC_IsoSurface.vertlist
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurface.xedges
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurface.yedges
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurface.zedges
private

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