Package com.pixelmed.geometry
Class LocalizerPosterFactory
java.lang.Object
com.pixelmed.geometry.LocalizerPosterFactory
An factory class that provides instances of LocalizerPoster
that are used for posting the position of specified
slices and volumes on (usually orthogonal) localizer images.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic final voidstatic final voiddumpShapes(Vector shapes) static LocalizerPostergetLocalizerPoster(boolean projectRatherThanIntersect, boolean planeRatherThanVolume) Return aLocalizerPosterwith the specified characteristics.static voidFor testing.
-
Method Details
-
dumpShape
-
dumpShapes
-
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
For testing.
- Parameters:
arg- ignored
-