dox/Imaging/vtkImageAdjustPhaseLinearRamps.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   vtkCNMRRLibrary
00004   Module:    $RCSfile: vtkImageAdjustPhaseLinearRamps.h,v $
00005 
00006   Copyright  2006  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 =========================================================================*/
00051 #ifndef __vtkImageAdjustPhaseLinearRamps_h
00052 #define __vtkImageAdjustPhaseLinearRamps_h
00053 
00054 
00055 #include "vtkThreadedImageAlgorithm.h"
00056 #include "vtkCNMRRImagingWin32Header.h"
00057 
00058 class VTK_CNMRR_IMAGING_EXPORT vtkImageAdjustPhaseLinearRamps : public vtkThreadedImageAlgorithm
00059 {
00060    public:
00061       static vtkImageAdjustPhaseLinearRamps *New();
00062       vtkTypeRevisionMacro(vtkImageAdjustPhaseLinearRamps,vtkThreadedImageAlgorithm);
00063       void PrintSelf(ostream& os, vtkIndent indent);
00064    
00066       void SetPhaseInput(vtkDataObject *in){ this->SetInput(0,in); }
00067    
00070          void SetLinearPhaseEstimatesInput(vtkDataObject *in){ this->SetInput(1,in); }
00071       
00073          void SetMaskInput(vtkDataObject *in){ this->SetInput(2,in); }
00074       
00076 
00078       vtkSetMacro(RestoreLinearRamps,int);
00079       vtkGetMacro(RestoreLinearRamps,int);
00080       vtkBooleanMacro(RestoreLinearRamps, int);
00082       
00084 
00088       vtkSetMacro(NumberOfSlicesPerVolume,int);
00089       vtkGetMacro(NumberOfSlicesPerVolume,int);
00091       
00093 
00094       vtkSetMacro(DiagnosticMessages,int);
00095       vtkGetMacro(DiagnosticMessages,int);
00096       vtkBooleanMacro(DiagnosticMessages, int);
00098       
00100 
00102       virtual int SplitExtent(int splitExt[6], int startExt[6], 
00103                           int num, int total);
00105    
00106    protected:
00107       vtkImageAdjustPhaseLinearRamps();
00108       ~vtkImageAdjustPhaseLinearRamps(){};
00109          
00110       int RestoreLinearRamps;
00111       int NumberOfSlicesPerVolume;
00112       int DiagnosticMessages;
00113    
00114       virtual int RequestUpdateExtent(vtkInformation*,
00115                      vtkInformationVector**,
00116                      vtkInformationVector*);
00117       virtual int RequestInformation (vtkInformation*,
00118                      vtkInformationVector**,
00119                      vtkInformationVector*);
00120       virtual void ThreadedRequestData(vtkInformation *request, 
00121                                    vtkInformationVector **inputVector, 
00122                                    vtkInformationVector *outputVector,
00123                                    vtkImageData ***inData, 
00124                                    vtkImageData **outData,
00125                                    int extent[6], int threadId);
00126       virtual int FillInputPortInformation(int port, vtkInformation* info);
00127    
00128    private:
00129       vtkImageAdjustPhaseLinearRamps(const vtkImageAdjustPhaseLinearRamps&);  // Not implemented.
00130       void operator=(const vtkImageAdjustPhaseLinearRamps&);  // Not implemented.
00131 };
00132 
00133 #endif

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