ImageSourceThing.h

Go to the documentation of this file.
00001 #ifndef __IMAGE_SOURCE_THING__
00002 #define __IMAGE_SOURCE_THING__
00003 
00004 
00005 
00006 //------------------------------------------------------------------------------------------------------------
00007 // Includes
00008 //------------------------------------------------------------------------------------------------------------
00009 
00010 #include <iostream>
00011 #include "vtkImageData.h" 
00012 /*
00013 * Represents the image source, is named the source because is the base for all calculus with the complete loaded image needeed
00014 */
00015 class ImageSourceThing{
00016 
00017 //------------------------------------------------------------------------------------------------------------
00018 // Constructors & Destructors
00019 //------------------------------------------------------------------------------------------------------------
00020 public:
00021 
00022         
00023         /*
00024         * Creates the source image with the given parameter
00025         * @param sourceImage The image source to set.
00026         */
00027         ImageSourceThing(vtkImageData * theSource);
00028 
00029         /*
00030         * Destroys the image source
00031         */
00032         ~ImageSourceThing();
00033 //------------------------------------------------------------------------------------------------------------
00034 // Methods
00035 //------------------------------------------------------------------------------------------------------------
00036 
00037         /*
00038         * Gets the source image 
00039         * @return sourceImage The image source.
00040         */
00041         vtkImageData * getSourceImage();
00042 
00043         /*
00044         * Sets the source image 
00045         * @param sourceImage The image source to set.
00046         */
00047         void setSourceImage( vtkImageData *  theSource);
00048 
00053         int getMax_X();
00054 
00059         int getMin_X();
00060 
00065         int * getRangeX();
00066 
00071         int getMax_Y();
00072 
00077         int getMin_Y();
00078 
00079         
00084         int * getRangeY();
00085 
00090         int getMax_Z();
00091 
00096         int getMin_Z();
00097 
00098         
00103         int * getRangeZ();
00104 
00105         
00110         int * getAllRanges();
00111         
00112 
00113 //------------------------------------------------------------------------------------------------------------
00114 // Constants
00115 //------------------------------------------------------------------------------------------------------------
00116 
00117 private:        
00118 //------------------------------------------------------------------------------------------------------------
00119 // Attributes
00120 //------------------------------------------------------------------------------------------------------------
00121 
00122         /*
00123         * Represents the source image
00124         */
00125         vtkImageData * sourceImage;
00126 };
00127 #endif

Generated on Wed Jun 27 23:28:33 2012 for creaContours_lib by  doxygen 1.5.7.1