maslab.vis
Class VisEllipse

java.lang.Object
  extended by maslab.vis.VisObject
      extended by maslab.vis.VisEllipse
Direct Known Subclasses:
VisGaussianEllipse

public class VisEllipse
extends VisObject

An ellipse.


Field Summary
 java.awt.Color color
           
 double size
           
 double theta
           
 double x
           
 double xx
           
 double xy
           
 double y
           
 double yy
           
 
Fields inherited from class maslab.vis.VisObject
coordinateSpace, SCREENSPACE, WORLDSPACE
 
Constructor Summary
VisEllipse(java.awt.Color color, double x, double y, double xx, double xy, double yy)
           
 
Method Summary
 void paint(VisCanvas vc, java.awt.Graphics2D g, java.awt.image.BufferedImage bi)
          Overriden by each subclass to draw itself onto the provided graphics context.
 void set(double x, double y, double xx, double xy, double yy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

theta

public double theta

xx

public double xx

xy

public double xy

yy

public double yy

size

public double size

color

public java.awt.Color color
Constructor Detail

VisEllipse

public VisEllipse(java.awt.Color color,
                  double x,
                  double y,
                  double xx,
                  double xy,
                  double yy)
Method Detail

set

public void set(double x,
                double y,
                double xx,
                double xy,
                double yy)

paint

public void paint(VisCanvas vc,
                  java.awt.Graphics2D g,
                  java.awt.image.BufferedImage bi)
Description copied from class: VisObject
Overriden by each subclass to draw itself onto the provided graphics context. Applications can choose to use either the Graphics2D (which has the correct transform already set up) or to draw to the buffered image directly.

Specified by:
paint in class VisObject