dox/Imaging/vtkImageSubSample.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   vtkCNMRRLibrary
00004   Module:    $RCSfile: vtkImageSubSample.h,v $
00005 
00006   Copyright  2005  The Pennsylvania State University
00007   
00008           Notice
00009  
00010   The contents of this file are subject to The Pennsylvania State University 
00011   Open Source License (the "License"); you may not use this file except in 
00012   compliance with the License. You may obtain a copy of the License at H066 
00013   Radiology, NMR Building, 500 University Drive, Hershey, PA, 
00014   tel. (717) 531-6069 or via email at dcb210@psu.edu.
00015  
00016   Software distributed under the License is distributed on an "AS IS" basis, 
00017   WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
00018   for the specific language governing rights and limitations under the 
00019   License.
00020  
00021   The Original Code is listed under Exhibit A of the license.
00022  
00023   The Initial Developer of the Original Code is Don Bigler.
00024  
00025   Contributor(s):
00026 
00027 =========================================================================*/
00043 #ifndef __vtkImageSubSample_h
00044 #define __vtkImageSubSample_h
00045 
00046 #include "vtkImageToImageFilter.h"
00047 #include "vtkCNMRRImagingWin32Header.h"
00048 
00049 class VTK_CNMRR_IMAGING_EXPORT vtkImageSubSample : public vtkImageToImageFilter
00050 {
00051 public:
00052   vtkTypeRevisionMacro(vtkImageSubSample,vtkImageToImageFilter);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056   static vtkImageSubSample *New();
00057 
00059 
00063   vtkSetVector3Macro(SampleRate, float);
00064   vtkGetVectorMacro(SampleRate, float, 3);
00066 
00067 protected:
00068   vtkImageSubSample();
00069   ~vtkImageSubSample() {};
00070 
00071   virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00072   void ExecuteInformation(vtkImageData *input, vtkImageData *output);
00073   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00074   virtual void ExecuteData(vtkDataObject *);
00075 
00076   float SampleRate[3];
00077 private:
00078   vtkImageSubSample(const vtkImageSubSample&);  // Not implemented.
00079   void operator=(const vtkImageSubSample&);  // Not implemented.
00080 };
00081 
00082 #endif

Generated on Tue May 12 14:53:03 2009 for vtkCNMRRLibrary by  doxygen 1.4.7