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

Public Member Functions

 HEC_IsoGrid ()
 
HEC_IsoGrid setSize (final double dx, final double dy, final double dz)
 
HEC_IsoGrid setValues (final WB_HashGrid values)
 
HEC_IsoGrid setIsolevel (final double v)
 
HEC_IsoGrid setInvert (final boolean invert)
 
HEC_IsoGrid setGridCenter (final WB_Point c)
 
HEC_IsoGrid setGridCenter (final double x, final double y, final double z)
 
- 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

WB_HashGrid values
 
int resx
 
double cx
 
double dx
 
double isolevel
 
double boundary
 
FastMap< Integer, HE_Vertexxedges
 
FastMap< Integer, HE_Vertexyedges
 
FastMap< Integer, 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_IsoGrid.HEC_IsoGrid ( )

Instantiates a new HEC_IsoGrid.

Member Function Documentation

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

Classify cell.

Parameters
ithe i
jthe j
kthe k
Returns
the int
HE_Mesh wblut.hemesh.HEC_IsoGrid.createBase ( )
protected
void wblut.hemesh.HEC_IsoGrid.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_IsoGrid.index ( final int  i,
final int  j,
final int  k 
)
private

Index.

Parameters
ithe i
jthe j
kthe k
Returns
the int
HE_Vertex wblut.hemesh.HEC_IsoGrid.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_IsoGrid.polygonise ( )
private

Polygonise.

HEC_IsoGrid wblut.hemesh.HEC_IsoGrid.setGridCenter ( final WB_Point  c)

Sets the grid center.

Parameters
cthe c
Returns
the hE c_ iso grid
HEC_IsoGrid wblut.hemesh.HEC_IsoGrid.setGridCenter ( final double  x,
final double  y,
final double  z 
)

Sets the grid center.

Parameters
xthe x
ythe y
zthe z
Returns
the hE c_ iso grid
HEC_IsoGrid wblut.hemesh.HEC_IsoGrid.setInvert ( final boolean  invert)

Invert isosurface.

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

Isolevel.

Parameters
visolevel
Returns
self
HEC_IsoGrid wblut.hemesh.HEC_IsoGrid.setSize ( final double  dx,
final double  dy,
final double  dz 
)

Size of cell.

Parameters
dxthe dx
dythe dy
dzthe dz
Returns
self
HEC_IsoGrid wblut.hemesh.HEC_IsoGrid.setValues ( final WB_HashGrid  values)

Values at grid points.

Parameters
valuesWB_HashGrid
Returns
self
double wblut.hemesh.HEC_IsoGrid.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_IsoGrid.xedge ( final int  i,
final int  j,
final int  k 
)
private

Xedge.

Parameters
ithe i
jthe j
kthe k
Returns
the h e_ vertex
HE_Vertex wblut.hemesh.HEC_IsoGrid.yedge ( final int  i,
final int  j,
final int  k 
)
private

Yedge.

Parameters
ithe i
jthe j
kthe k
Returns
the h e_ vertex
HE_Vertex wblut.hemesh.HEC_IsoGrid.zedge ( final int  i,
final int  j,
final int  k 
)
private

Zedge.

Parameters
ithe i
jthe j
kthe k
Returns
the h e_ vertex

Member Data Documentation

double wblut.hemesh.HEC_IsoGrid.boundary
private

The boundary.

double wblut.hemesh.HEC_IsoGrid.cx
private

The cz.

double wblut.hemesh.HEC_IsoGrid.dx
private

The dz.

boolean wblut.hemesh.HEC_IsoGrid.invert
private

The invert.

double wblut.hemesh.HEC_IsoGrid.isolevel
private

The isolevel.

int wblut.hemesh.HEC_IsoGrid.resx
private

The resz.

WB_HashGrid wblut.hemesh.HEC_IsoGrid.values
private

The values.

final HE_Vertex [] wblut.hemesh.HEC_IsoGrid.vertlist
private

The vertlist.

FastMap<Integer, HE_Vertex> wblut.hemesh.HEC_IsoGrid.xedges
private

The xedges.

FastMap<Integer, HE_Vertex> wblut.hemesh.HEC_IsoGrid.yedges
private

The yedges.

FastMap<Integer, HE_Vertex> wblut.hemesh.HEC_IsoGrid.zedges
private

The zedges.


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