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

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 =========================================================================*/
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&);  // Not implemented.
00120   void operator=(const vtkShepardMethod&);  // Not implemented.
00121 };
00122 
00123 #endif
00124 
00125