pixel_metadata.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //--------------------------------------------------
00012 
00013 #ifndef PIXEL_METADATA_H_
00014 #define PIXEL_METADATA_H_
00015 
00016 #include <vector>
00017 #include "metadata.h"
00018 #include "../global/global_definitions.h"
00019 
00020 namespace imedgine 
00021 {
00022 
00023   //--------------------------------------------------
00035   //--------------------------------------------------
00036 
00037   class PixelMetadata: public Metadata 
00038   {
00039   public:
00040   
00041     //--------------------------------------------------
00044     
00045     PixelMetadata(unsigned char num_dimensions, 
00046                   dataset_position_type size, 
00047                   spacings_type spacings, 
00048                   unsigned char num_bytes_per_pixel);
00049     
00050     //--------------------------------------------------
00053     
00054     virtual ~PixelMetadata(); 
00055     
00056     //--------------------------------------------------
00061     
00062     unsigned char getNumDimensions() const;
00063    
00064     //--------------------------------------------------
00069     
00070     dataset_position_type const& getSize() const;
00071     
00072     //--------------------------------------------------
00077     
00078     spacings_type const& getSpacings() const;
00079     
00080     //--------------------------------------------------
00085     
00086     unsigned char getNumBytesPerPixel() const;
00087     
00088   private:
00089     
00090     //--------------------------------------------------
00092     unsigned char num_dimensions_;
00093     
00094     //--------------------------------------------------
00096     dataset_position_type size_;
00097     
00098     //--------------------------------------------------
00100     spacings_type spacings_;
00101     
00102     //--------------------------------------------------
00104     unsigned char num_bytes_per_pixel_;
00105   
00106     //--------------------------------------------------
00109     
00110     PixelMetadata(PixelMetadata const&) {}
00111     
00112     //--------------------------------------------------
00115     
00116     PixelMetadata& operator = (PixelMetadata const&) { return(*this); }
00117   };
00118 
00119 }
00120 
00121 #endif //PIXEL_METADATA_H_ 
00122 

Generated on Sun Aug 13 18:19:39 2006 for iMEDgine by  doxygen 1.4.6