Package com.pixelmed.geometry
Class LocalizerPosterFactory
- java.lang.Object
-
- com.pixelmed.geometry.LocalizerPosterFactory
-
public class LocalizerPosterFactory extends java.lang.ObjectAn factory class that provides instances of
LocalizerPosterthat are used for posting the position of specified slices and volumes on (usually orthogonal) localizer images.- See Also:
LocalizerPoster
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddumpShape(java.awt.Shape shape)static voiddumpShapes(java.util.Vector shapes)static LocalizerPostergetLocalizerPoster(boolean projectRatherThanIntersect, boolean planeRatherThanVolume)Return aLocalizerPosterwith the specified characteristics.static voidmain(java.lang.String[] arg)For testing.
-
-
-
Method Detail
-
dumpShape
public static final void dumpShape(java.awt.Shape shape)
-
dumpShapes
public static final void dumpShapes(java.util.Vector shapes)
-
getLocalizerPoster
public static LocalizerPoster getLocalizerPoster(boolean projectRatherThanIntersect, boolean planeRatherThanVolume)
Return a
LocalizerPosterwith the specified characteristics.- Parameters:
projectRatherThanIntersect- if true, project onto the localizer rather than intersect with itplaneRatherThanVolume- for intersection (only), outline the intersection of a volume (cube)rather than a slice (rectangle)- Returns:
- an appropriate localizer poster, or null if one cannot be instantiated
-
main
public static void main(java.lang.String[] arg)
For testing.
- Parameters:
arg- ignored
-
-