Go to the documentation of this file.
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]);
vtkMTimeType GetMTime()
Get the MTime of this object also considering the locator and kernel.
void SetNullPointsStrategyToClosestPoint()
void SetNullPointsStrategyToMaskPoints()
virtual void Modified()
Update the modification time for this object.
vtkInterpolationKernel * Kernel
void ExtractImageDescription(vtkImageData *input, int dims[3], double origin[3], double spacing[3])
Internal method to extract image metadata.
vtkTypeUInt64 vtkMTimeType
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.
void SetKernel(vtkInterpolationKernel *kernel)
Specify an interpolation kernel.
dynamic, self-adjusting array of char
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual void PassAttributeData(vtkDataSet *input, vtkDataObject *source, vtkDataSet *output)
Call at end of RequestData() to pass attribute data respecting the PassCellArrays,...
topologically and geometrically regular array of data
a simple class to control print indentation
vtkDataObject * GetSource()
vtkAbstractPointLocator * Locator
list of point or cell ids
void SetSourceData(vtkDataObject *source)
Specify the dataset Pc that will be probed by the input points P.
vtkStdString ValidPointsMaskArrayName
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetNullPointsStrategyToNullValue()
vtkCharArray * ValidPointsMask
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the dataset Pc that will be probed by the input points P.
Proxy object to connect input/output ports.
abstract class to quickly locate points in 3-space
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
virtual void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output)
Virtual for specialized subclass(es)
interpolate over point cloud using various kernels
dynamic, self-adjusting array of double
void ClearExcludedArrays()
Clears the contents of excluded array list.
Wrapper around std::string to keep symbols short.
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
general representation of visualization data
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
static vtkPointInterpolator * New()
Standard methods for instantiating, obtaining type information, and printing.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int GetNumberOfExcludedArrays()
Return the number of excluded arrays.
base class for interpolation kernels
std::vector< vtkStdString > ExcludedArrays