Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 
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 =========================================================================*/
00043 #ifndef __vtkStructuredPointsToStructuredPointsFilter_h
00044 #define __vtkStructuredPointsToStructuredPointsFilter_h
00045 
00046 #include "vtkStructuredPointsSource.h"
00047 
00048 class vtkImageData;
00049 
00050 class VTK_FILTERING_EXPORT vtkStructuredPointsToStructuredPointsFilter : public vtkStructuredPointsSource
00051 {
00052 public:
00053   vtkTypeRevisionMacro(vtkStructuredPointsToStructuredPointsFilter,vtkStructuredPointsSource);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   void SetInput(vtkImageData *input);
00059   vtkImageData *GetInput();
00061 
00062 protected:
00063   vtkStructuredPointsToStructuredPointsFilter();
00064   ~vtkStructuredPointsToStructuredPointsFilter();
00065 
00066   // Since input[0] and output are of same type, we can create this
00067   // method that defaults to just copying information.
00068   void ExecuteInformation();
00069 
00070   void ComputeInputUpdateExtents(vtkDataObject *output);
00071   virtual int FillInputPortInformation(int, vtkInformation*);
00072 
00073 private:
00074   vtkStructuredPointsToStructuredPointsFilter(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00075   void operator=(const vtkStructuredPointsToStructuredPointsFilter&);  // Not implemented.
00076 };
00077 
00078 #endif
00079 
00080