#include <vtkProbePolyhedron.h>
vtkProbePolyhedron is a filter that computes point attributes (e.g., scalars, vectors, etc.) at specified point positions. The filter has two inputs: the Input and Source. The Source geometric structure is passed through the filter. The point attributes are computed at the Input point positions by interpolating into the source data. In this filter, the Source is always a closed, non-self-intersecting, polyhedral mesh. For example, we can compute data values on a plane (plane specified as Input) from a triangle mesh (e.g., output of marching cubes).
This filter can be used to resample data from a mesh onto a different dataset type. For example, a polyhedral mesh (vtkPolyData) can be probed with a volume (three-dimensional vtkImageData), and then volume rendering techniques can be used to visualize the results. Another example: a line or curve can be used to probe a mesh to produce x-y plots along that line or curve.
Note that the filter interpolates from a mesh to points interior, exterior or on the surface of the mesh. This process is necessarily an approximation. Currently the approach of Mean Value Coordinates is used, but this filter may be extended in the future to use other methods.
Definition at line 64 of file vtkProbePolyhedron.h.
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 70 of file vtkProbePolyhedron.h.
vtkProbePolyhedron::vtkProbePolyhedron | ( | ) | [protected] |
vtkProbePolyhedron::~vtkProbePolyhedron | ( | ) | [protected] |
static vtkProbePolyhedron* vtkProbePolyhedron::New | ( | ) | [static] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
virtual const char* vtkProbePolyhedron::GetClassName | ( | ) | [virtual] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
static int vtkProbePolyhedron::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkProbePolyhedron::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
static vtkProbePolyhedron* vtkProbePolyhedron::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
void vtkProbePolyhedron::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard methods for instantiable (i.e., concrete) class.
Reimplemented from vtkDataSetAlgorithm.
void vtkProbePolyhedron::SetSource | ( | vtkPolyData * | source | ) |
Specify the point locations used to probe input. Any geometry can be used. Old style. Do not use unless for backwards compatibility.
vtkPolyData* vtkProbePolyhedron::GetSource | ( | ) |
Specify the point locations used to probe input. Any geometry can be used. Old style. Do not use unless for backwards compatibility.
void vtkProbePolyhedron::SetSourceConnection | ( | vtkAlgorithmOutput * | algOutput | ) |
Specify the point locations used to probe input. Any geometry can be used. New style. Equivalent to SetInputConnection(1, algOutput).
virtual void vtkProbePolyhedron::SetProbePointData | ( | int | ) | [virtual] |
Specify whether to probe (and hence produce) point data. The interpolated point data of the source will produce the output point data (output points are passed from the input points).
virtual int vtkProbePolyhedron::GetProbePointData | ( | ) | [virtual] |
Specify whether to probe (and hence produce) point data. The interpolated point data of the source will produce the output point data (output points are passed from the input points).
virtual void vtkProbePolyhedron::ProbePointDataOn | ( | ) | [virtual] |
Specify whether to probe (and hence produce) point data. The interpolated point data of the source will produce the output point data (output points are passed from the input points).
virtual void vtkProbePolyhedron::ProbePointDataOff | ( | ) | [virtual] |
Specify whether to probe (and hence produce) point data. The interpolated point data of the source will produce the output point data (output points are passed from the input points).
virtual void vtkProbePolyhedron::SetProbeCellData | ( | int | ) | [virtual] |
Specify whether to probe (and hence produce) cell data. The interpolated point data of the source will produce the output cell data (output cells are passed from the input cells). Note that the probing of the input uses the centers of the cells as the probe position.
virtual int vtkProbePolyhedron::GetProbeCellData | ( | ) | [virtual] |
Specify whether to probe (and hence produce) cell data. The interpolated point data of the source will produce the output cell data (output cells are passed from the input cells). Note that the probing of the input uses the centers of the cells as the probe position.
virtual void vtkProbePolyhedron::ProbeCellDataOn | ( | ) | [virtual] |
Specify whether to probe (and hence produce) cell data. The interpolated point data of the source will produce the output cell data (output cells are passed from the input cells). Note that the probing of the input uses the centers of the cells as the probe position.
virtual void vtkProbePolyhedron::ProbeCellDataOff | ( | ) | [virtual] |
Specify whether to probe (and hence produce) cell data. The interpolated point data of the source will produce the output cell data (output cells are passed from the input cells). Note that the probing of the input uses the centers of the cells as the probe position.
virtual int vtkProbePolyhedron::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkProbePolyhedron::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks for Information. Typically an algorithm provides whatever lightweight information about its output that it can here without doing any lengthy computations. This happens in the first pass of the pipeline execution.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkProbePolyhedron::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called within ProcessRequest when each filter in the pipeline decides what portion of its input is needed to create the portion of its output that the downstream filter asks for. This happens during the second pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
int vtkProbePolyhedron::ProbePointData [protected] |
Definition at line 109 of file vtkProbePolyhedron.h.
int vtkProbePolyhedron::ProbeCellData [protected] |
Definition at line 110 of file vtkProbePolyhedron.h.