Package gov.nih.mipav.model.file
Class FileInfoSiemensText
- java.lang.Object
- 
- gov.nih.mipav.model.structures.ModelSerialCloneable
- 
- gov.nih.mipav.model.file.FileInfoBase
- 
- gov.nih.mipav.model.file.FileInfoSiemensText
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable
 
 public class FileInfoSiemensText extends FileInfoBase - See Also:
- FileSiemensText, Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileInfoBaseFileInfoBase.AxisOrientation, FileInfoBase.ImageOrientation, FileInfoBase.Modality, FileInfoBase.Unit, FileInfoBase.UnitType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private java.lang.Stringaux_fileDOCUMENT ME!private shortbitpixBits per pixel.private floatcal_maxRange of calibration values.private floatcal_minValues of 0.0 for both fields imply that no calibration min and max values are used !private floatcompressedIndicates if compression is used.private java.lang.Stringdata_typeUnknown use 10 chars.private shortdatatypeStores the image data type DT_NONE = 0; DT_UNKNOWN = 0; DT_BINARY = 1; DT_UNSIGNED_CHAR = 2; DT_SIGNED_SHORT = 4; DT_UNSIGNED_SHORT = 4; DT_SIGNED_INT = 8; DT_FLOAT = 16; DT_COMPLEX = 32; DT_DOUBLE = 64; DT_RGB = 128; DT_ALL = 255;private java.lang.Stringdb_nameName of file with a length of 18 chars.private java.lang.StringdescripString with a max character length of 80 used to describe image.private shortdim_un0Unused.private java.lang.Stringdirstatic shortDT_2INTEGERISiemensText file format define use to indicate 2-byte integer - Intel style.static shortDT_2INTEGERSSiemensText file format define use to indicate 2-byte integer - Sun style.static shortDT_4FLOATISiemensText file format define use to indicate 4-byte float - Intel style.static shortDT_4FLOATSSiemensText file format define use to indicate 4-byte float - Sun style.static shortDT_4INTEGERISiemensText file format define use to indicate 4-byte integer - Intel style.static shortDT_4INTEGERSSiemensText file format define use to indicate 4-byte integer - Sun style.static shortDT_BYTESiemensText file format define use to indicate Byte (8-bits) data typestatic shortDT_UNKNOWNSiemensText file format define use to indicate undefined image data type.private java.lang.Stringexp_dateString with a max character length of 10 used to indicate the experiment date.private java.lang.Stringexp_timeString with a max character length of 10 used to indicate the experiment time.private intextentsShould be 16384.private intfield_skipUnknown length.private floatfunused1MIPAV uses this variable to define the X-axis origin.private floatfunused2MIPAV uses this variable to define the Y-axis origin.private floatfunused3MIPAV uses this variable to define the Z-axis origin.private java.lang.StringgeneratedUnknown use.private intglmaxMaximum pixel values for the entire dataset.private intglminMinimum pixel values for the entire database.private java.lang.Stringhist_un0Unknown use.private charhkey_un0Unknown use.private java.lang.Stringnameprivate intomaxUnknown use.private intominUnknown use.private byteorientDOCUMENT ME!private java.lang.StringoriginatorUnknown use.private java.lang.Stringpatient_idPatient's ID.private charregularI think it means data has uniform spacing (resolutions).private java.lang.StringscannumScan ID Length of 10.private static longserialVersionUIDUse serialVersionUID for interoperability.private shortsession_errorUnknown use.private intsizeof_hdrAlways of length 348.private intsmaxUnknown use.private intsminUnknown use.private intstart_fieldUnknown use.private floatverifiedUnknown use.private intviewsUnknown use.private intvols_addedUnknown use.private java.lang.Stringvox_unitsspecifies the spatial units of measure for a voxel.- 
Fields inherited from class gov.nih.mipav.model.file.FileInfoBaseANGSTROMS, 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, 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 SummaryConstructors Constructor Description FileInfoSiemensText(java.lang.String name, java.lang.String directory, int format)File info storage constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplayAboutInfo(JDialogBase dlog, TransMatrix matrix)Displays the file information.java.lang.StringgetAuxFile()Accessor to the aux_file string.shortgetBitPix()Accessor to the bitpix value.floatgetCalMax()Accessor to cal-max.floatgetCalMin()Accessor to cal_min.floatgetCompressed()Provides the compressed value.shortgetDataTypeCode()Accessor to coded datatype value.java.lang.StringgetDataTypeName()Accessor to the 10 character string of data-type.java.lang.StringgetDBname()Accessor to DB_name.java.lang.StringgetDescription()Accessor to the current SiemensText-image description.shortgetDim()Accessor to the dim_un0.java.lang.StringgetExperimentDate()Provides the current experiment date string.java.lang.StringgetExperimentTime()Provides the current experiment time string.intgetFieldSkip()Provides the current field_skip value.intgetFileExtents()SiemensText _extents_ value of 16,384.floatgetFunused1()MIPAV hack to the SiemensText standard.floatgetFunused2()MIPAV hack to the SiemensText standard.floatgetFunused3()MIPAV hack to the SiemensText standard.java.lang.StringgetGenerated()Provides the current generated string.intgetGLmax()Provides the value of glmax.intgetGLmin()Provides the value of glmin.java.lang.StringgetHist()Accessor to get the SiemensText's hist_un0 string.chargetHkey()Accessor to get the SiemensText's hkey_un0 string.intgetOmax()Provides current omax value.intgetOmin()Provides current omin value.bytegetOrientation()Provides the current orientation value.java.lang.StringgetOriginator()Provides the current originator string.java.lang.StringgetPatientID()Provides the current patient id.chargetRegular()Provides the value of regular character.java.lang.StringgetScanNum()Provides the current scannum string.shortgetSessionErr()Provide the value of session err.intgetSizeOfHeader()Provides the current scannum string.intgetSmax()Provides current smax value.intgetSmin()Provides current smin value.intgetStartField()Provides the current value for the start_field.floatgetVerified()Provides the verified value.intgetViews()Provides current views value.intgetVolsAdded()Provides the current vols_added value.java.lang.StringgetVoxUnits()Provides the string for vox-units.voidsetAuxFile(java.lang.String auxFile)Supplies auxiliary-file string; permits no more than 24 characters.voidsetAxisOrientation(int[] axOrient)Sets orientation of each axis.voidsetBitPix(short bp)Sets bitpix; any value other than 1, 8, 16, 32, 64, or 24 gets set to the dissalowed trap value, -1.voidsetCalMax(float cal)sets cal-max. if supplied value is less than cal-min, the cal-min gets reset to the supplied value as well, so that cal-min is still no greater than cal-max.voidsetCalMin(float cal)Sets cal-min. if supplied value is greater than cal-max, the cal-max gets reset to the supplied value as well, so that cal-max is still no less than cal-min.voidsetCompressed(float comp)sets the compressed variable.voidsetDataType(short dtype)Accessor to supply coded datatype.voidsetDBname(java.lang.String dbname)Set the database name - limit 18 character max to set the DB_NAME value.voidsetDescription(java.lang.String description)Allows no more than 80 characters to fill in the SiemensText-image description.voidsetDim(short un0)DOCUMENT ME!voidsetExperimentDateandTime(java.lang.String date)Allows a maximum of 10 characters to set the experiment date string.voidsetFieldSkip(int field)Supplies the submitted value to the field_sip variable.voidsetFileExtents(int ext)DOCUMENT ME!voidsetFunused1(float fun)Sets the start locations in the x-axis in fileInfoBase.voidsetFunused2(float fun)Sets the start locations in the y-axis in fileInfoBase.voidsetFunused3(float fun)Sets the start locations in the z-axis in fileInfoBase.voidsetGenerated(java.lang.String gen)Allows a maximum of 10 characters to set the generated string.voidsetGLmax(int gl)Sets glmax. if supplied value is less than glmin, the glmin gets reset to the supplied value as well, so that glmin is still no greater than glmax.voidsetGLmin(int gl)Sets glmin. if supplied value is greater than glmax, the glmax gets reset to the supplied value as well, so that glmax is still no less than glmin.voidsetHist(java.lang.String hist)DOCUMENT ME!voidsetHkey(char hk)DOCUMENT ME!voidsetOmax(int oMax)Sets omax.voidsetOmin(int oMin)Sets omin. if supplied value is greater than omax, the omax gets reset to the supplied value as well, so that omax is still no less than omin.voidsetOrientation(byte orientation)Sets the image orientation converting from SiemensText specific orientation to general orientation.voidsetOrigin(float[] stlocat)Sets start locations of each axis.voidsetOrigin(float fun, int axis)Sets the start location of the specified axis.voidsetOriginator(java.lang.String originator)Allows a maximum of 10 characters to set the originator string.voidsetPatientID(java.lang.String patIDnum)Allows a maximum of 10 characters to set the patient ID string.voidsetRegular(char ch)Supply the value of regular character.voidsetScanNum(java.lang.String scanNum)Allows a maximum of 10 characters to set the scannum string.voidsetSessionErr(short sessionError)Supply the value of session error.voidsetSizeOfHeader(int size)Sets the size of the header which is always 348.voidsetSmax(int sMax)Sets smax.voidsetSmin(int sMin)Sets smin.voidsetStartField(int startField)Supplies the submitted value to the start_field variable.protected java.lang.StringsetString(java.lang.String str, int length)Verifies string is not larger than length; strings larger than length, are clipped before being returned.voidsetVerified(float verified)Supply the value to verified.voidsetViews(int view)Sets the views variable.voidsetVolsAdded(int vols)Supplies a value to the vols_added valiable.voidsetVoxUnits(java.lang.String voxUnits)Allows no more than 4 characters for the string describing the vox units.voidupdateFileInfos(FileInfoSiemensText fInfo)Propogates the current file info to another FileInfoSiemensText except for the 3 start locations kept in funused1, funused2, funused3.- 
Methods inherited from class gov.nih.mipav.model.file.FileInfoBasecopyCoreInfo, 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, 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, setOriginalEndianess, setPhotometric, setPixelPadValue, setRescaleIntercept, setRescaleSlope, setResolutions, setResolutions, setSliceThickness, setTagDescription, setTagName, setUnitsOfMeasure, setUnitsOfMeasure, setUnitsOfMeasure, setUnitsOfMeasure, toString
 - 
