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);
432 virtual void PassAttributeData(
438 void ExtractImageDescription(
vtkImageData *input,
int dims[3],
439 double origin[3],
double spacing[3]);
std::vector< vtkStdString > DerivArrays
Wrapper around std::string to keep symbols short.
vtkAbstractPointLocator * Locator
const char * GetDerivativeArray(int i)
Return the name of the ith derivative array.
void ClearExcludedArrays()
Clears the contents of excluded array list.
abstract class to specify dataset behavior
interpolate over point cloud using SPH kernels
dynamic, self-adjusting array of float
void AddDerivativeArray(const vtkStdString &derivArray)
Adds an array to the list of arrays whose derivative is to be taken.
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
void SetNullPointsStrategyToMaskPoints()
Specify a strategy to use when encountering a "null" point during the interpolation process...
vtkTypeUInt64 vtkMTimeType
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of char
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
a simple class to control print indentation
abstract class to quickly locate points in 3-space
topologically and geometrically regular array of data
list of point or cell ids
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process...
virtual vtkMTimeType GetMTime()
Return this object's modified time.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual void Modified()
Update the modification time for this object.
vtkCharArray * ValidPointsMask
vtkStdString ShepardSumArrayName
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkStdString ValidPointsMaskArrayName
std::vector< vtkStdString > ExcludedArrays
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void ClearDerivativeArrays()
Clears the contents of derivative array list.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
vtkStdString DensityArrayName
int GetNumberOfDerivativeArrays()
Return the number of derivative arrays.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkStdString MassArrayName
a family of SPH interpolation kernels
vtkStdString CutoffArrayName
general representation of visualization data
vtkFloatArray * ShepardSumArray
static vtkDataSetAlgorithm * New()
void SetNullPointsStrategyToNullValue()
Specify a strategy to use when encountering a "null" point during the interpolation process...