1 #ifndef __IMAGE_SOURCE_THING__
2 #define __IMAGE_SOURCE_THING__
6 //------------------------------------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------------------------------------
11 #include "vtkImageData.h"
13 * Represents the image source, is named the source because is the base for all calculus with the complete loaded image needeed
15 class ImageSourceThing{
17 //------------------------------------------------------------------------------------------------------------
18 // Constructors & Destructors
19 //------------------------------------------------------------------------------------------------------------
24 * Creates the source image with the given parameter
25 * @param sourceImage The image source to set.
27 ImageSourceThing(vtkImageData * theSource);
30 * Destroys the image source
33 //------------------------------------------------------------------------------------------------------------
35 //------------------------------------------------------------------------------------------------------------
38 * Gets the source image
39 * @return sourceImage The image source.
41 vtkImageData * getSourceImage();
44 * Sets the source image
45 * @param sourceImage The image source to set.
47 void setSourceImage( vtkImageData * theSource);
50 * Gets the max value of the x-axis
51 * @return x-extend_MAX
56 * Gets the min value of the x-axis
57 * @return x-extend_MIN
62 * Gets the range values of the x-axis
63 * @return x-extend pointer to a 2 sized []
68 * Gets the max value of the y-axis
69 * @return y-extend_MAX
74 * Gets the min value of the y-axis
75 * @return y-extend_MIN
81 * Gets the range values of the y-axis
82 * @return y-extend pointer to a 2 sized []
87 * Gets the max value of the z-axis
88 * @return z-extend_MAX
93 * Gets the min value of the z-axis
94 * @return z-extend_MIN
100 * Gets the range values of the z-axis
101 * @return z-extend pointer to a 2 sized []
107 * Gets the range values of the x-axis
108 * @return x-extend pointer to a 6 sized []
110 int * getAllRanges();
113 //------------------------------------------------------------------------------------------------------------
115 //------------------------------------------------------------------------------------------------------------
118 //------------------------------------------------------------------------------------------------------------
120 //------------------------------------------------------------------------------------------------------------
123 * Represents the source image
125 vtkImageData * sourceImage;