Methods inherited from class gov.nih.mipav.model.structures.ModelSerialCloneableclone, nativeClone
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDprivate static final long serialVersionUID Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
 
 - 
DT_UNKNOWNpublic static final short DT_UNKNOWN SiemensText file format define use to indicate undefined image data type.- See Also:
- Constant Field Values
 
 - 
DT_BYTEpublic static final short DT_BYTE SiemensText file format define use to indicate Byte (8-bits) data type- See Also:
- Constant Field Values
 
 - 
DT_2INTEGERIpublic static final short DT_2INTEGERI SiemensText file format define use to indicate 2-byte integer - Intel style.- See Also:
- Constant Field Values
 
 - 
DT_4INTEGERIpublic static final short DT_4INTEGERI SiemensText file format define use to indicate 4-byte integer - Intel style.- See Also:
- Constant Field Values
 
 - 
DT_4FLOATIpublic static final short DT_4FLOATI SiemensText file format define use to indicate 4-byte float - Intel style.- See Also:
- Constant Field Values
 
 - 
DT_4FLOATSpublic static final short DT_4FLOATS SiemensText file format define use to indicate 4-byte float - Sun style.- See Also:
- Constant Field Values
 
 - 
DT_2INTEGERSpublic static final short DT_2INTEGERS SiemensText file format define use to indicate 2-byte integer - Sun style.- See Also:
- Constant Field Values
 
 - 
