]> Creatis software - creaContours.git/blob - lib/kernel_ManagerContour_NDimensions/ImageSectionThing.h
63d461b1b3707c27dc730636e73f9d43c069be25
[creaContours.git] / lib / kernel_ManagerContour_NDimensions / ImageSectionThing.h
1 #ifndef __IMAGE_SECTION_THING__
2 #define __IMAGE_SECTION_THING__
3
4
5 //------------------------------------------------------------------------------------------------------------
6 // Includes
7 //------------------------------------------------------------------------------------------------------------
8 #include <iostream>
9 #include "vtkImageData.h"
10
11 class ImageSectionThing{
12
13 //------------------------------------------------------------------------------------------------------------
14 // Constructors & Destructors
15 //------------------------------------------------------------------------------------------------------------
16 public:
17
18
19         /*
20         * Creates the section image with the given image
21         * @param sourceImage The image data to set.
22         */
23         ImageSectionThing(vtkImageData * theImage);
24
25         /*
26         * Destroys the image section
27         */
28         ~ImageSectionThing();
29
30 //------------------------------------------------------------------------------------------------------------
31 // Methods
32 //------------------------------------------------------------------------------------------------------------
33
34         /*
35         * Gets the image data 
36         * @return image The image.
37         */
38         vtkImageData * getImageData();
39
40         /*
41         * Sets the source image 
42         * @param theImage The image to set.
43         */
44         void setImageData( vtkImageData *  theImage);
45
46 //------------------------------------------------------------------------------------------------------------
47 // Constants
48 //------------------------------------------------------------------------------------------------------------
49
50 private:        
51 //------------------------------------------------------------------------------------------------------------
52 // Attributes
53 //------------------------------------------------------------------------------------------------------------
54
55         vtkImageData * image;
56
57 };
58 #endif