HE_Mesh  6.0.1
wblut.hemesh.HEC_Creator Class Referenceabstract
+ Inheritance diagram for wblut.hemesh.HEC_Creator:

Public Member Functions

 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)
 
String getName ()
 
void setName (final String name)
 

Public Attributes

PApplet home
 

Protected Member Functions

abstract HE_Mesh createBase ()
 

Protected Attributes

WB_Point center
 
double zangle
 
WB_Vector zaxis
 
boolean override
 
boolean override2D
 
boolean toModelview
 
WB_Vector Z
 
boolean manifoldCheck
 
double scale
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 

Detailed Description

Abstract base class for mesh creation. Implementation should return a valid HE_Mesh.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEC_Creator.HEC_Creator ( )

Constructor.

References wblut.geom.WB_Vector.Z.

Member Function Documentation

HE_Mesh wblut.hemesh.HEC_Creator.apply ( final HE_Mesh  mesh)
HE_Mesh wblut.hemesh.HEC_Creator.apply ( final HE_Selection  sel)
abstract HE_Mesh wblut.hemesh.HEC_Creator.createBase ( )
abstractprotected

Creates the base.

Returns
HE_Mesh
HEC_Creator wblut.hemesh.HEC_Creator.setCenter ( final double  x,
final double  y,
final double  z 
)

Set center of mesh.

Parameters
xx-coordinate of center
yy-coordinate of center
zz-coordinate of center
Returns
self

References wblut.geom.WB_MutableCoordinate.set().

HEC_Creator wblut.hemesh.HEC_Creator.setCenter ( final WB_Coord  c)

Set center of mesh.

Parameters
ccenter
Returns
self

References wblut.geom.WB_MutableCoordinate.set().

HEC_Creator wblut.hemesh.HEC_Creator.setManifoldCheck ( final boolean  b)
Parameters
b
Returns
HEC_Creator wblut.hemesh.HEC_Creator.setOverride ( final boolean  b)
Parameters
b
Returns
HEC_Creator wblut.hemesh.HEC_Creator.setScale ( final double  s)
Parameters
s
Returns
HEC_Creator wblut.hemesh.HEC_Creator.setToModelview ( final PApplet  home)

Use the applet's modelview coordinates.

Parameters
homecalling applet, typically "this"
Returns
self

References wblut.hemesh.HEC_Creator.home.

HEC_Creator wblut.hemesh.HEC_Creator.setToWorldview ( )

Use absolute coordinates.

Returns
self
HEC_Creator wblut.hemesh.HEC_Creator.setZAngle ( final double  a)

Rotation of mesh about local Z-axis.

Parameters
aangle
Returns
self
HEC_Creator wblut.hemesh.HEC_Creator.setZAxis ( final double  x,
final double  y,
final double  z 
)

Orientation of local Z-axis of mesh.

Parameters
xx-coordinate of axis vector
yy-coordinate of axis vector
zz-coordinate of axis vector
Returns
self

References wblut.geom.WB_Vector.normalizeSelf(), and wblut.geom.WB_MutableCoordinate.set().

HEC_Creator wblut.hemesh.HEC_Creator.setZAxis ( final double  p0x,
final double  p0y,
final double  p0z,
final double  p1x,
final double  p1y,
final double  p1z 
)

Local Z-axis of mesh.

Parameters
p0xx-coordinate of first point on axis
p0yy-coordinate of first point on axis
p0zz-coordinate of first point on axis
p1xx-coordinate of second point on axis
p1yy-coordinate of second point on axis
p1zz-coordinate of second point on axis
Returns
self

References wblut.geom.WB_Vector.normalizeSelf(), and wblut.geom.WB_MutableCoordinate.set().

HEC_Creator wblut.hemesh.HEC_Creator.setZAxis ( final WB_Coord  p)

Orientation of local Z-axis of mesh.

Parameters
paxis vector
Returns
self

References wblut.geom.WB_Vector.normalizeSelf(), and wblut.geom.WB_MutableCoordinate.set().

HEC_Creator wblut.hemesh.HEC_Creator.setZAxis ( final WB_Coord  p0,
final WB_Coord  p1 
)

Local Z-axis of mesh.

Parameters
p0first point on axis
p1second point on axis
Returns
self

References wblut.geom.WB_Vector.normalizeSelf(), wblut.geom.WB_MutableCoordinate.set(), and wblut.geom.WB_Vector.sub().

Member Data Documentation

WB_Point wblut.hemesh.HEC_Creator.center
protected

Center.

PApplet wblut.hemesh.HEC_Creator.home

Calling applet.

boolean wblut.hemesh.HEC_Creator.manifoldCheck
protected
boolean wblut.hemesh.HEC_Creator.override
protected

Override.

boolean wblut.hemesh.HEC_Creator.override2D
protected
double wblut.hemesh.HEC_Creator.scale
protected
boolean wblut.hemesh.HEC_Creator.toModelview
protected

Use applet model coordinates.

WB_Vector wblut.hemesh.HEC_Creator.Z
protected

Base Z-axis.

double wblut.hemesh.HEC_Creator.zangle
protected

Rotation angle about Z-axis.

WB_Vector wblut.hemesh.HEC_Creator.zaxis
protected

Z-axis.


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