68 #ifndef vtkPointInterpolator_h 69 #define vtkPointInterpolator_h 71 #include "vtkFiltersPointsModule.h" 155 vtkSetMacro(NullPointsStrategy,
int);
156 vtkGetMacro(NullPointsStrategy,
int);
158 { this->SetNullPointsStrategy(MASK_POINTS); }
160 { this->SetNullPointsStrategy(NULL_VALUE); }
162 { this->SetNullPointsStrategy(CLOSEST_POINT); }
182 vtkSetMacro(NullValue,
double);
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();
236 vtkSetMacro(PromoteOutputArrays,
bool);
237 vtkBooleanMacro(PromoteOutputArrays,
bool);
238 vtkGetMacro(PromoteOutputArrays,
bool);
246 vtkSetMacro(PassPointArrays,
bool);
247 vtkBooleanMacro(PassPointArrays,
bool);
248 vtkGetMacro(PassPointArrays,
bool);
256 vtkSetMacro(PassCellArrays,
bool);
257 vtkBooleanMacro(PassCellArrays,
bool);
258 vtkGetMacro(PassCellArrays,
bool);
266 vtkSetMacro(PassFieldArrays,
bool);
267 vtkBooleanMacro(PassFieldArrays,
bool);
268 vtkGetMacro(PassFieldArrays,
bool);
312 virtual void PassAttributeData(
318 void ExtractImageDescription(
vtkImageData *input,
int dims[3],
319 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