Package gov.nih.mipav.model.file
Class FileInfoTrackVis
java.lang.Object
gov.nih.mipav.model.structures.ModelSerialCloneable
gov.nih.mipav.model.file.FileInfoBase
gov.nih.mipav.model.file.FileInfoTrackVis
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionprivate intSize of header, should be 1000private StringInternal trakcVis useprivate StringInternal trakcVis useprivate StringInternal trakcVis useprivate intNumber of scalars per track point and number of properties per trackprivate intNumber of scalars per track point and number of properties per trackprivate intNumber of tractsprivate StringPaddingsprivate StringPaddingsprivate float[][]Properties per trackprivate String[]Scalar names and property namesprivate StringReserved for future TrackVis useprivate String[]Scalar names and property namesprivate StringInternal TrackVis useprivate StringInternal TrackVis useprivate StringInternal TrackVis useprivate intVersion number, current is 2private StringStoring order of image dataFields 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, dtiParams, 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, origin, 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
ConstructorsConstructorDescriptionFileInfoTrackVis(String name, String directory, int format) File info storage constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayAboutInfo(JDialogBase dLog, TransMatrix matrix) Displays the file information.intintintintgetPad1()getPad2()float[][]String[]String[]float[]getTrackProperties(int i) intvoidsetHdrSize(int hdrSize) voidsetInvertXStr(String invertXStr) voidsetInvertYStr(String invertYStr) voidsetInvertZStr(String invertZStr) voidsetNumProp(int numProp) voidsetNumScalar(int numScalar) voidsetNumTracks(int numTracks) voidvoidvoidsetProperties(float[][] properties) voidsetPropNames(String[] propNames) voidsetReserved(String reserved) voidsetScalarNames(String[] scalarNames) voidvoidvoidvoidsetVersion(int version) voidsetVoxelOrder(String voxelOrder) 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, getDTIParameters, 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, setDTIParameters, 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, toStringMethods inherited from class gov.nih.mipav.model.structures.ModelSerialCloneable
clone, nativeClone
-
Field Details
-
numScalar
private int numScalarNumber of scalars per track point and number of properties per track -
numProp
private int numPropNumber of scalars per track point and number of properties per track -
scalarNames
Scalar names and property names -
propNames
Scalar names and property names -
properties
private float[][] propertiesProperties per track -
reserved
Reserved for future TrackVis use -
voxelOrder
Storing order of image data -
pad2
Paddings -
pad1
Paddings -
invertXStr
Internal trakcVis use -
invertYStr
Internal trakcVis use -
invertZStr
Internal trakcVis use -
swapXY
Internal TrackVis use -
swapYZ
Internal TrackVis use -
swapXZ
Internal TrackVis use -
numTracks
private int numTracksNumber of tracts -
version
private int versionVersion number, current is 2 -
hdrSize
private int hdrSizeSize of header, should be 1000
-
-
Constructor Details
-
FileInfoTrackVis
File info storage constructor.- Parameters:
name- file namedirectory- directoryformat- file format
-
-
Method Details
-
displayAboutInfo
Displays the file information.- Specified by:
displayAboutInfoin classFileInfoBase- Parameters:
dLog- Area where image information is to be displayed.matrix- transformation matrixdlog- dialog box that is written to
-
getNumScalar
public int getNumScalar() -
getNumProp
public int getNumProp() -
getScalarNames
-
getPropNames
-
getReserved
-
getVoxelOrder
-
getPad2
-
getPad1
-
getInvertXStr
-
getInvertYStr
-
getInvertZStr
-
getSwapXY
-
getSwapYZ
-
getSwapXZ
-
getNumTracts
public int getNumTracts() -
getVersion
public int getVersion() -
getHdrSize
public int getHdrSize() -
getTrackProperties
public float[] getTrackProperties(int i) -
getProperties
public float[][] getProperties() -
setProperties
public void setProperties(float[][] properties) -
setNumScalar
public void setNumScalar(int numScalar) -
setNumProp
public void setNumProp(int numProp) -
setScalarNames
-
setPropNames
-
setReserved
-
setVoxelOrder
-
setPad2
-
setPad1
-
setInvertXStr
-
setInvertYStr
-
setInvertZStr
-
setSwapXY
-
setSwapYZ
-
setSwapZX
-
setNumTracks
public void setNumTracks(int numTracks) -
setVersion
public void setVersion(int version) -
setHdrSize
public void setHdrSize(int hdrSize)
-