68 #ifndef vtkPointInterpolator_h
69 #define vtkPointInterpolator_h
71 #include "vtkFiltersPointsModule.h"
156 vtkGetMacro(NullPointsStrategy,
int);
158 { this->SetNullPointsStrategy(MASK_POINTS); }
160 { this->SetNullPointsStrategy(NULL_VALUE); }
162 { this->SetNullPointsStrategy(CLOSEST_POINT); }
183 vtkGetMacro(NullValue,
double);
193 this->ExcludedArrays.push_back(excludedArray);
204 this->ExcludedArrays.clear();
213 {
return static_cast<int>(this->ExcludedArrays.size());}
221 if ( i < 0 || i >=
static_cast<int>(this->ExcludedArrays.size()) )
225 return this->ExcludedArrays[i].c_str();
238 vtkGetMacro(PromoteOutputArrays,
bool);
248 vtkGetMacro(PassPointArrays,
bool);
258 vtkGetMacro(PassCellArrays,
bool);
268 vtkGetMacro(PassFieldArrays,
bool);
319 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
list of point or cell ids
topologically and geometrically regular array of data
a simple class to control print indentation
base class for interpolation kernels
virtual void Modified()
Update the modification time for this object.
interpolate over point cloud using various kernels
vtkMTimeType GetMTime()
Get the MTime of this object also considering the locator and kernel.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkCharArray * ValidPointsMask
vtkInterpolationKernel * Kernel
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
std::vector< vtkStdString > ExcludedArrays
void SetNullPointsStrategyToNullValue()
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process.
vtkStdString ValidPointsMaskArrayName
void SetSourceData(vtkDataObject *source)
Specify the dataset Pc that will be probed by the input points P.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void PassAttributeData(vtkDataSet *input, vtkDataObject *source, vtkDataSet *output)
Call at end of RequestData() to pass attribute data respecting the PassCellArrays,...
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the dataset Pc that will be probed by the input points P.
virtual void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output)
Virtual for specialized subclass(es)
void SetNullPointsStrategyToClosestPoint()
vtkDataObject * GetSource()
vtkAbstractPointLocator * Locator
void SetKernel(vtkInterpolationKernel *kernel)
Specify an interpolation kernel.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
void ExtractImageDescription(vtkImageData *input, int dims[3], double origin[3], double spacing[3])
Internal method to extract image metadata.
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
void ClearExcludedArrays()
Clears the contents of excluded array list.
void SetNullPointsStrategyToMaskPoints()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPointInterpolator * New()
Standard methods for instantiating, obtaining type information, and printing.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
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