|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.DisplayShutter
public class DisplayShutter
A set of display shutter parameters constructed from the attributes of the DICOM Display Shutter Module.
| Field Summary | |
|---|---|
protected int |
centerOfCircularShutterX
|
protected int |
centerOfCircularShutterY
|
protected boolean |
hasCircularShutter
|
protected boolean |
hasPolygonalShutter
|
protected boolean |
hasRectangularShutter
|
protected int |
radiusOfCircularShutter
|
protected int |
shutterLeftVerticalEdge
|
protected int |
shutterLowerHorizontalEdge
|
protected int |
shutterRightVerticalEdge
|
protected int |
shutterUpperHorizontalEdge
|
protected int[] |
verticesOfPolygonalShutter
|
protected Point2D[] |
verticesOfPolygonalShutterAsPoints
|
| Constructor Summary | |
|---|---|
DisplayShutter(AttributeList list)
Extract the display shutter paramaters from a list of attributes |
|
| Method Summary | |
|---|---|
int |
getCenterOfCircularShutterX()
Get center X value of circular shutter. |
int |
getCenterOfCircularShutterY()
Get center Y value of circular shutter. |
Point2D |
getCircularShutterBRHC()
Get BRHC of rectangle bounding circular shutter. |
Point2D |
getCircularShutterTLHC()
Get TLHC of rectangle bounding circular shutter. |
int |
getRadiusOfCircularShutter()
Get radius of circular shutter. |
Point2D |
getRectangularShutterBRHC()
Get BRHC of rectangular shutter. |
Point2D |
getRectangularShutterTLHC()
Get TLHC of rectangular shutter. |
int |
getShutterLeftVerticalEdge()
Get left vertical edge of rectangular shutter. |
int |
getShutterLowerHorizontalEdge()
Get lower horizontal edge of rectangular shutter. |
int |
getShutterRightVerticalEdge()
Get right vertical edge of rectangular shutter. |
int |
getShutterUpperHorizontalEdge()
Get upper horizontal edge of rectangular shutter. |
int[] |
getVerticesOfPolygonalShutter()
Get vertices of polygonal shutter. |
Point2D[] |
getVerticesOfPolygonalShutterAsPoint2D()
Get vertices of polygonal shutter as Point2D. |
boolean |
isCircularShutter()
Is there a circular shutter. |
boolean |
isPolygonalShutter()
Is there a polygonal shutter. |
boolean |
isRectangularShutter()
Is there a rectangular shutter. |
void |
setCircularDisplayShutter(int centerOfCircularShutterX,
int centerOfCircularShutterY,
int radiusOfCircularShutter)
Set the parameters of a circular shutter. |
void |
setRectangularDisplayShutter(int shutterLeftVerticalEdge,
int shutterRightVerticalEdge,
int shutterUpperHorizontalEdge,
int shutterLowerHorizontalEdge)
Set the parameters of a rectangular shutter. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean hasCircularShutter
protected int centerOfCircularShutterY
protected int centerOfCircularShutterX
protected int radiusOfCircularShutter
protected boolean hasRectangularShutter
protected int shutterLeftVerticalEdge
protected int shutterRightVerticalEdge
protected int shutterUpperHorizontalEdge
protected int shutterLowerHorizontalEdge
protected boolean hasPolygonalShutter
protected int[] verticesOfPolygonalShutter
protected Point2D[] verticesOfPolygonalShutterAsPoints
| Constructor Detail |
|---|
public DisplayShutter(AttributeList list)
list - | Method Detail |
|---|
public void setRectangularDisplayShutter(int shutterLeftVerticalEdge,
int shutterRightVerticalEdge,
int shutterUpperHorizontalEdge,
int shutterLowerHorizontalEdge)
shutterLeftVerticalEdge - left vertical edgeshutterRightVerticalEdge - right vertical edgeshutterUpperHorizontalEdge - upper horizontal edgeshutterLowerHorizontalEdge - lower horizontal edgepublic boolean isRectangularShutter()
public int getShutterLeftVerticalEdge()
public int getShutterRightVerticalEdge()
public int getShutterUpperHorizontalEdge()
public int getShutterLowerHorizontalEdge()
public Point2D getRectangularShutterTLHC()
public Point2D getRectangularShutterBRHC()
public void setCircularDisplayShutter(int centerOfCircularShutterX,
int centerOfCircularShutterY,
int radiusOfCircularShutter)
centerOfCircularShutterX - center X value (column)centerOfCircularShutterY - center Y value (row)radiusOfCircularShutter - radiuspublic boolean isCircularShutter()
public int getCenterOfCircularShutterX()
public int getCenterOfCircularShutterY()
public int getRadiusOfCircularShutter()
public Point2D getCircularShutterTLHC()
public Point2D getCircularShutterBRHC()
public boolean isPolygonalShutter()
public int[] getVerticesOfPolygonalShutter()
public Point2D[] getVerticesOfPolygonalShutterAsPoint2D()
public final String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||