77 #ifndef vtkShepardMethod_h
78 #define vtkShepardMethod_h
81 #include "vtkImagingHybridModule.h"
115 vtkGetVectorMacro(SampleDimensions,
int, 3);
126 vtkSetClampMacro(MaximumDistance,
double, 0.0, 1.0);
127 vtkGetMacro(MaximumDistance,
double);
136 vtkSetMacro(NullValue,
double);
137 vtkGetMacro(NullValue,
double);
147 vtkSetVector6Macro(ModelBounds,
double);
148 vtkGetVectorMacro(ModelBounds,
double, 6);
156 vtkSetClampMacro(PowerParameter,
double, 0.001, 100);
157 vtkGetMacro(PowerParameter,
double);
178 int SampleDimensions[3];
180 double ModelBounds[6];
Generic algorithm superclass for image algs.
a simple class to control print indentation
interpolate points and associated scalars onto volume using the method of Shepard
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
~vtkShepardMethod() override=default
void SetSampleDimensions(int dim[3])
Set the i-j-k dimensions on which to sample the input points.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
void SetSampleDimensions(int i, int j, int k)
Set the i-j-k dimensions on which to interpolate the input points.
double ComputeModelBounds(double origin[3], double spacing[3])
Compute ModelBounds from the input geometry.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
static vtkShepardMethod * New()
Construct with sample dimensions=(50,50,50) and so that model bounds are automatically computed from ...