46#ifndef vtkProbeLineFilter_h
47#define vtkProbeLineFilter_h
50#include "vtkFiltersParallelDIY2Module.h"
89 vtkSetMacro(PassCellArrays,
bool);
90 vtkBooleanMacro(PassCellArrays,
bool);
91 vtkGetMacro(PassCellArrays,
bool);
98 vtkSetMacro(PassPointArrays,
bool);
99 vtkBooleanMacro(PassPointArrays,
bool);
100 vtkGetMacro(PassPointArrays,
bool);
108 vtkSetMacro(PassFieldArrays,
bool);
109 vtkBooleanMacro(PassFieldArrays,
bool);
110 vtkGetMacro(PassFieldArrays,
bool);
119 vtkSetMacro(Tolerance,
double);
120 vtkGetMacro(Tolerance,
double);
129 vtkSetMacro(ComputeTolerance,
bool);
130 vtkBooleanMacro(ComputeTolerance,
bool);
131 vtkGetMacro(ComputeTolerance,
bool);
147 vtkSetMacro(PassPartialArrays,
bool);
148 vtkGetMacro(PassPartialArrays,
bool);
149 vtkBooleanMacro(PassPartialArrays,
bool);
157 SAMPLE_LINE_AT_CELL_BOUNDARIES = 0,
158 SAMPLE_LINE_AT_SEGMENT_CENTERS = 1,
159 SAMPLE_LINE_UNIFORMLY = 2
177 vtkGetMacro(LineResolution,
int);
178 vtkSetMacro(LineResolution,
int);
189 vtkGetMacro(AggregateAsPolyData,
bool);
190 vtkSetMacro(AggregateAsPolyData,
bool);
191 vtkBooleanMacro(AggregateAsPolyData,
bool);
215 const std::vector<vtkDataSet*>& input,
const double tolerance)
const;
223 int LineResolution = 1000;
225 bool AggregateAsPolyData =
true;
226 bool PassPartialArrays =
false;
227 bool PassCellArrays =
false;
228 bool PassPointArrays =
false;
229 bool PassFieldArrays =
false;
230 bool ComputeTolerance =
true;
231 double Tolerance = 1.0;
238 vtkInternals* Internal;
Proxy object to connect input/output ports.
Superclass for algorithms that produce only data object as output.
general representation of visualization data
abstract class to specify dataset behavior
list of point or cell ids
a simple class to control print indentation
Multiprocessing communication superclass.
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
probe dataset along a line in parallel
SamplingPattern
Sampling pattern enumeration.
virtual void SetSourceConnection(vtkAlgorithmOutput *input)
Set the source for creating the lines to probe from.
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
vtkSmartPointer< vtkPolyData > SampleLineUniformly(const vtkVector3d &p1, const vtkVector3d &p2) const
Generate sampling point between p1 and p2 according to SamplingPattern.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
~vtkProbeLineFilter() override
vtkSmartPointer< vtkPolyData > CreateSamplingPolyLine(vtkPoints *points, vtkIdList *pointIds, vtkDataObject *input, double tol) const
Generate sampling point for a given cell.
vtkSmartPointer< vtkPolyData > SampleLineAtEachCell(const vtkVector3d &p1, const vtkVector3d &p2, const std::vector< vtkDataSet * > &input, const double tolerance) const
Generate sampling point between p1 and p2 according to SamplingPattern.
static vtkProbeLineFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.