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

dox/Filtering/vtkStructuredPointsToStructuredPointsFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredPointsToStructuredPointsFilter.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00027 #ifndef __vtkStructuredPointsToStructuredPointsFilter_h 00028 #define __vtkStructuredPointsToStructuredPointsFilter_h 00029 00030 #include "vtkStructuredPointsSource.h" 00031 00032 class vtkImageData; 00033 00034 class VTK_FILTERING_EXPORT vtkStructuredPointsToStructuredPointsFilter : public vtkStructuredPointsSource 00035 { 00036 public: 00037 vtkTypeRevisionMacro(vtkStructuredPointsToStructuredPointsFilter,vtkStructuredPointsSource); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 void SetInput(vtkImageData *input); 00043 vtkImageData *GetInput(); 00045 00046 protected: 00047 vtkStructuredPointsToStructuredPointsFilter() {this->NumberOfRequiredInputs = 1;}; 00048 ~vtkStructuredPointsToStructuredPointsFilter() {}; 00049 00050 // Since input[0] and output are of same type, we can create this 00051 // method that defaults to just copying information. 00052 void ExecuteInformation(); 00053 00054 void ComputeInputUpdateExtents(vtkDataObject *output); 00055 00056 private: 00057 vtkStructuredPointsToStructuredPointsFilter(const vtkStructuredPointsToStructuredPointsFilter&); // Not implemented. 00058 void operator=(const vtkStructuredPointsToStructuredPointsFilter&); // Not implemented. 00059 }; 00060 00061 #endif 00062 00063