edu.jhu.cs.cisst.vent.renderer.processing
Class RendererProcessing2D

java.lang.Object
  extended by edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing
      extended by edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing2D
All Implemented Interfaces:
VisualizationParameters, ParamViewObserver
Direct Known Subclasses:
ImageRenderer, VectorField2DRenderer, VolumeSliceRenderer

public abstract class RendererProcessing2D
extends RendererProcessing

The Class RendererProcessing2D.


Field Summary
protected  java.awt.geom.Rectangle2D.Float bounds
          The bounds.
 
Constructor Summary
RendererProcessing2D()
           
 
Method Summary
 boolean contains(double px, double py)
          Contains.
 float getHeight()
          Gets the height.
 float getPositionX()
          Gets the position x.
 float getPositionY()
          Gets the position y.
 float getWidth()
          Gets the width.
 void setBounds(double x, double y, double width, double height)
          Sets the bounds.
 
Methods inherited from class edu.jhu.cs.cisst.vent.renderer.processing.RendererProcessing
draw, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.jhu.cs.cisst.vent.VisualizationParameters
createVisualizationParameters, updateVisualizationParameters
 
Methods inherited from interface edu.jhu.ece.iacl.jist.pipeline.view.input.ParamViewObserver
update
 

Field Detail

bounds

protected java.awt.geom.Rectangle2D.Float bounds
The bounds.

Constructor Detail

RendererProcessing2D

public RendererProcessing2D()
Method Detail

setBounds

public void setBounds(double x,
                      double y,
                      double width,
                      double height)
Sets the bounds.

Parameters:
x - the x
y - the y
width - the width
height - the height

contains

public boolean contains(double px,
                        double py)
Contains.

Parameters:
px - the px
py - the py
Returns:
true, if successful

getWidth

public float getWidth()
Gets the width.

Returns:
the width

getHeight

public float getHeight()
Gets the height.

Returns:
the height

getPositionX

public float getPositionX()
Gets the position x.

Returns:
the position x

getPositionY

public float getPositionY()
Gets the position y.

Returns:
the position y