public class WingedEdge
extends de.jreality.scene.IndexedFaceSet
Modifier and Type | Class and Description |
---|---|
class |
WingedEdge.Edge |
class |
WingedEdge.Face |
class |
WingedEdge.Vertex |
Modifier and Type | Field and Description |
---|---|
Vector<WingedEdge.Edge> |
edgeList |
Vector<WingedEdge.Face> |
faceList |
Vector<WingedEdge.Vertex> |
vertexList |
Constructor and Description |
---|
WingedEdge() |
WingedEdge(double d) |
WingedEdge(double xs,
double ys,
double zs) |
WingedEdge(double xn,
double xx,
double yn,
double yx,
double zn,
double zx) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateAndSetEdgesFromFaces(de.jreality.scene.IndexedFaceSet ifs) |
void |
cutEdges() |
void |
cutFaces(WingedEdge.Face new_face) |
void |
cutWithPlane(double[] aPlane) |
void |
cutWithPlane(double[][] planes) |
void |
cutWithPlane(double[] aPlane,
int aTag) |
boolean |
cutWithPlane(double[] aPlane,
int aTag,
Object s) |
double[][] |
getColormap() |
Vector<WingedEdge.Edge> |
getEdgeList() |
Vector<WingedEdge.Face> |
getFaceList() |
double[][] |
getFaceWithIndex(int i) |
int |
getFirstFaceWithTag(int t) |
int |
getMetric() |
Vector<WingedEdge.Vertex> |
getVertexList() |
void |
init() |
void |
initAsBoxOfSize(double xs,
double ys,
double zs) |
void |
initAsCubeOfSize(double size) |
boolean |
isColoredFaces() |
void |
normalize(double scale) |
WingedEdge |
polarize() |
WingedEdge |
polarize(double scale) |
void |
removeDeadEdges() |
void |
removeDeadVertices() |
void |
removeEdge(int[] edges) |
void |
removeEdge(WingedEdge.Edge e) |
void |
reset() |
void |
setColoredFaces(boolean coloredFaces) |
void |
setColormap(double[][] grid) |
void |
setEdgeList(Vector vector) |
void |
setFaceList(Vector vector) |
void |
setMetric(int metric) |
void |
setVertexList(Vector vector) |
String |
toString() |
void |
update() |
WingedEdge.Vertex |
vertexExists(double[] pt) |
accept, getFaceAttributes, getFaceAttributes, getNumFaces, setFaceAttributes, setFaceAttributes, setFaceCountAndAttributes, setFaceCountAndAttributes, setNumFaces
getEdgeAttributes, getEdgeAttributes, getNumEdges, setEdgeAttributes, setEdgeAttributes, setEdgeCountAndAttributes, setEdgeCountAndAttributes, setNumEdges
getNumPoints, getVertexAttributes, getVertexAttributes, setNumPoints, setVertexAttributes, setVertexAttributes, setVertexCountAndAttributes, setVertexCountAndAttributes
addGeometryListener, fireGeometryAttributesChanged, fireGeometryChanged, fireGeometryChangedImpl, fireGeometryDataChanged, getAttributes, getAttributes, getAttributes, getAttributes, getGeometryAttributeCathegories, getGeometryAttributes, getGeometryAttributes, getNumEntries, removeGeometryListener, setAttributes, setAttributes, setAttributes, setAttributes, setCountAndAttributes, setCountAndAttributes, setCountAndAttributes, setCountAndAttributes, setGeometryAttributes, setGeometryAttributes, setNumEntries, setNumEntries, writingFinished
public Vector<WingedEdge.Edge> edgeList
public Vector<WingedEdge.Face> faceList
public Vector<WingedEdge.Vertex> vertexList
public WingedEdge()
public WingedEdge(double d)
public WingedEdge(double xs, double ys, double zs)
public WingedEdge(double xn, double xx, double yn, double yx, double zn, double zx)
protected void calculateAndSetEdgesFromFaces(de.jreality.scene.IndexedFaceSet ifs)
public void cutEdges()
public void cutFaces(WingedEdge.Face new_face)
public void cutWithPlane(double[] aPlane)
public void cutWithPlane(double[][] planes)
public void cutWithPlane(double[] aPlane, int aTag)
public boolean cutWithPlane(double[] aPlane, int aTag, Object s)
public double[][] getColormap()
public Vector<WingedEdge.Edge> getEdgeList()
public Vector<WingedEdge.Face> getFaceList()
public double[][] getFaceWithIndex(int i)
public int getFirstFaceWithTag(int t)
public int getMetric()
public Vector<WingedEdge.Vertex> getVertexList()
public void init()
public void initAsBoxOfSize(double xs, double ys, double zs)
public void initAsCubeOfSize(double size)
public boolean isColoredFaces()
public void normalize(double scale)
public WingedEdge polarize()
public WingedEdge polarize(double scale)
public void removeDeadEdges()
public void removeDeadVertices()
public void removeEdge(int[] edges)
public void removeEdge(WingedEdge.Edge e)
public void reset()
public void setColoredFaces(boolean coloredFaces)
public void setColormap(double[][] grid)
grid
- public void setEdgeList(Vector vector)
vector
- public void setFaceList(Vector vector)
vector
- public void setMetric(int metric)
metric
- The metric to set.public void setVertexList(Vector vector)
vector
- public String toString()
toString
in class de.jreality.scene.SceneGraphNode
public void update()
public WingedEdge.Vertex vertexExists(double[] pt)