 |
VTK
9.1.0
|
Go to the documentation of this file.
94 #ifndef vtkPointInterpolator_h
95 #define vtkPointInterpolator_h
98 #include "vtkFiltersPointsModule.h"
180 vtkSetMacro(NullPointsStrategy,
int);
181 vtkGetMacro(NullPointsStrategy,
int);
204 vtkSetMacro(NullValue,
double);
205 vtkGetMacro(NullValue,
double);
215 this->ExcludedArrays.push_back(excludedArray);
226 this->ExcludedArrays.clear();
242 if (i < 0 || i >=
static_cast<int>(this->ExcludedArrays.size()))
246 return this->ExcludedArrays[i].c_str();
257 vtkSetMacro(PromoteOutputArrays,
bool);
258 vtkBooleanMacro(PromoteOutputArrays,
bool);
259 vtkGetMacro(PromoteOutputArrays,
bool);
267 vtkSetMacro(PassPointArrays,
bool);
268 vtkBooleanMacro(PassPointArrays,
bool);
269 vtkGetMacro(PassPointArrays,
bool);
277 vtkSetMacro(PassCellArrays,
bool);
278 vtkBooleanMacro(PassCellArrays,
bool);
279 vtkGetMacro(PassCellArrays,
bool);
287 vtkSetMacro(PassFieldArrays,
bool);
288 vtkBooleanMacro(PassFieldArrays,
bool);
289 vtkGetMacro(PassFieldArrays,
bool);
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetNullPointsStrategyToClosestPoint()
Specify a strategy to use when encountering a "null" point during the interpolation process.
void SetNullPointsStrategyToMaskPoints()
Specify a strategy to use when encountering a "null" point during the interpolation process.
virtual void Modified()
Update the modification time for this object.
vtkInterpolationKernel * Kernel
~vtkPointInterpolator() override
void ExtractImageDescription(vtkImageData *input, int dims[3], double origin[3], double spacing[3])
Internal method to extract image metadata.
Superclass for algorithms that produce output of the same type as input.
void SetKernel(vtkInterpolationKernel *kernel)
Specify an interpolation kernel.
dynamic, self-adjusting array of char
virtual void PassAttributeData(vtkDataSet *input, vtkDataObject *source, vtkDataSet *output)
Call at end of RequestData() to pass attribute data respecting the PassCellArrays,...
topologically and geometrically regular array of data
a simple class to control print indentation
vtkDataObject * GetSource()
Specify the dataset Pc that will be probed by the input points P.
vtkAbstractPointLocator * Locator
list of point or cell ids
void SetSourceData(vtkDataObject *source)
Specify the dataset Pc that will be probed by the input points P.
vtkStdString ValidPointsMaskArrayName
abstract class to specify dataset behavior
void SetNullPointsStrategyToNullValue()
Specify a strategy to use when encountering a "null" point during the interpolation process.
vtkCharArray * ValidPointsMask
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the dataset Pc that will be probed by the input points P.
Proxy object to connect input/output ports.
abstract class to quickly locate points in 3-space
virtual void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output)
Virtual for specialized subclass(es)
interpolate over point cloud using various kernels
dynamic, self-adjusting array of double
void ClearExcludedArrays()
Clears the contents of excluded array list.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Wrapper around std::string to keep symbols short.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
general representation of visualization data
static vtkPointInterpolator * New()
Standard methods for instantiating, obtaining type information, and printing.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process.
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
base class for interpolation kernels
std::vector< vtkStdString > ExcludedArrays
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator and kernel.
vtkTypeUInt32 vtkMTimeType