77#ifndef vtkSPHInterpolator_h
78#define vtkSPHInterpolator_h
81#include "vtkFiltersPointsModule.h"
184 this->ExcludedArrays.push_back(excludedArray);
195 this->ExcludedArrays.clear();
211 if (i < 0 || i >=
static_cast<int>(this->ExcludedArrays.size()))
215 return this->ExcludedArrays[i].c_str();
227 this->DerivArrays.push_back(derivArray);
238 this->DerivArrays.clear();
254 if (i < 0 || i >=
static_cast<int>(this->DerivArrays.size()))
258 return this->DerivArrays[i].c_str();
279 vtkSetMacro(NullPointsStrategy,
int);
280 vtkGetMacro(NullPointsStrategy,
int);
302 vtkSetMacro(NullValue,
double);
303 vtkGetMacro(NullValue,
double);
abstract class to quickly locate points in 3-space
Proxy object to connect input/output ports.
dynamic, self-adjusting array of char
general representation of visualization data
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
dynamic, self-adjusting array of float
list of point or cell ids
a simple class to control print indentation
virtual void Modified()
Update the modification time for this object.
interpolate over point cloud using SPH kernels
void SetSourceData(vtkDataObject *source)
Specify the dataset Pc that will be probed by the input points P.
int GetNumberOfDerivativeArrays()
Return the number of derivative arrays.
vtkTypeBool ShepardNormalization
vtkCharArray * ValidPointsMask
virtual void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output)
Virtual for specialized subclass(es)
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
const char * GetDerivativeArray(int i)
Return the name of the ith derivative array.
void ClearDerivativeArrays()
Clears the contents of derivative array list.
vtkStdString MassArrayName
void SetKernel(vtkSPHKernel *kernel)
Specify an interpolation kernel.
static vtkSPHInterpolator * New()
Standard methods for instantiating, obtaining type information, and printing.
vtkStdString DensityArrayName
vtkDataObject * GetSource()
Specify the dataset Pc that will be probed by the input points P.
vtkTypeBool PromoteOutputArrays
void SetNullPointsStrategyToMaskPoints()
Specify a strategy to use when encountering a "null" point during the interpolation process.
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator and kernel.
void AddDerivativeArray(const vtkStdString &derivArray)
Adds an array to the list of arrays whose derivative is to be taken.
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process.
vtkStdString ShepardSumArrayName
void SetNullPointsStrategyToNullValue()
Specify a strategy to use when encountering a "null" point during the interpolation process.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the dataset Pc that will be probed by the input points P.
vtkStdString ValidPointsMaskArrayName
~vtkSPHInterpolator() override
vtkTypeBool PassCellArrays
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
std::vector< vtkStdString > ExcludedArrays
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
vtkStdString CutoffArrayName
vtkTypeBool ComputeShepardSum
vtkAbstractPointLocator * Locator
void ClearExcludedArrays()
Clears the contents of excluded array list.
virtual void PassAttributeData(vtkDataSet *input, vtkDataObject *source, vtkDataSet *output)
Call at end of RequestData() to pass attribute data respecting the PassCellArrays,...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkTypeBool PassPointArrays
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
vtkTypeBool PassFieldArrays
std::vector< vtkStdString > DerivArrays
a family of SPH interpolation kernels
Wrapper around std::string to keep symbols short.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkTypeUInt32 vtkMTimeType