77 #ifndef vtkSPHInterpolator_h
78 #define vtkSPHInterpolator_h
80 #include "vtkFiltersPointsModule.h"
185 this->ExcludedArrays.push_back(excludedArray);
196 this->ExcludedArrays.clear();
205 {
return static_cast<int>(this->ExcludedArrays.size());}
213 if ( i < 0 || i >= static_cast<int>(this->ExcludedArrays.size()) )
217 return this->ExcludedArrays[i].c_str();
229 this->DerivArrays.push_back(derivArray);
240 this->DerivArrays.clear();
249 {
return static_cast<int>(this->DerivArrays.size());}
257 if ( i < 0 || i >= static_cast<int>(this->DerivArrays.size()) )
261 return this->DerivArrays[i].c_str();
283 vtkGetMacro(NullPointsStrategy,
int);
285 { this->SetNullPointsStrategy(MASK_POINTS); }
287 { this->SetNullPointsStrategy(NULL_VALUE); }
308 vtkGetMacro(NullValue,
double);
322 vtkGetMacro(ComputeShepardSum,
bool);
345 vtkGetMacro(PromoteOutputArrays,
bool);
355 vtkGetMacro(PassPointArrays,
bool);
365 vtkGetMacro(PassCellArrays,
bool);
375 vtkGetMacro(PassFieldArrays,
bool);
385 ~vtkSPHInterpolator() VTK_OVERRIDE;
398 int NullPointsStrategy;
403 bool ComputeShepardSum;
407 bool PromoteOutputArrays;
410 bool PassPointArrays;
411 bool PassFieldArrays;
414 vtkInformationVector *) VTK_OVERRIDE;
415 int RequestInformation(vtkInformation *, vtkInformationVector **,
416 vtkInformationVector *) VTK_OVERRIDE;
417 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
418 vtkInformationVector *) VTK_OVERRIDE;
429 virtual
void PassAttributeData(
435 void ExtractImageDescription(
vtkImageData *input,
int dims[3],
436 double origin[3],
double spacing[3]);
439 vtkSPHInterpolator(const vtkSPHInterpolator&) VTK_DELETE_FUNCTION;
440 void operator=(const vtkSPHInterpolator&) VTK_DELETE_FUNCTION;
Wrapper around std::string to keep symbols short.
const char * GetDerivativeArray(int i)
Return the name of the ith derivative array.
void ClearExcludedArrays()
Clears the contents of excluded array list.
vtkTypeUInt32 vtkMTimeType
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...
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 void Modified()
Update the modification time for this object.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void ClearDerivativeArrays()
Clears the contents of derivative array list.
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.
a family of SPH interpolation kernels
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetNullPointsStrategyToNullValue()
Specify a strategy to use when encountering a "null" point during the interpolation process...