ImageSourceThing Class Reference

#include <ImageSourceThing.h>

List of all members.

Public Member Functions

 ImageSourceThing (vtkImageData *theSource)
 ~ImageSourceThing ()
vtkImageData * getSourceImage ()
void setSourceImage (vtkImageData *theSource)
int getMax_X ()
int getMin_X ()
int * getRangeX ()
int getMax_Y ()
int getMin_Y ()
int * getRangeY ()
int getMax_Z ()
int getMin_Z ()
int * getRangeZ ()
int * getAllRanges ()

Private Attributes

vtkImageData * sourceImage


Detailed Description

Definition at line 15 of file ImageSourceThing.h.


Constructor & Destructor Documentation

ImageSourceThing::ImageSourceThing ( vtkImageData *  theSource  ) 

Definition at line 20 of file ImageSourceThing.cxx.

References setSourceImage().

00021         {
00022                 setSourceImage(theSource);
00023         }

Here is the call graph for this function:

ImageSourceThing::~ImageSourceThing (  ) 

Definition at line 28 of file ImageSourceThing.cxx.

00029         {
00030 
00031         }


Member Function Documentation

int * ImageSourceThing::getAllRanges (  ) 

Gets the range values of the x-axis

Returns:
x-extend pointer to a 6 sized []

Definition at line 172 of file ImageSourceThing.cxx.

References sourceImage.

00173         { 
00174                 return sourceImage-> GetExtent();
00175         }

int ImageSourceThing::getMax_X (  ) 

Gets the max value of the x-axis

Returns:
x-extend_MAX

Definition at line 58 of file ImageSourceThing.cxx.

References sourceImage.

00059         { 
00060                 int x1, x2, y1, y2, z1, z2;
00061                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00062                 return x2;
00063         }

int ImageSourceThing::getMax_Y (  ) 

Gets the max value of the y-axis

Returns:
y-extend_MAX

Definition at line 94 of file ImageSourceThing.cxx.

References sourceImage.

00095         {
00096                 int x1, x2, y1, y2, z1, z2;
00097                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00098                 return y2;
00099         }

int ImageSourceThing::getMax_Z (  ) 

Gets the max value of the z-axis

Returns:
z-extend_MAX

Definition at line 132 of file ImageSourceThing.cxx.

References sourceImage.

00133         {
00134                 int x1, x2, y1, y2, z1, z2;
00135                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00136                 return z2;
00137         }

int ImageSourceThing::getMin_X (  ) 

Gets the min value of the x-axis

Returns:
x-extend_MIN

Definition at line 69 of file ImageSourceThing.cxx.

References sourceImage.

00070         { 
00071                 int x1, x2, y1, y2, z1, z2;
00072                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00073                 return x1;
00074         }

int ImageSourceThing::getMin_Y (  ) 

Gets the min value of the y-axis

Returns:
y-extend_MIN

Definition at line 105 of file ImageSourceThing.cxx.

References sourceImage.

00106         {
00107                 int x1, x2, y1, y2, z1, z2;
00108                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00109                 return y1;
00110         }

int ImageSourceThing::getMin_Z (  ) 

Gets the min value of the z-axis

Returns:
z-extend_MIN

Definition at line 143 of file ImageSourceThing.cxx.

References sourceImage.

00144         { 
00145                 int x1, x2, y1, y2, z1, z2;
00146                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00147                 return z1;
00148         }

int * ImageSourceThing::getRangeX (  ) 

Gets the range values of the x-axis

Returns:
x-extend pointer to a 2 sized []

Definition at line 80 of file ImageSourceThing.cxx.

References sourceImage.

00081         {
00082                 int x1, x2, y1, y2, z1, z2;
00083                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00084                 int* retVal = new int[2];
00085                 retVal[0]= x1;
00086                 retVal[1]= x2;
00087                 return retVal;
00088         }

int * ImageSourceThing::getRangeY (  ) 

Gets the range values of the y-axis

Returns:
y-extend pointer to a 2 sized []

Definition at line 117 of file ImageSourceThing.cxx.

References sourceImage.

00118         { 
00119                 int x1, x2, y1, y2, z1, z2;
00120                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00121                 int* retVal = new int[2];
00122                 retVal[0]= y1;
00123                 retVal[1]= y2;
00124                 return retVal;
00125 
00126         }

int * ImageSourceThing::getRangeZ (  ) 

Gets the range values of the z-axis

Returns:
z-extend pointer to a 2 sized []

Definition at line 155 of file ImageSourceThing.cxx.

References sourceImage.

00156         { 
00157                 int x1, x2, y1, y2, z1, z2;
00158                 sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
00159                 int* retVal = new int[2];
00160                 retVal[0]= z1;
00161                 retVal[1]= z2;
00162                 return retVal;
00163 
00164 
00165         }

vtkImageData * ImageSourceThing::getSourceImage (  ) 

Definition at line 40 of file ImageSourceThing.cxx.

References sourceImage.

Referenced by KernelManagerContour::getSourceImage().

00041         {
00042                 return sourceImage;
00043         }

Here is the caller graph for this function:

void ImageSourceThing::setSourceImage ( vtkImageData *  theSource  ) 

Definition at line 49 of file ImageSourceThing.cxx.

References sourceImage.

Referenced by ImageSourceThing().

00050         {
00051                 sourceImage = theSource;
00052         }

Here is the caller graph for this function:


Member Data Documentation

vtkImageData* ImageSourceThing::sourceImage [private]


The documentation for this class was generated from the following files:

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