com.depthexplorer
Class PointSet

java.lang.Object
  extended by com.depthexplorer.PointSet

public class PointSet
extends Object


Nested Class Summary
(package private)  class PointSet.Circle
           
(package private) static interface PointSet.Drawable
           
(package private)  class PointSet.Line
           
 
Field Summary
(package private)  DEMatrix data
           
(package private)  int dim
           
(package private)  DEMatrix gData
           
(package private)  ArrayList<PointSet.Drawable> gObjects
           
 
Constructor Summary
PointSet()
           
 
Method Summary
 void append(double x, double y)
           
 void append(PointSet ps)
           
 void append(javax.vecmath.Vector2d vec2)
           
 int count()
           
 void drawFilledCircle(javax.vecmath.Vector2d center, float radius, Color color)
           
 void drawLine(javax.vecmath.Vector2d start, javax.vecmath.Vector2d end, float thickness, Color color)
           
 void drawStrokedCircle(javax.vecmath.Vector2d center, float radius, float thickness, Color color)
           
 void empty()
           
 void getArray3d(int index, double[] ret)
           
 double[] getDepthList(String depthMeasureId, String parameter)
           
 edu.tufts.cs.geometry.datadepth.DepthMeasure.DepthSet getDepthSet(String depthMeasureId, String parameter)
           
 javax.vecmath.GMatrix getMatrix()
           
 javax.vecmath.Vector2d getVector2d(int index)
           
 void mul(javax.vecmath.GMatrix tmat)
           
 void renderToContext(Graphics2D g2, double pointDim)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

DEMatrix data

gData

DEMatrix gData

gObjects

ArrayList<PointSet.Drawable> gObjects

dim

int dim
Constructor Detail

PointSet

public PointSet()
Method Detail

empty

public void empty()

count

public int count()

drawLine

public void drawLine(javax.vecmath.Vector2d start,
                     javax.vecmath.Vector2d end,
                     float thickness,
                     Color color)

drawFilledCircle

public void drawFilledCircle(javax.vecmath.Vector2d center,
                             float radius,
                             Color color)

drawStrokedCircle

public void drawStrokedCircle(javax.vecmath.Vector2d center,
                              float radius,
                              float thickness,
                              Color color)

append

public void append(javax.vecmath.Vector2d vec2)

append

public void append(PointSet ps)

append

public void append(double x,
                   double y)

mul

public void mul(javax.vecmath.GMatrix tmat)

getVector2d

public javax.vecmath.Vector2d getVector2d(int index)

getArray3d

public void getArray3d(int index,
                       double[] ret)

getMatrix

public javax.vecmath.GMatrix getMatrix()

getDepthList

public double[] getDepthList(String depthMeasureId,
                             String parameter)
                      throws Exception
Throws:
Exception

getDepthSet

public edu.tufts.cs.geometry.datadepth.DepthMeasure.DepthSet getDepthSet(String depthMeasureId,
                                                                         String parameter)
                                                                  throws Exception
Throws:
Exception

renderToContext

public void renderToContext(Graphics2D g2,
                            double pointDim)