DT_4INTEGERSpublic static final short DT_4INTEGERS SiemensText file format define use to indicate 4-byte integer - Sun style.- See Also:
- Constant Field Values
 
 - 
aux_fileprivate java.lang.String aux_file DOCUMENT ME!
 - 
bitpixprivate short bitpix Bits per pixel. Valid values include: 1, 8, 16, 32, 64, 24(rgb).
 - 
cal_maxprivate float cal_max Range of calibration values.
 - 
cal_minprivate float cal_min Values of 0.0 for both fields imply that no calibration min and max values are used !
 - 
compressedprivate float compressed Indicates if compression is used. Default is -1 indicating no compression
 - 
data_typeprivate java.lang.String data_type Unknown use 10 chars.
 - 
datatypeprivate short datatype Stores the image data type DT_NONE = 0; DT_UNKNOWN = 0; DT_BINARY = 1; DT_UNSIGNED_CHAR = 2; DT_SIGNED_SHORT = 4; DT_UNSIGNED_SHORT = 4; DT_SIGNED_INT = 8; DT_FLOAT = 16; DT_COMPLEX = 32; DT_DOUBLE = 64; DT_RGB = 128; DT_ALL = 255;
 - 
db_nameprivate java.lang.String db_name Name of file with a length of 18 chars.
 - 
