public static class FemElementRenderer.QuadraticTriFacePatch extends java.lang.Object implements FemElementRenderer.WidgetFacePatch
Constructor and Description |
---|
QuadraticTriFacePatch(int v0,
int v1,
int v2,
int vm01,
int vm12,
int vm20,
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 QuadraticTriFacePatch(int v0, int v1, int v2, int vm01, int vm12, int vm20, 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