public static class FemElementRenderer.QuadraticQuadFacePatch extends java.lang.Object implements FemElementRenderer.WidgetFacePatch
Constructor and Description |
---|
QuadraticQuadFacePatch(int v0,
int v1,
int v2,
int v3,
int vm01,
int vm12,
int vm23,
int vm30,
int nsegs) |
Modifier and Type | Method and Description |
---|---|
void |
addFaces(RenderObject r)
Adds triangles for widget face
|
void |
addFaces(RenderObject r,
FeatureIndexArray faces)
adds triangles for widget face
|
void |
updateFaces(RenderObject r)
Updates positions and normals of patch vertices
|
public QuadraticQuadFacePatch(int v0, int v1, int v2, int v3, int vm01, int vm12, int vm23, int vm30, int nsegs)
public void addFaces(RenderObject r)
FemElementRenderer.WidgetFacePatch
addFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to add topublic void addFaces(RenderObject r, FeatureIndexArray faces)
FemElementRenderer.WidgetFacePatch
addFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to add tofaces
- face index list to add to (ignored if null)public void updateFaces(RenderObject r)
FemElementRenderer.WidgetFacePatch
updateFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to update