25#ifndef vtkResampleToImage_h
26#define vtkResampleToImage_h
29#include "vtkFiltersCoreModule.h"
48 vtkSetMacro(UseInputBounds,
bool);
49 vtkGetMacro(UseInputBounds,
bool);
50 vtkBooleanMacro(UseInputBounds,
bool);
58 vtkSetVector6Macro(SamplingBounds,
double);
59 vtkGetVector6Macro(SamplingBounds,
double);
66 vtkSetVector3Macro(SamplingDimensions,
int);
67 vtkGetVector3Macro(SamplingDimensions,
int);
98 bool computeProbingExtent,
const double inputBounds[6],
vtkImageData* output);
112 double SamplingBounds[6];
113 int SamplingDimensions[3];
Superclass for all sources, filters, and sinks in VTK.
general representation of visualization data
topologically and geometrically regular array of data
a simple class to control print indentation
sample dataset on a uniform grid
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
~vtkResampleToImage() override
static void ComputeDataBounds(vtkDataObject *data, double bounds[6])
Helper function to compute the bounds of the given vtkDataSet or vtkCompositeDataSet.
void SetBlankPointsAndCells(vtkImageData *data)
Mark invalid points and cells of vtkImageData as hidden.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
const char * GetMaskArrayName() const
Get the name of the valid-points mask array.
vtkImageData * GetOutput()
Get the output data for this algorithm.
void PerformResampling(vtkDataObject *input, const double samplingBounds[6], bool computeProbingExtent, const double inputBounds[6], vtkImageData *output)
Resample input vtkDataObject to a vtkImageData with the specified bounds and extent.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
static vtkResampleToImage * New()