Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

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 =========================================================================*/
00031 #ifndef __vtkStructuredPointsToStructuredPointsFilter_h
00032 #define __vtkStructuredPointsToStructuredPointsFilter_h
00033 
00034 #include "vtkStructuredPointsSource.h"
00035 
00036 class vtkImageData;
00037 
00038 class VTK_FILTERING_EXPORT vtkStructuredPointsToStructuredPointsFilter : public vtkStructuredPointsSource
00039 {
00040 public:
00041   vtkTypeRevisionMacro(vtkStructuredPointsToStructuredPointsFilter,vtkStructuredPointsSource);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   void SetInput(vtkImageData *input);
00047   vtkImageData *GetInput();
00049 
00050 protected:
00051   vtkStructuredPointsToStructuredPointsFilter() {this->NumberOfRequiredInputs = 1;};
00052   ~vtkStructuredPointsToStructuredPointsFilter() {};
00053 
00054   // Since input[0] and output are of same type, we can create this
00055   // method that defaults to just copying information.
00056   void ExecuteInformation();
00057 
00058   void ComputeInputUpdateExtents(vtkDataObject *output);
00059 
00060 private:
00061   vtkStructuredPointsToStructuredPointsFilter(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00062   void operator=(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00063 };
00064 
00065 #endif
00066 
00067