|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.svg.SVGHyperCube
public class SVGHyperCube

Utility class to draw hypercubes, wireframe and filled.
| Constructor Summary | |
|---|---|
SVGHyperCube()
|
|
| Method Summary | ||
|---|---|---|
static Element |
drawFilled(SVGPlot svgp,
String cls,
Projection2D proj,
Vector min,
Vector max)
Filled hypercube. |
|
static
|
drawFilled(SVGPlot svgp,
String cls,
Projection2D proj,
V min,
V max)
Filled hypercube. |
|
static Element |
drawFrame(SVGPlot svgp,
Projection2D proj,
Vector min,
Vector max)
Wireframe hypercube. |
|
static
|
drawFrame(SVGPlot svgp,
Projection2D proj,
V min,
V max)
Wireframe hypercube. |
|
private static ArrayList<double[]> |
getVisibleEdges(Projection2D proj,
Vector s_min,
Vector s_max)
Get the visible (non-0) edges of a hypercube |
|
private static void |
recDrawEdges(SVGPath path,
double[] r_min,
List<double[]> r_edges,
int off,
BitSet b)
Recursive helper for hypercube drawing. |
|
private static void |
recDrawSides(SVGPlot plot,
Element group,
String cls,
double[] r_min,
List<double[]> r_edges,
int off,
BitSet b)
Recursive helper for hypercube drawing. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGHyperCube()
| Method Detail |
|---|
public static Element drawFrame(SVGPlot svgp,
Projection2D proj,
Vector min,
Vector max)
svgp - SVG Plotproj - Visualization projectionmin - First cornermax - Opposite corner
public static <V extends NumberVector<V,?>> Element drawFrame(SVGPlot svgp,
Projection2D proj,
V min,
V max)
V - vector typesvgp - SVG Plotproj - Visualization projectionmin - First cornermax - Opposite corner
public static Element drawFilled(SVGPlot svgp,
String cls,
Projection2D proj,
Vector min,
Vector max)
svgp - SVG Plotcls - CSS class to use.proj - Visualization projectionmin - First cornermax - Opposite corner
public static <V extends NumberVector<V,?>> Element drawFilled(SVGPlot svgp,
String cls,
Projection2D proj,
V min,
V max)
V - vector typesvgp - SVG Plotcls - CSS class to use.proj - Visualization projectionmin - First cornermax - Opposite corner
private static ArrayList<double[]> getVisibleEdges(Projection2D proj,
Vector s_min,
Vector s_max)
proj - Projections_min - Minimum value (in scaled space)s_max - Maximum value (in scaled space)
private static void recDrawEdges(SVGPath path,
double[] r_min,
List<double[]> r_edges,
int off,
BitSet b)
path - pathr_min - starting cornerr_edges - edge vectorsoff - recursion offset (to avoid multi-recursion)b - bit set of drawn edges
private static void recDrawSides(SVGPlot plot,
Element group,
String cls,
double[] r_min,
List<double[]> r_edges,
int off,
BitSet b)
plot - Plotgroup - Group elementcls - CSS classr_min - starting cornerr_edges - edge vectorsoff - recursion offset (to avoid multi-recursion)b - bit set of drawn edges
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||