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

Imaging/vtkShepardMethod.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkShepardMethod.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 =========================================================================*/
00042 #ifndef __vtkShepardMethod_h
00043 #define __vtkShepardMethod_h
00044 
00045 #include "vtkDataSetToImageFilter.h"
00046 
00047 class VTK_IMAGING_EXPORT vtkShepardMethod : public vtkDataSetToImageFilter 
00048 {
00049 public:
00050   vtkTypeRevisionMacro(vtkShepardMethod,vtkDataSetToImageFilter);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00056   static vtkShepardMethod *New();
00057   
00059   double ComputeModelBounds(double origin[3], double ar[3]);
00060 
00062 
00063   vtkGetVectorMacro(SampleDimensions,int,3);
00065   
00067   void SetSampleDimensions(int i, int j, int k);
00068 
00070   void SetSampleDimensions(int dim[3]);
00071 
00073 
00078   vtkSetClampMacro(MaximumDistance,double,0.0,1.0);
00079   vtkGetMacro(MaximumDistance,double);
00081 
00083 
00084   vtkSetVector6Macro(ModelBounds,double);
00085   vtkGetVectorMacro(ModelBounds,double,6);
00087 
00089 
00091   vtkSetMacro(NullValue,double);
00092   vtkGetMacro(NullValue,double);
00094 
00095 protected:
00096   vtkShepardMethod();
00097   ~vtkShepardMethod() {};
00098 
00099   virtual void ExecuteInformation();
00100   virtual void ExecuteData(vtkDataObject *);
00101 
00102   int SampleDimensions[3];
00103   double MaximumDistance;
00104   double ModelBounds[6];
00105   double NullValue;
00106 private:
00107   vtkShepardMethod(const vtkShepardMethod&);  // Not implemented.
00108   void operator=(const vtkShepardMethod&);  // Not implemented.
00109 };
00110 
00111 #endif
00112 
00113