VTK
Public Member Functions | Protected Member Functions | Protected Attributes
vtkProbePolyhedron Class Reference

probe/interpolate data values in the interior, exterior or of the surface of a closed, manifold polyhedron More...

#include <vtkProbePolyhedron.h>

Inheritance diagram for vtkProbePolyhedron:
Inheritance graph
[legend]
Collaboration diagram for vtkProbePolyhedron:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetSourceConnection (vtkAlgorithmOutput *algOutput)
void SetSourceData (vtkPolyData *source)
vtkPolyDataGetSource ()
virtual void SetProbePointData (int)
virtual int GetProbePointData ()
virtual void ProbePointDataOn ()
virtual void ProbePointDataOff ()
virtual void SetProbeCellData (int)
virtual int GetProbeCellData ()
virtual void ProbeCellDataOn ()
virtual void ProbeCellDataOff ()

Protected Member Functions

 vtkProbePolyhedron ()
 ~vtkProbePolyhedron ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int ProbePointData
int ProbeCellData
typedef vtkDataSetAlgorithm Superclass
static vtkProbePolyhedronNew ()
static int IsTypeOf (const char *type)
static vtkProbePolyhedronSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkProbePolyhedronNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

probe/interpolate data values in the interior, exterior or of the surface of a closed, manifold polyhedron

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.

Warning:
Note that cell data is not interpolated from the source. If you need cell data, you can always use vtkPointDataToCellData and/or vtkCellDataToPointData in various combinations.
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.
See also:
vtkProbeFilter vtkMeanValueCoordinatesInterpolator vtkPolyhedron
Tests:
vtkProbePolyhedron (Tests)

Definition at line 65 of file vtkProbePolyhedron.h.


Member Typedef Documentation

Standard methods for instantiable (i.e., concrete) class.

Reimplemented from vtkDataSetAlgorithm.

Definition at line 71 of file vtkProbePolyhedron.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Standard methods for instantiable (i.e., concrete) class.

Reimplemented from vtkDataSetAlgorithm.

virtual vtkObjectBase* vtkProbePolyhedron::NewInstanceInternal ( ) const [protected, virtual]

Standard methods for instantiable (i.e., concrete) class.

Reimplemented from vtkDataSetAlgorithm.

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.

Specify the point locations used to probe input. Any geometry can be used.

Specify the point locations used to probe input. Any geometry can be used.

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).

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.

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.

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.

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.


Member Data Documentation

Definition at line 110 of file vtkProbePolyhedron.h.

Definition at line 111 of file vtkProbePolyhedron.h.


The documentation for this class was generated from the following file: