HE_Mesh2014  2.0.11
Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | List of all members
wblut.processing.WB_SelectRender3D Class Reference

Public Member Functions

 WB_SelectRender3D (final PApplet home)
 
void drawFaces (final HE_MeshStructure mesh)
 
void drawEdges (final HE_MeshStructure mesh, final double d)
 
void drawVertices (final HE_MeshStructure mesh, final double d)
 
long getKeyAA (final int x, final int y)
 
long getKey (final int x, final int y)
 
long getKey ()
 
long getKeyAA ()
 
void image ()
 

Static Public Attributes

static final WB_GeometryFactory geometryfactory
 

Protected Attributes

int currentColor
 
HashMap< Integer, Long > colorToObject
 

Private Member Functions

void drawFace (final HE_Face f)
 
void setKey (final Long i)
 

Private Attributes

final PApplet home
 
final PGraphics3D selector
 
final int[] samples
 
final double scale
 

Constructor & Destructor Documentation

wblut.processing.WB_SelectRender3D.WB_SelectRender3D ( final PApplet  home)
Parameters
home

Member Function Documentation

void wblut.processing.WB_SelectRender3D.drawEdges ( final HE_MeshStructure  mesh,
final double  d 
)

Draw mesh edges.

Parameters
meshthe mesh
d
Returns
key of edge at mouse position
void wblut.processing.WB_SelectRender3D.drawFace ( final HE_Face  f)
private

Draw one face.

Parameters
fface
void wblut.processing.WB_SelectRender3D.drawFaces ( final HE_MeshStructure  mesh)

Draw mesh faces. Typically used with noStroke();

Parameters
meshthe mesh
Returns
key of face at mouse position
void wblut.processing.WB_SelectRender3D.drawVertices ( final HE_MeshStructure  mesh,
final double  d 
)

Draw mesh vertices as box.

Parameters
meshthe mesh
dsize of box
Returns
key of vertex at mouse position
long wblut.processing.WB_SelectRender3D.getKey ( final int  x,
final int  y 
)
Parameters
x
y
Returns
long wblut.processing.WB_SelectRender3D.getKey ( )
Returns
long wblut.processing.WB_SelectRender3D.getKeyAA ( final int  x,
final int  y 
)
Parameters
x
y
Returns
long wblut.processing.WB_SelectRender3D.getKeyAA ( )
Returns
void wblut.processing.WB_SelectRender3D.image ( )
void wblut.processing.WB_SelectRender3D.setKey ( final Long  i)
private

Set the key.

Parameters
inew key

Member Data Documentation

HashMap<Integer, Long> wblut.processing.WB_SelectRender3D.colorToObject
protected

The color to object.

int wblut.processing.WB_SelectRender3D.currentColor
protected

The current_color.

final WB_GeometryFactory wblut.processing.WB_SelectRender3D.geometryfactory
static
Initial value:
= WB_GeometryFactory
.instance()
final PApplet wblut.processing.WB_SelectRender3D.home
private
final int [] wblut.processing.WB_SelectRender3D.samples
private
final double wblut.processing.WB_SelectRender3D.scale
private
final PGraphics3D wblut.processing.WB_SelectRender3D.selector
private

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