Go to the documentation of this file.
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();
285 vtkSetMacro(NullPointsStrategy,
int);
286 vtkGetMacro(NullPointsStrategy,
int);
288 { this->SetNullPointsStrategy(MASK_POINTS); }
290 { this->SetNullPointsStrategy(NULL_VALUE); }
310 vtkSetMacro(NullValue,
double);
311 vtkGetMacro(NullValue,
double);
389 vtkBooleanMacro(ShepardNormalization,
vtkTypeBool);
446 virtual void PassAttributeData(
const char * GetDerivativeArray(int i)
Return the name of the ith derivative array.
int GetNumberOfDerivativeArrays()
Return the number of derivative arrays.
vtkTypeBool PromoteOutputArrays
dynamic, self-adjusting array of float
void ClearExcludedArrays()
Clears the contents of excluded array list.
virtual void Modified()
Update the modification time for this object.
vtkCharArray * ValidPointsMask
void SetNullPointsStrategyToMaskPoints()
vtkTypeBool ComputeShepardSum
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkTypeBool PassFieldArrays
vtkStdString ValidPointsMaskArrayName
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.
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
vtkStdString MassArrayName
vtkTypeBool PassPointArrays
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Superclass for algorithms that produce output of the same type as input.
dynamic, self-adjusting array of char
vtkStdString DensityArrayName
virtual vtkMTimeType GetMTime()
Return this object's modified time.
a simple class to control print indentation
vtkTypeBool ShepardNormalization
static vtkDataSetAlgorithm * New()
list of point or cell ids
vtkStdString CutoffArrayName
a family of SPH interpolation kernels
abstract class to specify dataset behavior
vtkAbstractPointLocator * Locator
vtkTypeBool PassCellArrays
std::vector< vtkStdString > ExcludedArrays
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Proxy object to connect input/output ports.
std::vector< vtkStdString > DerivArrays
vtkFloatArray * ShepardSumArray
abstract class to quickly locate points in 3-space
void ClearDerivativeArrays()
Clears the contents of derivative array list.
dynamic, self-adjusting array of double
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
interpolate over point cloud using SPH kernels
Wrapper around std::string to keep symbols short.
general representation of visualization data
vtkStdString ShepardSumArrayName
void SetNullPointsStrategyToNullValue()
vtkTypeUInt32 vtkMTimeType
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
void AddDerivativeArray(const vtkStdString &derivArray)
Adds an array to the list of arrays whose derivative is to be taken.