Class FilePaintBitmap

java.lang.Object
gov.nih.mipav.model.file.FilePaintBitmap

public class FilePaintBitmap extends Object
  • Field Details

    • file

      protected File file
      File reference, it and its components are able to be modified by extending classes.
    • fileDir

      protected String fileDir
      File directory where the VOI is to read or written.
    • fileName

      protected String fileName
      File name of the VOI.
    • image

      private final ModelImage image
      Image used to reference properties of the image to aid reading and writing of the VOI.
    • sliceNum

      private int sliceNum
      File directory where the VOI is to read or written.
    • trimmedFileName

      private String trimmedFileName
      File name without the extension.
    • extension

      private String extension
    • length

      private int length
  • Constructor Details

    • FilePaintBitmap

      public FilePaintBitmap(String fileName, String fileDir, ModelImage image) throws IOException
      VOI reader/writer constructor.
      Parameters:
      fileName - file name
      fileDir - file directory
      image - image model: needed during the read process to ensure the VOI "fits" in the image space.
      Throws:
      IOException - if there is an error making the files
  • Method Details