Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Filtering/vtkStructuredPointsToStructuredPointsFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredPointsToStructuredPointsFilter.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00045 #ifndef __vtkStructuredPointsToStructuredPointsFilter_h
00046 #define __vtkStructuredPointsToStructuredPointsFilter_h
00047 
00048 #include "vtkStructuredPointsSource.h"
00049 
00050 class vtkImageData;
00051 
00052 class VTK_FILTERING_EXPORT vtkStructuredPointsToStructuredPointsFilter : public vtkStructuredPointsSource
00053 {
00054 public:
00055   vtkTypeRevisionMacro(vtkStructuredPointsToStructuredPointsFilter,vtkStructuredPointsSource);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00059 
00060   void SetInput(vtkImageData *input);
00061   vtkImageData *GetInput();
00063 
00064 protected:
00065   vtkStructuredPointsToStructuredPointsFilter() {this->NumberOfRequiredInputs = 1;};
00066   ~vtkStructuredPointsToStructuredPointsFilter() {};
00067 
00068   // Since input[0] and output are of same type, we can create this
00069   // method that defaults to just copying information.
00070   void ExecuteInformation();
00071 
00072   void ComputeInputUpdateExtents(vtkDataObject *output);
00073 
00074 private:
00075   vtkStructuredPointsToStructuredPointsFilter(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00076   void operator=(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00077 };
00078 
00079 #endif
00080 
00081