descripprivate java.lang.String descrip String with a max character length of 80 used to describe image.
 - 
dim_un0private short dim_un0 Unused.
 - 
exp_dateprivate java.lang.String exp_date String with a max character length of 10 used to indicate the experiment date.
 - 
exp_timeprivate java.lang.String exp_time String with a max character length of 10 used to indicate the experiment time.
 - 
extentsprivate int extents Should be 16384.
 - 
field_skipprivate int field_skip Unknown length.
 - 
funused1private float funused1 MIPAV uses this variable to define the X-axis origin.
 - 
funused2private float funused2 MIPAV uses this variable to define the Y-axis origin.
 - 
funused3private float funused3 MIPAV uses this variable to define the Z-axis origin.
 - 
generatedprivate java.lang.String generated Unknown use. Length of 10.
 - 
glmaxprivate int glmax Maximum pixel values for the entire dataset.
 - 
glminprivate int glmin Minimum pixel values for the entire database.
 - 
hist_un0private java.lang.String hist_un0 Unknown use. Length of 3.
 - 
hkey_un0private char hkey_un0 Unknown use. Length of 1.
 - 
omaxprivate int omax Unknown use.
 - 
ominprivate int omin Unknown use.
 - 
orientprivate byte orient DOCUMENT ME!
 - 
originatorprivate java.lang.String originator Unknown use. Length of 10.
 - 
patient_idprivate java.lang.String patient_id Patient's ID. Length of 10.
 - 
regularprivate char regular I think it means data has uniform spacing (resolutions).
 - 
scannumprivate java.lang.String scannum Scan ID Length of 10.
 - 
session_errorprivate short session_error Unknown use.
 - 
sizeof_hdrprivate int sizeof_hdr Always of length 348.
 - 
smaxprivate int smax Unknown use.
 - 
sminprivate int smin Unknown use.
 - 
start_fieldprivate int start_field Unknown use.
 - 
verifiedprivate float verified Unknown use.
 - 
viewsprivate int views Unknown use.
 - 
vols_addedprivate int vols_added Unknown use.
 - 
vox_unitsprivate java.lang.String vox_units specifies the spatial units of measure for a voxel.
 - 
nameprivate java.lang.String name 
 - 
dirprivate java.lang.String dir 
 
- 
 - 
Method Detail- 
displayAboutInfopublic void displayAboutInfo(JDialogBase dlog, TransMatrix matrix) Displays the file information.- Specified by:
- displayAboutInfoin class- FileInfoBase
- Parameters:
- dlog- dialog box that is written to
- matrix- transformation matrix
 
 - 
getAuxFilepublic java.lang.String getAuxFile() Accessor to the aux_file string.- Returns:
- String aux_file
 
 - 
getBitPixpublic short getBitPix() Accessor to the bitpix value.- Returns:
- short the bitpix value.
 
 - 
getCalMaxpublic float getCalMax() Accessor to cal-max.- Returns:
- float cal_max
 
 - 
getCalMinpublic float getCalMin() Accessor to cal_min.- Returns:
- float cal_min
 
 - 
getCompressedpublic float getCompressed() Provides the compressed value.- Returns:
- float compressed
 
 - 
getDataTypeCodepublic short getDataTypeCode() Accessor to coded datatype value.- Returns:
- short datatype
 
 - 
getDataTypeNamepublic java.lang.String getDataTypeName() Accessor to the 10 character string of data-type.- Returns:
- String returns data_type
 
 - 
getDBnamepublic java.lang.String getDBname() Accessor to DB_name.- Returns:
- String database name
 
 - 
getDescriptionpublic java.lang.String getDescription() Accessor to the current SiemensText-image description.- Returns:
- String description
 
 - 
