VTK
dox/Imaging/Hybrid/vtkSurfaceReconstructionFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkSurfaceReconstructionFilter.h
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 =========================================================================*/
00033 #ifndef __vtkSurfaceReconstructionFilter_h
00034 #define __vtkSurfaceReconstructionFilter_h
00035 
00036 #include "vtkImagingHybridModule.h" // For export macro
00037 #include "vtkImageAlgorithm.h"
00038 
00039 class VTKIMAGINGHYBRID_EXPORT vtkSurfaceReconstructionFilter : public vtkImageAlgorithm
00040 {
00041 public:
00042   vtkTypeMacro(vtkSurfaceReconstructionFilter,vtkImageAlgorithm);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046   static vtkSurfaceReconstructionFilter* New();
00047 
00049 
00055   vtkGetMacro(NeighborhoodSize,int);
00056   vtkSetMacro(NeighborhoodSize,int);
00058 
00060 
00062   vtkGetMacro(SampleSpacing,double);
00063   vtkSetMacro(SampleSpacing,double);
00065 
00066 protected:
00067   vtkSurfaceReconstructionFilter();
00068   ~vtkSurfaceReconstructionFilter() {}
00069 
00070   virtual int RequestInformation (vtkInformation *,
00071                                   vtkInformationVector **,
00072                                   vtkInformationVector *);
00073   virtual int RequestData (vtkInformation *,
00074                            vtkInformationVector **,
00075                            vtkInformationVector *);
00076 
00077   int NeighborhoodSize;
00078   double SampleSpacing;
00079 
00080   virtual int FillInputPortInformation(int, vtkInformation*);
00081 
00082 private:
00083   vtkSurfaceReconstructionFilter(const vtkSurfaceReconstructionFilter&);  // Not implemented.
00084   void operator=(const vtkSurfaceReconstructionFilter&);  // Not implemented.
00085 };
00086 
00087 #endif
00088