vtkShepardMethod.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00054 #ifndef __vtkShepardMethod_h
00055 #define __vtkShepardMethod_h
00056
00057 #include "vtkDataSetToImageFilter.h"
00058
00059 class VTK_IMAGING_EXPORT vtkShepardMethod : public vtkDataSetToImageFilter
00060 {
00061 public:
00062 vtkTypeRevisionMacro(vtkShepardMethod,vtkDataSetToImageFilter);
00063 void PrintSelf(ostream& os, vtkIndent indent);
00064
00068 static vtkShepardMethod *New();
00069
00071 double ComputeModelBounds(double origin[3], double ar[3]);
00072
00074
00075 vtkGetVectorMacro(SampleDimensions,int,3);
00077
00079 void SetSampleDimensions(int i, int j, int k);
00080
00082 void SetSampleDimensions(int dim[3]);
00083
00085
00090 vtkSetClampMacro(MaximumDistance,double,0.0,1.0);
00091 vtkGetMacro(MaximumDistance,double);
00093
00095
00096 vtkSetVector6Macro(ModelBounds,double);
00097 vtkGetVectorMacro(ModelBounds,double,6);
00099
00101
00103 vtkSetMacro(NullValue,double);
00104 vtkGetMacro(NullValue,double);
00106
00107 protected:
00108 vtkShepardMethod();
00109 ~vtkShepardMethod() {};
00110
00111 virtual void ExecuteInformation();
00112 virtual void ExecuteData(vtkDataObject *);
00113
00114 int SampleDimensions[3];
00115 double MaximumDistance;
00116 double ModelBounds[6];
00117 double NullValue;
00118 private:
00119 vtkShepardMethod(const vtkShepardMethod&);
00120 void operator=(const vtkShepardMethod&);
00121 };
00122
00123 #endif
00124
00125