Package gov.nih.mipav.model.file
Class FilePaintBitmap
java.lang.Object
gov.nih.mipav.model.file.FilePaintBitmap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprotected FileFile reference, it and its components are able to be modified by extending classes.protected StringFile directory where the VOI is to read or written.protected StringFile name of the VOI.private final ModelImageImage used to reference properties of the image to aid reading and writing of the VOI.private intprivate intFile directory where the VOI is to read or written.private StringFile name without the extension. -
Constructor Summary
ConstructorsConstructorDescriptionFilePaintBitmap(String fileName, String fileDir, ModelImage image) VOI reader/writer constructor. -
Method Summary
-
Field Details
-
file
File reference, it and its components are able to be modified by extending classes. -
fileDir
File directory where the VOI is to read or written. -
fileName
File name of the VOI. -
image
Image used to reference properties of the image to aid reading and writing of the VOI. -
sliceNum
private int sliceNumFile directory where the VOI is to read or written. -
trimmedFileName
File name without the extension. -
extension
-
length
private int length
-
-
Constructor Details
-
FilePaintBitmap
VOI reader/writer constructor.- Parameters:
fileName- file namefileDir- file directoryimage- 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
-
writePaintBitmap
- Throws:
IOException
-
readPaintBitmap
- Throws:
IOException
-