Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkGEAdwImageIO.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGEAdwImageIO.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-12-03 13:13:09 $
00007   Version:   $Revision: 1.10 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00031 #ifndef __itkGEAdwImageIO_h
00032 #define __itkGEAdwImageIO_h
00033 
00034 #ifdef _MSC_VER
00035 #pragma warning ( disable : 4786 )
00036 #endif
00037 
00038 #include "itkIPLCommonImageIO.h"
00039 
00040 namespace itk
00041 {
00049 class ITK_EXPORT GEAdwImageIO : public IPLCommonImageIO
00050 {
00051 public:
00053   typedef GEAdwImageIO        Self;
00054   typedef IPLCommonImageIO    Superclass;
00055   typedef SmartPointer<Self>  Pointer;
00056 
00058   itkNewMacro(Self);
00059 
00061   itkTypeMacro(GEAdwImageIO, Superclass);
00062 
00063   /*-------- This part of the interfaces deals with reading data. ----- */
00064 
00071   virtual bool CanReadFile(const char* FileNameToRead);
00072 
00074   // Implemented in superclass
00075   //      virtual void ReadImageInformation();
00076 
00078   // Implemented in superclass
00079   //      virtual const std::type_info& GetPixelType() const;
00080 
00082   // Implemented in superclass
00083   //      virtual void Read(void* buffer);
00084 
00088   // Implemented in superclass
00089   //      virtual unsigned int GetComponentSize() const;
00090 
00091   /*-------- This part of the interfaces deals with writing data. ----- */
00092 
00099   // Implemented in superclass
00100   //      virtual bool CanWriteFile(const char * FileNameToWrite);
00101 
00103   // Implemented in superclass
00104   //      virtual void WriteImageInformation();
00105 
00108   // Implemented in superclass
00109   //      virtual void Write(const void* buffer);
00110 protected:
00111   GEAdwImageIO();
00112   ~GEAdwImageIO();
00113   // Implemented in superclass
00114   //      void PrintSelf(std::ostream& os, Indent indent) const;
00115   virtual GEImageHeader *ReadHeader(const char *FileNameToRead);
00116 private:
00117   GEAdwImageIO(const Self&); //purposely not implemented
00118   void operator=(const Self&); //purposely not implemented
00119   enum GE_ADW_DEFINES {
00120 
00122     GE_ADW_SU_ID_LEN=4,
00123 
00125     GE_ADW_SU_PRODID_LEN=13,
00126 
00128     GE_ADW_EX_SUID_LEN=4,
00129 
00131     GE_ADW_EX_NO_LEN=2,
00132 
00134     GE_ADW_EX_HOSPNAME_LEN=33,
00135 
00137     GE_ADW_EX_MAGSTRENGTH_LEN=4,
00138 
00140     GE_ADW_EX_PATID_LEN=13,
00141 
00143     GE_ADW_EX_PATNAME_LEN=25,
00144 
00146     GE_ADW_EX_PATAGE_LEN=2,
00147 
00149     GE_ADW_EX_PATIAN_LEN=2,
00150 
00152     GE_ADW_EX_PATSEX_LEN=2,
00153 
00155     GE_ADW_EX_PATWEIGHT_LEN=4,
00156 
00158     GE_ADW_EX_HIST_LEN=61,
00159 
00161     GE_ADW_EX_DATETIME_LEN=4,
00162 
00164     GE_ADW_EX_REFPHY_LEN=33,
00165 
00167     GE_ADW_EX_DIAGRAD_LEN=33,
00168 
00170     GE_ADW_EX_OP_LEN=4,
00171 
00173     GE_ADW_EX_DESC_LEN=23,
00174 
00176     GE_ADW_EX_TYP_LEN=3,
00177 
00179     GE_ADW_EX_FORMAT_LEN=2,
00180 
00182     GE_ADW_EX_SYSID_LEN=9,
00183 
00184 /*** Series Header Variables ***/
00185 
00187     GE_ADW_SE_SUID_LEN=4,
00188 
00190     GE_ADW_SE_UNIQ_LEN=2,
00191 
00193     GE_ADW_SE_EXNO_LEN=2,
00194 
00196     GE_ADW_SE_NO_LEN=2,
00197 
00199     GE_ADW_SE_DATETIME_LEN=4,
00200 
00202     GE_ADW_SE_DESC_LEN=30,
00203 
00205     GE_ADW_SE_TYP_LEN=2,
00206 
00208     GE_ADW_SE_PLANE_LEN=2,
00209 
00211     GE_ADW_SE_POSITION_LEN=4,
00212 
00214     GE_ADW_SE_ENTRY_LEN=4,
00215 
00217     GE_ADW_SE_ANREF_LEN=3,
00218 
00220     GE_ADW_SE_CONTRAST_LEN=2,
00221 
00223     GE_ADW_SE_START_RAS_LEN=1,
00224 
00226     GE_ADW_SE_START_LOC_LEN=4,
00227 
00229     GE_ADW_SE_END_RAS_LEN=1,
00230 
00232     GE_ADW_SE_END_LOC_LEN=4,
00233 
00235     GE_ADW_SE_NUMIMAGES_LEN=4,
00236 
00237 /*** Image Header Variables ***/
00238 
00240     GE_ADW_IM_SUID_LEN=4,
00241 
00243     GE_ADW_IM_UNIQ_LEN=2,
00244 
00246     GE_ADW_IM_EXNO_LEN=2,
00247 
00249     GE_ADW_IM_SENO_LEN=2,
00250 
00252     GE_ADW_IM_NO_LEN=2,
00253 
00255     GE_ADW_IM_DATETIME_LEN=4,
00256 
00258     GE_ADW_IM_ACTUAL_DT_LEN=4,
00259 
00261     GE_ADW_IM_SCTIME_LEN=4,
00262 
00264     GE_ADW_IM_SLTHICK_LEN=4,
00265 
00267     GE_ADW_IM_IMATRIX_X_LEN=2,
00268 
00270     GE_ADW_IM_IMATRIX_Y_LEN=2,
00271 
00273     GE_ADW_IM_DFOV_LEN=4,
00274 
00276     GE_ADW_IM_DFOV_RECT_LEN=4,
00277 
00279     GE_ADW_IM_DIM_X_LEN=4,
00280 
00282     GE_ADW_IM_DIM_Y_LEN=4,
00283 
00285     GE_ADW_IM_PIXSIZE_X_LEN=4,
00286 
00288     GE_ADW_IM_PIXSIZE_Y_LEN=4,
00289 
00291     GE_ADW_IM_CONTMODE_LEN=2,
00292 
00294     GE_ADW_IM_PLANE_LEN=2,
00295 
00297     GE_ADW_IM_SCANSPACING_LEN=4,
00298 
00300     GE_ADW_IM_LOC_RAS_LEN=1,
00301 
00303     GE_ADW_IM_LOC_LEN=4,
00304 
00306     GE_ADW_IM_ULHC_R_LEN=4,
00307 
00309     GE_ADW_IM_ULHC_A_LEN=4,
00310 
00312     GE_ADW_IM_ULHC_S_LEN=4,
00313 
00315     GE_ADW_IM_URHC_R_LEN=4,
00316 
00318     GE_ADW_IM_URHC_A_LEN=4,
00319 
00321     GE_ADW_IM_URHC_S_LEN=4,
00322 
00324     GE_ADW_IM_BRHC_R_LEN=4,
00325 
00327     GE_ADW_IM_BRHC_A_LEN=4,
00328 
00330     GE_ADW_IM_BRHC_S_LEN=4,
00331 
00333     GE_ADW_IM_TR_LEN=4,
00334 
00336     GE_ADW_IM_TI_LEN=4,
00337 
00339     GE_ADW_IM_TE_LEN=4,
00340 
00342     GE_ADW_IM_NUMECHO_LEN=2,
00343 
00345     GE_ADW_IM_ECHONUM_LEN=2,
00346 
00348     GE_ADW_IM_NEX_LEN=4,
00349 
00351     GE_ADW_IM_CONTIG_LEN=2,
00352 
00354     GE_ADW_IM_HRTRATE_LEN=2,
00355 
00357     GE_ADW_IM_TDEL_LEN=4,
00358 
00360     GE_ADW_IM_XMTGAIN_LEN=2,
00361 
00363     GE_ADW_IM_MR_FLIP_LEN=2,
00364 
00366     GE_ADW_IM_CPHASE_LEN=2,
00367 
00369     GE_ADW_IM_SWAPPF_LEN=2,
00370 
00372     GE_ADW_IM_OBPLANE_LEN=4,
00373 
00375     GE_ADW_IM_XMTFREQ_LEN=4,
00376 
00378     GE_ADW_IM_PRESCAN_R1_LEN=2,
00379 
00381     GE_ADW_IM_PRESCAN_R2_LEN=2,
00382 
00384     GE_ADW_IM_IMODE_LEN=2,
00385 
00387     GE_ADW_IM_IOPT_LEN=4,
00388 
00390     GE_ADW_IM_PSEQ_LEN=2,
00391 
00393     GE_ADW_IM_PSDNAME_LEN=33,
00394 
00396     GE_ADW_IM_CTYP_LEN=2,
00397 
00399     GE_ADW_IM_CNAME_LEN=17,
00400 
00402     GE_ADW_IM_SUPP_TECH_LEN=2,
00403 
00405     GE_ADW_IM_VBW_LEN=4,
00406 
00408     GE_ADW_IM_SLQUANT_LEN=2,
00409 
00411     GE_ADW_IM_USER0_LEN=4,
00412 
00414     GE_ADW_IM_USER1_LEN=4,
00415 
00417     GE_ADW_IM_USER2_LEN=4,
00418 
00420     GE_ADW_IM_USER3_LEN=4,
00421 
00423     GE_ADW_IM_USER4_LEN=4,
00424 
00426     GE_ADW_IM_USER5_LEN=4,
00427 
00429     GE_ADW_IM_USER6_LEN=4,
00430 
00432     GE_ADW_IM_USER7_LEN=4,
00433 
00435     GE_ADW_IM_USER8_LEN=4,
00436 
00438     GE_ADW_IM_USER9_LEN=4,
00439 
00441     GE_ADW_IM_USER10_LEN=4,
00442 
00444     GE_ADW_IM_USER11_LEN=4,
00445 
00447     GE_ADW_IM_USER12_LEN=4,
00448 
00450     GE_ADW_IM_USER13_LEN=4,
00451 
00453     GE_ADW_IM_USER14_LEN=4,
00454 
00456     GE_ADW_IM_USER15_LEN=4,
00457 
00459     GE_ADW_IM_USER16_LEN=4,
00460 
00462     GE_ADW_IM_USER17_LEN=4,
00463 
00465     GE_ADW_IM_USER18_LEN=4,
00466 
00468     GE_ADW_IM_USER19_LEN=4,
00469 
00471     GE_ADW_IM_USER20_LEN=4,
00472 
00474     GE_ADW_IM_USER21_LEN=4,
00475 
00477     GE_ADW_IM_USER22_LEN=4,
00478 
00480     GE_ADW_IM_USER23_LEN=4,
00481 
00483     GE_ADW_IM_USER24_LEN=4,
00484 
00486     GE_ADW_IM_SATBITS_LEN=2,
00487 
00489     GE_ADW_IM_SCIC_LEN=2,
00490 
00492     GE_ADW_IM_FLAX_LEN=2,
00493 
00495     GE_ADW_IM_VENC_LEN=2,
00496 
00498     GE_ADW_IM_THK_DISCLMR_LEN=2,
00499 
00501     GE_ADW_IM_VAS_COLLAPSE_LEN=2,
00502 
00504     GE_ADW_IM_X_AXIS_ROT_LEN=4,
00505 
00507     GE_ADW_IM_Y_AXIS_ROT_LEN=4,
00508 
00510     GE_ADW_IM_Z_AXIS_ROT_LEN=4,
00511 
00513     GE_ADW_IM_ECHO_TRN_LEN=2,
00514 
00516     GE_ADW_IM_FRAC_ECHO_LEN=2,
00517 
00519     GE_ADW_IM_PREP_PULSE_LEN=2,
00520 
00522     GE_ADW_IM_CPHASENUM_LEN=2,
00523 
00525     GE_ADW_IM_VAR_ECHO_LEN=2,
00526 
00528     GE_ADW_IM_FREQ_DIR_LEN=2,
00529 
00531     GE_ADW_IM_VMODE_LEN=2,
00532 
00534     GE_ADW_VARIABLE_HDR_LENGTH_LEN=4,
00535 
00537   };
00538 
00539 };
00540 
00541 } // end namespace itk
00542 
00543 #endif // __itkAnalyzeImageIO_h
00544 

Generated at Mon Apr 14 12:31:53 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000