65 #ifndef vtkPointInterpolator_h 66 #define vtkPointInterpolator_h 68 #include "vtkFiltersPointsModule.h" 152 vtkSetMacro(NullPointsStrategy,
int);
153 vtkGetMacro(NullPointsStrategy,
int);
155 { this->SetNullPointsStrategy(MASK_POINTS); }
157 { this->SetNullPointsStrategy(NULL_VALUE); }
159 { this->SetNullPointsStrategy(CLOSEST_POINT); }
179 vtkSetMacro(NullValue,
double);
180 vtkGetMacro(NullValue,
double);
190 this->ExcludedArrays.push_back(excludedArray);
201 this->ExcludedArrays.clear();
210 {
return static_cast<int>(this->ExcludedArrays.size());}
218 if ( i < 0 || i >= static_cast<int>(this->ExcludedArrays.size()) )
222 return this->ExcludedArrays[i].c_str();
233 vtkSetMacro(PromoteOutputArrays,
bool);
234 vtkBooleanMacro(PromoteOutputArrays,
bool);
235 vtkGetMacro(PromoteOutputArrays,
bool);
243 vtkSetMacro(PassPointArrays,
bool);
244 vtkBooleanMacro(PassPointArrays,
bool);
245 vtkGetMacro(PassPointArrays,
bool);
253 vtkSetMacro(PassCellArrays,
bool);
254 vtkBooleanMacro(PassCellArrays,
bool);
255 vtkGetMacro(PassCellArrays,
bool);
263 vtkSetMacro(PassFieldArrays,
bool);
264 vtkBooleanMacro(PassFieldArrays,
bool);
265 vtkGetMacro(PassFieldArrays,
bool);
309 virtual void PassAttributeData(
315 void ExtractImageDescription(
vtkImageData *input,
int dims[3],
316 double origin[3],
double spacing[3]);
Wrapper around std::string to keep symbols short.
void SetNullPointsStrategyToMaskPoints()
Specify a strategy to use when encountering a "null" point during the interpolation process.
base class for interpolation kernels
vtkStdString ValidPointsMaskArrayName
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
void SetNullPointsStrategyToNullValue()
Specify a strategy to use when encountering a "null" point during the interpolation process.
void ClearExcludedArrays()
Clears the contents of excluded array list.
void SetNullPointsStrategyToClosestPoint()
Specify a strategy to use when encountering a "null" point during the interpolation process.
vtkInterpolationKernel * Kernel
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
const char * GetExcludedArray(int i)
Return the name of the ith excluded array.
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
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void AddExcludedArray(const vtkStdString &excludedArray)
Adds an array to the list of arrays which are to be excluded from the interpolation process.
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.
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...
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
std::vector< vtkStdString > ExcludedArrays
vtkCharArray * ValidPointsMask
Superclass for algorithms that produce output of the same type as input.
general representation of visualization data
static vtkDataSetAlgorithm * New()
vtkAbstractPointLocator * Locator
interpolate over point cloud using various kernels