Package gov.nih.mipav.model.file
Class FileInfoFits
- java.lang.Object
-
- gov.nih.mipav.model.structures.ModelSerialCloneable
-
- gov.nih.mipav.model.file.FileInfoBase
-
- gov.nih.mipav.model.file.FileInfoFits
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class FileInfoFits extends FileInfoBase
This structures contains the information that describes how a Fits image is stored on disk.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileInfoBase
FileInfoBase.AxisOrientation, FileInfoBase.ImageOrientation, FileInfoBase.Modality, FileInfoBase.Unit, FileInfoBase.UnitType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
author
private java.lang.String
BUNIT
private java.lang.String
CTYPE1
private java.lang.String
CTYPE2
private java.lang.String
CTYPE3
private java.lang.String
CTYPE4
private java.lang.String
CTYPE5
private java.lang.String
CUNIT1
private java.lang.String
CUNIT2
private java.lang.String
CUNIT3
private java.lang.String
CUNIT4
private java.lang.String
CUNIT5
private java.lang.String
dateAcquired
private java.lang.String
dateProcessed
private java.lang.String
dateWritten
private float
focalRatio
private java.lang.String
instrument
private java.lang.String
jobName
private java.lang.String
object
private java.lang.String
observer
private java.lang.String
origin
private static long
serialVersionUID
Use serialVersionUID for interoperability.private java.lang.String
timeAcquired
private java.lang.String
timeProcessed
private java.lang.String
timeWritten
-
Fields inherited from class gov.nih.mipav.model.file.FileInfoBase
ANGSTROMS, ANGSTROMS_STRING, AXIAL, axisOrientation, axisOrientationStr, BIOMAGNETIC_IMAGING, cameraMake, cameraModel, CENTIMETERS, CENTIMETERS_STRING, COLOR_FLOW_DOPPLER, COMPRESSION_BZIP2, COMPRESSION_GZIP, COMPRESSION_NONE, COMPRESSION_ZIP, COMPUTED_RADIOGRAPHY, COMPUTED_TOMOGRAPHY, conversionSpaceTimeUnits, CORONAL, DEGREES, DEGREES_STRING, DIAPHANOGRAPHY, DIGITAL_RADIOGRAPHY, DUPLEX_DOPPLER, ENDOSCOPY, exposureTime, EXTERNAL_CAMERA_PHOTOGRAPHY, FA, fileName, fileSuffix, FNumber, focalLength, focalLength35, GENERAL_MICROSCOPY, HARDCOPY, HOURS, HOURS_STRING, HZ, HZ_STRING, ICG, imageOrientation, INCHES, INCHES_STRING, INTRAORAL_RADIOGRAPHY, ISOSpeedRating, KILOMETERS, KILOMETERS_STRING, LASER_SURFACE_SCAN, MAGNETIC_RESONANCE, MAGNETIC_RESONANCE_ANGIOGRAPHY, MAGNETIC_RESONANCE_SPECTROSCOPY, MAMMOGRAPHY, METERS, METERS_STRING, MICROMETERS, MICROMETERS_STRING, MICROSEC, MICROSEC_STRING, MILES, MILES_STRING, MILLIMETERS, MILLIMETERS_STRING, MILLISEC, MILLISEC_STRING, MILS, MILS_STRING, MINUTES, MINUTES_STRING, modality, NANOMETERS, NANOMETERS_STRING, NANOSEC, NANOSEC_STRING, NUCLEAR_MEDICINE, ORI_A2P_TYPE, ORI_I2S_TYPE, ORI_L2R_TYPE, ORI_P2A_TYPE, ORI_R2L_TYPE, ORI_S2I_TYPE, ORI_UNKNOWN_TYPE, OTHER, PANORAMIC_XRAY, POSITRON_EMISSION_TOMOGRAPHY, PPM, PPM_STRING, RADIO_FLUOROSCOPY, RADIOGRAPHIC_IMAGING, RADIOTHERAPY_DOSE, RADIOTHERAPY_IMAGE, RADIOTHERAPY_PLAN, RADIOTHERAPY_RECORD, RADIOTHERAPY_STRUCTURE_SET, RADS, RADS_STRING, RED_FREE, SAGITTAL, SECONDS, SECONDS_STRING, SINGLE_PHOTON_EMISSION_COMPUTED_TOMOGRAPHY, SLIDE_MICROSCOPY, sUnits, tagDescription, tagName, THERMOGRAPHY, TRANSFORM_ANOTHER_DATASET, TRANSFORM_MNI_152, TRANSFORM_SCANNER_ANATOMICAL, TRANSFORM_TALAIRACH_TOURNOUX, TRANSFORM_UNKNOWN, tUnits, ULTRASOUND, unitsOfMeasure, UNKNOWN_MEASURE, UNKNOWN_MODALITY, UNKNOWN_ORIENT, UNKNOWN_STRING, XRAY_ANGIOGRAPHY
-
-
Constructor Summary
Constructors Constructor Description FileInfoFits(java.lang.String name, java.lang.String directory, int format)
File info storage constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayAboutInfo(JDialogBase dlog, TransMatrix matrix)
Displays the file information.void
setAuthor(java.lang.String author)
void
setBUNIT(java.lang.String BUNIT)
void
setCTYPE1(java.lang.String CTYPE1)
void
setCTYPE2(java.lang.String CTYPE2)
void
setCTYPE3(java.lang.String CTYPE3)
void
setCTYPE4(java.lang.String CTYPE4)
void
setCTYPE5(java.lang.String CTYPE5)
void
setCUNIT1(java.lang.String CUNIT1)
void
setCUNIT2(java.lang.String CUNIT2)
void
setCUNIT3(java.lang.String CUNIT3)
void
setCUNIT4(java.lang.String CUNIT4)
void
setCUNIT5(java.lang.String CUNIT5)
void
setDateAcquired(java.lang.String dateAcquired)
void
setDateProcessed(java.lang.String dateProcessed)
void
setDateWritten(java.lang.String dateWritten)
void
setFocalRatio(float focalRatio)
void
setInstrument(java.lang.String instrument)
void
setJobName(java.lang.String jobName)
void
setObject(java.lang.String object)
void
setObserver(java.lang.String observer)
void
setOrigin(java.lang.String origin)
void
setTimeAcquired(java.lang.String timeAcquired)
void
setTimeProcessed(java.lang.String timeProcessed)
void
setTimeWritten(java.lang.String timeWritten)
-
Methods inherited from class gov.nih.mipav.model.file.FileInfoBase
copyCoreInfo, copyCoreInfo, displayAboutInfo, displayPrimaryInfo, finalize, getAboutInfo, getAllSameDimUnits, getAreaUnitsOfMeasureStr, getAxisDirection, getAxisOrientation, getAxisOrientation, getAxisOrientationFromStr, getAxisOrientationStr, getCameraMake, getCameraModel, getCompressionType, getDataType, getDataTypeFromStr, getEndianess, getEndianessFromStr, getExposureTime, getExtents, getFileDirectory, getFileFormat, getFileName, getFileSuffix, getFNumber, getFocalLength, getFocalLength35, getImageOrientation, getImageOrientationFromStr, getImageOrientationStr, getIs2_5D, getISOSpeedRating, getLPSOrigin, getLUT, getMax, getMaxB, getMaxG, getMaxR, getMin, getMinB, getMinG, getMinR, getModality, getModalityFromStr, getModalityStr, getModalityStr, getMultiFile, getNumOfBytesPerPixel, getOffset, getOrigin, getOrigin, getOriginalEndianess, getOriginAtSlice, getPhotometric, getPixelPadValue, getPrimaryInfo, getRescaleIntercept, getRescaleSlope, getResolution, getResolutions, getSize, getSliceThickness, getUnitsOfMeasure, getUnitsOfMeasure, getUnitsOfMeasureAbbrevStr, getUnitsOfMeasureAbbrevStr, getUnitsOfMeasureFromStr, getUnitsOfMeasureStr, getUnitsOfMeasureStr, getVolumeUnitsOfMeasureStr, isDicomOrdered, oppositeOrient, sameAxis, setAxisOrientation, setAxisOrientation, setCameraMake, setCameraModel, setCompressionType, setDataType, setEndianess, setExposureTime, setExtents, setExtents, setFileDirectory, setFileFormat, setFileName, setFileSuffix, setFNumber, setFocalLength, setFocalLength35, setImageOrientation, setISOSpeedRating, setLUT, setMax, setMaxB, setMaxG, setMaxR, setMin, setMinB, setMinG, setMinR, setModality, setMultiFile, setOffset, setOrigin, setOrigin, setOriginalEndianess, setPhotometric, setPixelPadValue, setRescaleIntercept, setRescaleSlope, setResolutions, setResolutions, setSliceThickness, setTagDescription, setTagName, setUnitsOfMeasure, setUnitsOfMeasure, setUnitsOfMeasure, setUnitsOfMeasure, toString
-
Methods inherited from class gov.nih.mipav.model.structures.ModelSerialCloneable
clone, nativeClone
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
origin
private java.lang.String origin
-
dateAcquired
private java.lang.String dateAcquired
-
timeAcquired
private java.lang.String timeAcquired
-
dateProcessed
private java.lang.String dateProcessed
-
timeProcessed
private java.lang.String timeProcessed
-
dateWritten
private java.lang.String dateWritten
-
timeWritten
private java.lang.String timeWritten
-
jobName
private java.lang.String jobName
-
object
private java.lang.String object
-
observer
private java.lang.String observer
-
instrument
private java.lang.String instrument
-
focalRatio
private float focalRatio
-
CTYPE1
private java.lang.String CTYPE1
-
CTYPE2
private java.lang.String CTYPE2
-
CTYPE3
private java.lang.String CTYPE3
-
CTYPE4
private java.lang.String CTYPE4
-
CTYPE5
private java.lang.String CTYPE5
-
CUNIT1
private java.lang.String CUNIT1
-
CUNIT2
private java.lang.String CUNIT2
-
CUNIT3
private java.lang.String CUNIT3
-
CUNIT4
private java.lang.String CUNIT4
-
CUNIT5
private java.lang.String CUNIT5
-
BUNIT
private java.lang.String BUNIT
-
author
private java.lang.String author
-
-
Method Detail
-
displayAboutInfo
public void displayAboutInfo(JDialogBase dlog, TransMatrix matrix)
Displays the file information.- Specified by:
displayAboutInfo
in classFileInfoBase
- Parameters:
dlog
- dialog box that is written tomatrix
- transformation matrix
-
setBUNIT
public void setBUNIT(java.lang.String BUNIT)
-
setCTYPE1
public void setCTYPE1(java.lang.String CTYPE1)
-
setCTYPE2
public void setCTYPE2(java.lang.String CTYPE2)
-
setCTYPE3
public void setCTYPE3(java.lang.String CTYPE3)
-
setCTYPE4
public void setCTYPE4(java.lang.String CTYPE4)
-
setCTYPE5
public void setCTYPE5(java.lang.String CTYPE5)
-
setCUNIT1
public void setCUNIT1(java.lang.String CUNIT1)
-
setCUNIT2
public void setCUNIT2(java.lang.String CUNIT2)
-
setCUNIT3
public void setCUNIT3(java.lang.String CUNIT3)
-
setCUNIT4
public void setCUNIT4(java.lang.String CUNIT4)
-
setCUNIT5
public void setCUNIT5(java.lang.String CUNIT5)
-
setDateAcquired
public void setDateAcquired(java.lang.String dateAcquired)
-
setTimeAcquired
public void setTimeAcquired(java.lang.String timeAcquired)
-
setDateProcessed
public void setDateProcessed(java.lang.String dateProcessed)
-
setTimeProcessed
public void setTimeProcessed(java.lang.String timeProcessed)
-
setDateWritten
public void setDateWritten(java.lang.String dateWritten)
-
setTimeWritten
public void setTimeWritten(java.lang.String timeWritten)
-
setJobName
public void setJobName(java.lang.String jobName)
-
setOrigin
public void setOrigin(java.lang.String origin)
-
setObject
public void setObject(java.lang.String object)
-
setObserver
public void setObserver(java.lang.String observer)
-
setInstrument
public void setInstrument(java.lang.String instrument)
-
setFocalRatio
public void setFocalRatio(float focalRatio)
-
setAuthor
public void setAuthor(java.lang.String author)
-
-