Class LocalizerPosterFactory

java.lang.Object
com.pixelmed.geometry.LocalizerPosterFactory

public class LocalizerPosterFactory extends Object

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 Details

    • dumpShape

      public static final void dumpShape(Shape shape)
    • dumpShapes

      public static final void dumpShapes(Vector shapes)
    • getLocalizerPoster

      public static LocalizerPoster getLocalizerPoster(boolean projectRatherThanIntersect, boolean planeRatherThanVolume)

      Return a LocalizerPoster with the specified characteristics.

      Parameters:
      projectRatherThanIntersect - if true, project onto the localizer rather than intersect with it
      planeRatherThanVolume - 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(String[] arg)

      For testing.

      Parameters:
      arg - ignored