getDimpublic short getDim() Accessor to the dim_un0.- Returns:
- Returns the dim_un0 variable.
 
 - 
getExperimentDatepublic java.lang.String getExperimentDate() Provides the current experiment date string.- Returns:
- String the experiment date.
 
 - 
getExperimentTimepublic java.lang.String getExperimentTime() Provides the current experiment time string.- Returns:
- String the experiment time
 
 - 
getFieldSkippublic int getFieldSkip() Provides the current field_skip value.- Returns:
- int the field_skip value
 
 - 
getFileExtentspublic int getFileExtents() SiemensText _extents_ value of 16,384.- Returns:
- The extents value which always seems to be 16,384.
 
 - 
getFunused1public float getFunused1() MIPAV hack to the SiemensText standard. Retrieves start locaiton from x-axis. To be stored as Funused1.- Returns:
- float funused1
 
 - 
getFunused2public float getFunused2() MIPAV hack to the SiemensText standard. Retrieves start locaiton from y-axis. To be stored as Funused2.- Returns:
- float funused2
 
 - 
getFunused3public float getFunused3() MIPAV hack to the SiemensText standard. Retrieves start location from z-axis. To be stored as Funused3.- Returns:
- float funused3
 
 - 
getGeneratedpublic java.lang.String getGenerated() Provides the current generated string.- Returns:
- String generated string
 
 - 
getGLmaxpublic int getGLmax() Provides the value of glmax.- Returns:
- int glmax
 
 - 
getGLminpublic int getGLmin() Provides the value of glmin.- Returns:
- int glmin
 
 - 
getHistpublic java.lang.String getHist() Accessor to get the SiemensText's hist_un0 string.- Returns:
- Returns the hist_un0 string.
 
 - 
getHkeypublic char getHkey() Accessor to get the SiemensText's hkey_un0 string.- Returns:
- Returns the hkey_un0 string.
 
 - 
getOmaxpublic int getOmax() Provides current omax value.- Returns:
- int the omax value
 
 - 
getOminpublic int getOmin() Provides current omin value.- Returns:
- int the omin value
 
 - 
getOrientationpublic byte getOrientation() Provides the current orientation value.- Returns:
- byte orientation value
 
 - 
getOriginatorpublic java.lang.String getOriginator() Provides the current originator string.- Returns:
- String originator string
 
 - 
getPatientIDpublic java.lang.String getPatientID() Provides the current patient id.- Returns:
- String the patient id
 
 - 
getRegularpublic char getRegular() Provides the value of regular character.- Returns:
- char value of regular character
 
 - 
getScanNumpublic java.lang.String getScanNum() Provides the current scannum string.- Returns:
- String current scannum string
 
 - 
getSessionErrpublic short getSessionErr() Provide the value of session err.- Returns:
- short session_error
 
 - 
getSizeOfHeaderpublic int getSizeOfHeader() Provides the current scannum string.- Returns:
- String current scannum string
 
 - 
getSmaxpublic int getSmax() Provides current smax value.- Returns:
- int the smax value
 
 - 
getSminpublic int getSmin() Provides current smin value.- Returns:
- int the smin value
 
 - 
getStartFieldpublic int getStartField() Provides the current value for the start_field.- Returns:
- int the start_field
 
 - 
getVerifiedpublic float getVerified() Provides the verified value.- Returns:
- The SiemensText verified parameter.
 
 - 
getViewspublic int getViews() Provides current views value.- Returns:
- The view parameter.
 
 - 
getVolsAddedpublic int getVolsAdded() Provides the current vols_added value.- Returns:
- The vols_added
 
 - 
getVoxUnitspublic java.lang.String getVoxUnits() Provides the string for vox-units.- Returns:
- The vox_units parameter
 
 - 
setAuxFilepublic void setAuxFile(java.lang.String auxFile) Supplies auxiliary-file string; permits no more than 24 characters.- Parameters:
- auxFile- T
 
 - 
setAxisOrientationpublic void setAxisOrientation(int[] axOrient) Sets orientation of each axis.- Overrides:
- setAxisOrientationin class- FileInfoBase
- Parameters:
- axOrient- axis orientation array
- See Also:
- FileInfoBase.getAxisOrientation()
 
 - 
