HE_Mesh  5.1.0
wblut.hemesh.HEC_IsoSurfaceSNAP2D Class Reference
+ Inheritance diagram for wblut.hemesh.HEC_IsoSurfaceSNAP2D:

Classes

class  VertexRemap
 

Public Member Functions

 HEC_IsoSurfaceSNAP2D ()
 
HEC_IsoSurfaceSNAP2D setGamma (final double gamma)
 
HEC_IsoSurfaceSNAP2D setResolution (final int resx, final int resy)
 
HEC_IsoSurfaceSNAP2D setSize (final double dx, final double dy)
 
HEC_IsoSurfaceSNAP2D setValues (final double[][] values)
 
HEC_IsoSurfaceSNAP2D setValues (final float[][] values)
 
HEC_IsoSurfaceSNAP2D setIsolevel (final double v)
 
HEC_IsoSurfaceSNAP2D setBoundary (final double v)
 
HEC_IsoSurfaceSNAP2D clearBoundary ()
 
HEC_IsoSurfaceSNAP2D setInvert (final boolean invert)
 
HEC_IsoSurfaceSNAP2D setCenter (final WB_Coord 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 setScale (final double s)
 
HEC_Creator setCenter (final WB_Coord 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_Coord p)
 
HEC_Creator setZAxis (final WB_Coord p0, final WB_Coord p1)
 
HEC_Creator setToModelview (final PApplet home)
 
HEC_Creator setToWorldview ()
 
HEC_Creator setManifoldCheck (final boolean b)
 
HEC_Creator setOverride (final boolean b)
 
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)
 

Static Public Member Functions

static void main (final String[] args)
 

Protected Member Functions

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

Private Member Functions

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

Private Attributes

double[][] values
 
int resx
 
double cx
 
double dx
 
double isolevel
 
double boundary
 
TIntObjectMap< HE_Vertexxedges
 
TIntObjectMap< HE_Vertexyedges
 
TIntObjectMap< HE_Vertexvertices
 
TIntObjectMap< VertexRemap > vertexremaps
 
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 WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 
- Protected Attributes inherited from wblut.hemesh.HEC_Creator
WB_Point center
 
double zangle
 
WB_Vector zaxis
 
boolean override
 
boolean toModelview
 
WB_Vector Z
 
boolean manifoldCheck
 
double scale
 

Constructor & Destructor Documentation

wblut.hemesh.HEC_IsoSurfaceSNAP2D.HEC_IsoSurfaceSNAP2D ( )

Member Function Documentation

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

Classify cell.

Parameters
ithe i
jthe j
Returns
the int
HEC_IsoSurfaceSNAP2D wblut.hemesh.HEC_IsoSurfaceSNAP2D.clearBoundary ( )

Clear boundary level.

Returns
self
HE_Mesh wblut.hemesh.HEC_IsoSurfaceSNAP2D.createBase ( )
protected
void wblut.hemesh.HEC_IsoSurfaceSNAP2D.getPolygons ( final int  i,
final int  j,
final int  cubeindex,
final WB_Point  offset,
final boolean  dummyrun 
)
private

Gets the polygons.

Parameters
ithe i
jthe j
cubeindexthe cubeindex
offset
dummyrun
Returns
the polygons
int wblut.hemesh.HEC_IsoSurfaceSNAP2D.index ( final int  i,
final int  j 
)
private
Parameters
i
j
Returns
WB_Point wblut.hemesh.HEC_IsoSurfaceSNAP2D.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
static void wblut.hemesh.HEC_IsoSurfaceSNAP2D.main ( final String[]  args)
static
void wblut.hemesh.HEC_IsoSurfaceSNAP2D.mapvertices ( )
private
void wblut.hemesh.HEC_IsoSurfaceSNAP2D.polygonise ( )
private

Polygonise.

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

Boundary level.

Parameters
vboundary level
Returns
self
HEC_IsoSurfaceSNAP2D wblut.hemesh.HEC_IsoSurfaceSNAP2D.setCenter ( final WB_Coord  c)
HEC_IsoSurfaceSNAP2D wblut.hemesh.HEC_IsoSurfaceSNAP2D.setGamma ( final double  gamma)
Parameters
gamma
Returns
HEC_IsoSurfaceSNAP2D wblut.hemesh.HEC_IsoSurfaceSNAP2D.setInvert ( final boolean  invert)

Invert isosurface.

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

Isolevel to render.

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

Number of cells.

Parameters
resxthe resx
resythe resy
Returns
self
HEC_IsoSurfaceSNAP2D wblut.hemesh.HEC_IsoSurfaceSNAP2D.setSize ( final double  dx,
final double  dy 
)

Size of cell.

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

Values at grid points.

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

Sets the values.

Parameters
valuesfloat[resx+1][resy+1]
Returns
self
double wblut.hemesh.HEC_IsoSurfaceSNAP2D.value ( final int  i,
final int  j 
)
private
Parameters
i
j
Returns
HE_Vertex wblut.hemesh.HEC_IsoSurfaceSNAP2D.vertex ( final int  i,
final int  j,
final WB_Point  offset 
)
private
Parameters
i
j
offset
Returns
HE_Vertex wblut.hemesh.HEC_IsoSurfaceSNAP2D.xedge ( final int  i,
final int  j,
final WB_Point  offset,
final boolean  dummyrun 
)
private

Xedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
offset
dummyrun
Returns
edge vertex
HE_Vertex wblut.hemesh.HEC_IsoSurfaceSNAP2D.yedge ( final int  i,
final int  j,
final WB_Point  offset,
final boolean  dummyrun 
)
private

Yedge.

Parameters
ii: -1 .. resx+1
jj: -1 .. resy+1
offset
dummyrun
Returns
edge vertex

Member Data Documentation

double wblut.hemesh.HEC_IsoSurfaceSNAP2D.boundary
private
double wblut.hemesh.HEC_IsoSurfaceSNAP2D.cx
private
double wblut.hemesh.HEC_IsoSurfaceSNAP2D.dx
private
boolean wblut.hemesh.HEC_IsoSurfaceSNAP2D.invert
private
double wblut.hemesh.HEC_IsoSurfaceSNAP2D.isolevel
private
int wblut.hemesh.HEC_IsoSurfaceSNAP2D.resx
private
double [][] wblut.hemesh.HEC_IsoSurfaceSNAP2D.values
private
TIntObjectMap<VertexRemap> wblut.hemesh.HEC_IsoSurfaceSNAP2D.vertexremaps
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurfaceSNAP2D.vertices
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurfaceSNAP2D.xedges
private
TIntObjectMap<HE_Vertex> wblut.hemesh.HEC_IsoSurfaceSNAP2D.yedges
private

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