49#ifndef vtkProbeLineFilter_h
50#define vtkProbeLineFilter_h
53#include "vtkFiltersParallelDIY2Module.h"
92 vtkSetMacro(PassCellArrays,
bool);
93 vtkBooleanMacro(PassCellArrays,
bool);
94 vtkGetMacro(PassCellArrays,
bool);
101 vtkSetMacro(PassPointArrays,
bool);
102 vtkBooleanMacro(PassPointArrays,
bool);
103 vtkGetMacro(PassPointArrays,
bool);
111 vtkSetMacro(PassFieldArrays,
bool);
112 vtkBooleanMacro(PassFieldArrays,
bool);
113 vtkGetMacro(PassFieldArrays,
bool);
122 vtkSetMacro(Tolerance,
double);
123 vtkGetMacro(Tolerance,
double);
132 vtkSetMacro(ComputeTolerance,
bool);
133 vtkBooleanMacro(ComputeTolerance,
bool);
134 vtkGetMacro(ComputeTolerance,
bool);
150 vtkSetMacro(PassPartialArrays,
bool);
151 vtkGetMacro(PassPartialArrays,
bool);
152 vtkBooleanMacro(PassPartialArrays,
bool);
160 SAMPLE_LINE_AT_CELL_BOUNDARIES = 0,
161 SAMPLE_LINE_AT_SEGMENT_CENTERS = 1,
162 SAMPLE_LINE_UNIFORMLY = 2
170 vtkGetMacro(SamplingPattern,
int);
171 vtkSetClampMacro(SamplingPattern,
int, 0, 2);
180 vtkGetMacro(LineResolution,
int);
181 vtkSetMacro(LineResolution,
int);
192 vtkGetMacro(AggregateAsPolyData,
bool);
193 vtkSetMacro(AggregateAsPolyData,
bool);
194 vtkBooleanMacro(AggregateAsPolyData,
bool);
218 const std::vector<vtkDataSet*>& input,
const double tolerance)
const;
225 int SamplingPattern = SAMPLE_LINE_AT_CELL_BOUNDARIES;
226 int LineResolution = 1000;
228 bool AggregateAsPolyData =
true;
229 bool PassPartialArrays =
false;
230 bool PassCellArrays =
false;
231 bool PassPointArrays =
false;
232 bool PassFieldArrays =
false;
233 bool ComputeTolerance =
true;
234 double Tolerance = 1.0;
241 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
virtual void SetSourceConnection(vtkAlgorithmOutput *input)
Set the source for creating the lines to probe from.
SamplingPatternEnum
Sampling pattern enumeration.
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.
Hold a reference to a vtkObjectBase instance.