setBitPixpublic void setBitPix(short bp) Sets bitpix; any value other than 1, 8, 16, 32, 64, or 24 gets set to the dissalowed trap value, -1.- Parameters:
- bp- DOCUMENT ME!
 
 - 
setCalMaxpublic void setCalMax(float cal) sets cal-max. if supplied value is less than cal-min, the cal-min gets reset to the supplied value as well, so that cal-min is still no greater than cal-max.- Parameters:
- cal- DOCUMENT ME!
 
 - 
setCalMinpublic void setCalMin(float cal) Sets cal-min. if supplied value is greater than cal-max, the cal-max gets reset to the supplied value as well, so that cal-max is still no less than cal-min.- Parameters:
- cal- DOCUMENT ME!
 
 - 
setCompressedpublic void setCompressed(float comp) sets the compressed variable.- Parameters:
- comp- DOCUMENT ME!
 
 - 
setDataTypepublic void setDataType(short dtype) Accessor to supply coded datatype.- Parameters:
- dtype- DOCUMENT ME!
 
 - 
setDBnamepublic void setDBname(java.lang.String dbname) Set the database name - limit 18 character max to set the DB_NAME value.- Parameters:
- dbname- DOCUMENT ME!
 
 - 
setDescriptionpublic void setDescription(java.lang.String description) Allows no more than 80 characters to fill in the SiemensText-image description.- Parameters:
- description- DOCUMENT ME!
 
 - 
setDimpublic void setDim(short un0) DOCUMENT ME!- Parameters:
- un0- DOCUMENT ME!
 
 - 
setExperimentDateandTimepublic void setExperimentDateandTime(java.lang.String date) Allows a maximum of 10 characters to set the experiment date string.- Parameters:
- date- DOCUMENT ME!
 
 - 
setFieldSkippublic void setFieldSkip(int field) Supplies the submitted value to the field_sip variable.- Parameters:
- field- DOCUMENT ME!
 
 - 
setFileExtentspublic void setFileExtents(int ext) DOCUMENT ME!- Parameters:
- ext- DOCUMENT ME!
 
 - 
setFunused1public void setFunused1(float fun) Sets the start locations in the x-axis in fileInfoBase. This is a hack into the SiemensText standard to compensate for start locations not being known. To be Stored in the Funused1 variable.- Parameters:
- fun- x start location
- See Also:
- FileInfoBase#setStartLocations(float, int)
 
 - 
setFunused2public void setFunused2(float fun) Sets the start locations in the y-axis in fileInfoBase. This is a hack into the SiemensText standard to compensate for start locations not being known. To be Stored in the Funused2 variable.- Parameters:
- fun- y start location
- See Also:
- FileInfoBase#setStartLocations(float, int)
 
 - 
setFunused3public void setFunused3(float fun) Sets the start locations in the z-axis in fileInfoBase. This is a hack into the SiemensText standard to compensate for start locations not being known. To be Stored in the Funused3 variable.- Parameters:
- fun- z start location
 
 - 
setGeneratedpublic void setGenerated(java.lang.String gen) Allows a maximum of 10 characters to set the generated string.- Parameters:
- gen- DOCUMENT ME!
 
 - 
setGLmaxpublic void setGLmax(int gl) Sets glmax. if supplied value is less than glmin, the glmin gets reset to the supplied value as well, so that glmin is still no greater than glmax.- Parameters:
- gl- DOCUMENT ME!
 
 - 
setGLminpublic void setGLmin(int gl) Sets glmin. if supplied value is greater than glmax, the glmax gets reset to the supplied value as well, so that glmax is still no less than glmin.- Parameters:
- gl- DOCUMENT ME!
 
 - 
setHistpublic void setHist(java.lang.String hist) DOCUMENT ME!- Parameters:
- hist- DOCUMENT ME!
 
 - 
setHkeypublic void setHkey(char hk) DOCUMENT ME!- Parameters:
- hk- DOCUMENT ME!
 
 - 
setOmaxpublic void setOmax(int oMax) Sets omax. If supplied value is less than omin, the omin gets reset to the supplied value as well, so that omin is still no greater than omax.- Parameters:
- oMax- Value that omax is set to.
 
 - 
setOminpublic void setOmin(int oMin) Sets omin. if supplied value is greater than omax, the omax gets reset to the supplied value as well, so that omax is still no less than omin.- Parameters:
- oMin- Value that omin is set to.
 
 - 
