80 #ifndef vtkSPHInterpolator_h
81 #define vtkSPHInterpolator_h
83 #include "vtkFiltersPointsModule.h"
188 this->ExcludedArrays.push_back(excludedArray);
199 this->ExcludedArrays.clear();
208 {
return static_cast<int>(this->ExcludedArrays.size());}
216 if ( i < 0 || i >=
static_cast<int>(this->ExcludedArrays.size()) )
220 return this->ExcludedArrays[i].c_str();
232 this->DerivArrays.push_back(derivArray);
243 this->DerivArrays.clear();
252 {
return static_cast<int>(this->DerivArrays.size());}
260 if ( i < 0 || i >=
static_cast<int>(this->DerivArrays.size()) )
264 return this->DerivArrays[i].c_str();
286 vtkGetMacro(NullPointsStrategy,
int);
288 { this->SetNullPointsStrategy(MASK_POINTS); }
290 { this->SetNullPointsStrategy(NULL_VALUE); }
311 vtkGetMacro(NullValue,
double);
325 vtkGetMacro(ComputeShepardSum,
bool);
348 vtkGetMacro(PromoteOutputArrays,
bool);
358 vtkGetMacro(PassPointArrays,
bool);
368 vtkGetMacro(PassCellArrays,
bool);
378 vtkGetMacro(PassFieldArrays,
bool);
439 double origin[3],
double spacing[3]);
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
topologically and geometrically regular array of data
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.
vtkCharArray * ValidPointsMask
virtual void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output)
Virtual for specialized subclass(es)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void ExtractImageDescription(vtkImageData *input, int dims[3], double origin[3], double spacing[3])
Internal method to extract image metadata.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
static vtkSPHInterpolator * New()
Standard methods for instantiating, obtaining type information, and printing.
void ClearDerivativeArrays()
Clears the contents of derivative array list.
vtkStdString MassArrayName
void SetKernel(vtkSPHKernel *kernel)
Specify an interpolation kernel.
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
vtkStdString DensityArrayName
vtkFloatArray * ShepardSumArray
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void SetNullPointsStrategyToMaskPoints()
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.
vtkDataObject * GetSource()
vtkStdString ShepardSumArrayName
void SetNullPointsStrategyToNullValue()
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the dataset Pc that will be probed by the input points P.
vtkStdString ValidPointsMaskArrayName
std::vector< vtkStdString > ExcludedArrays
vtkMTimeType GetMTime()
Get the MTime of this object also considering the locator and kernel.
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
vtkStdString CutoffArrayName
vtkAbstractPointLocator * Locator
void ClearExcludedArrays()
Clears the contents of excluded array list.
const char * GetDerivativeArray(int i)
Return the name of the ith derivative array.
virtual void PassAttributeData(vtkDataSet *input, vtkDataObject *source, vtkDataSet *output)
Call at end of RequestData() to pass attribute data respecting the PassCellArrays,...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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 *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType