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

dox/Imaging/vtkShepardMethod.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkShepardMethod.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00046 #ifndef __vtkShepardMethod_h
00047 #define __vtkShepardMethod_h
00048 
00049 #include "vtkDataSetToImageFilter.h"
00050 
00051 class VTK_IMAGING_EXPORT vtkShepardMethod : public vtkDataSetToImageFilter 
00052 {
00053 public:
00054   vtkTypeRevisionMacro(vtkShepardMethod,vtkDataSetToImageFilter);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00060   static vtkShepardMethod *New();
00061   
00063   float ComputeModelBounds(float origin[3], float ar[3]);
00064 
00066 
00067   vtkGetVectorMacro(SampleDimensions,int,3);
00069   
00071   void SetSampleDimensions(int i, int j, int k);
00072 
00074   void SetSampleDimensions(int dim[3]);
00075 
00077 
00082   vtkSetClampMacro(MaximumDistance,float,0.0,1.0);
00083   vtkGetMacro(MaximumDistance,float);
00085 
00087 
00088   vtkSetVector6Macro(ModelBounds,float);
00089   vtkGetVectorMacro(ModelBounds,float,6);
00091 
00093 
00095   vtkSetMacro(NullValue,float);
00096   vtkGetMacro(NullValue,float);
00098 
00099 protected:
00100   vtkShepardMethod();
00101   ~vtkShepardMethod() {};
00102 
00103   virtual void ExecuteInformation();
00104   virtual void ExecuteData(vtkDataObject *);
00105 
00106   int SampleDimensions[3];
00107   float MaximumDistance;
00108   float ModelBounds[6];
00109   float NullValue;
00110 private:
00111   vtkShepardMethod(const vtkShepardMethod&);  // Not implemented.
00112   void operator=(const vtkShepardMethod&);  // Not implemented.
00113 };
00114 
00115 #endif
00116 
00117