setOrientationpublic void setOrientation(byte orientation) Sets the image orientation converting from SiemensText specific orientation to general orientation. Value may be transverse, coronal, or sagittal.see the top of this document for all possible values. supplying a value other than one of these 6 possiblities sets the orientation to an impossible 'flag' value. - See Also:
- FileInfoBase.setImageOrientation(int)
 
 - 
setOriginpublic void setOrigin(float[] stlocat) Sets start locations of each axis.- Overrides:
- setOriginin class- FileInfoBase
- Parameters:
- stlocat- axis start location array
- See Also:
- FileInfoBase#getStartLocations()
 
 - 
setOriginpublic void setOrigin(float fun, int axis)Sets the start location of the specified axis.- Overrides:
- setOriginin class- FileInfoBase
- Parameters:
- fun- origin coord.
- axis- axis of orientation; x is 0, y is 1, z is 2.
- See Also:
- #getStartLocations(int)
 
 - 
setOriginatorpublic void setOriginator(java.lang.String originator) Allows a maximum of 10 characters to set the originator string.- Parameters:
- originator- Originator string.
 
 - 
setPatientIDpublic void setPatientID(java.lang.String patIDnum) Allows a maximum of 10 characters to set the patient ID string.- Parameters:
- patIDnum- Patient ID string.
 
 - 
setRegularpublic void setRegular(char ch) Supply the value of regular character.- Parameters:
- ch- value of r indicates all images are of the same size which seems to always be the case.
 
 - 
setScanNumpublic void setScanNum(java.lang.String scanNum) Allows a maximum of 10 characters to set the scannum string.- Parameters:
- scanNum- Scan number of the image.
 
 - 
setSessionErrpublic void setSessionErr(short sessionError) Supply the value of session error.- Parameters:
- sessionError- The session error.
 
 - 
setSizeOfHeaderpublic void setSizeOfHeader(int size) Sets the size of the header which is always 348.- Parameters:
- size- The size of the header which is always 348 for SiemensText images.
 
 - 
setSmaxpublic void setSmax(int sMax) Sets smax. If supplied value is less than smin, the smin gets reset to the supplied value as well, so that smin is still no greater than smax.- Parameters:
- sMax- DOCUMENT ME!
 
 - 
setSminpublic void setSmin(int sMin) Sets smin. If supplied value is greater than smax, the smax gets reset to the supplied value as well, so that smax is still no less than smin.- Parameters:
- sMin- The sMin value.
 
 - 
setStartFieldpublic void setStartField(int startField) Supplies the submitted value to the start_field variable.- Parameters:
- startField- The start field value.
 
 - 
setVerifiedpublic void setVerified(float verified) Supply the value to verified.- Parameters:
- verified- The verified value
 
 - 
setViewspublic void setViews(int view) Sets the views variable.- Parameters:
- view- The view value.
 
 - 
setVolsAddedpublic void setVolsAdded(int vols) Supplies a value to the vols_added valiable.- Parameters:
- vols- DOCUMENT ME!
 
 - 
setVoxUnitspublic void setVoxUnits(java.lang.String voxUnits) Allows no more than 4 characters for the string describing the vox units.- Parameters:
- voxUnits- DOCUMENT ME!
 
 - 
updateFileInfospublic void updateFileInfos(FileInfoSiemensText fInfo) Propogates the current file info to another FileInfoSiemensText except for the 3 start locations kept in funused1, funused2, funused3.It does not copy over the datatypeCode. (though, aside from, "it isn't in the about table", I can't think of a reason why it shouldn't. but it doesn't.) Also, copied over is bitPix, aux_file. Some variables, such as the unused1, unused2, unused3, are really taken from unused, rather than from the start locations as we are re-using the funused variables. This means that if the unused variables are not right to begin with, this certainly won't correct them! - Parameters:
- fInfo- File info. object used to update values in this object.
 
 - 
setStringprotected java.lang.String setString(java.lang.String str, int length)Verifies string is not larger than length; strings larger than length, are clipped before being returned.- Parameters:
- str- The input string.
- length- The maximum length of the string.
- Returns:
- String new substring
 
 
- 
 
-