Imaging/vtkShepardMethod.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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   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 =========================================================================*/
    00058 #ifndef __vtkShepardMethod_h
    00059 #define __vtkShepardMethod_h
    00060
    00061 #include "vtkDataSetToImageFilter.h"
    00062
    00063 class VTK_IMAGING_EXPORT vtkShepardMethod : public vtkDataSetToImageFilter
    00064 {
    00065 public:
    00066   vtkTypeRevisionMacro(vtkShepardMethod,vtkDataSetToImageFilter);
    00067   void PrintSelf(ostream& os, vtkIndent indent);
    00068
    00072   static vtkShepardMethod *New();
    00073
    00075   float ComputeModelBounds(float origin[3], float ar[3]);
    00076
    00078
    00079   vtkGetVectorMacro(SampleDimensions,int,3);
    00081
    00083   void SetSampleDimensions(int i, int j, int k);
    00084
    00086   void SetSampleDimensions(int dim[3]);
    00087
    00089
    00094   vtkSetClampMacro(MaximumDistance,float,0.0,1.0);
    00095   vtkGetMacro(MaximumDistance,float);
    00097
    00099
    00100   vtkSetVector6Macro(ModelBounds,float);
    00101   vtkGetVectorMacro(ModelBounds,float,6);
    00103
    00105
    00107   vtkSetMacro(NullValue,float);
    00108   vtkGetMacro(NullValue,float);
    00110
    00111 protected:
    00112   vtkShepardMethod();
    00113   ~vtkShepardMethod() {};
    00114
    00115   virtual void ExecuteInformation();
    00116   virtual void ExecuteData(vtkDataObject *);
    00117
    00118   int SampleDimensions[3];
    00119   float MaximumDistance;
    00120   float ModelBounds[6];
    00121   float NullValue;
    00122 private:
    00123   vtkShepardMethod(const vtkShepardMethod&);  // Not implemented.
    00124   void operator=(const vtkShepardMethod&);  // Not implemented.
    00125 };
    00126
    00127 #endif
    00128
    00129