vtkProbePolyhedron Class Reference

#include <vtkProbePolyhedron.h>

Inheritance diagram for vtkProbePolyhedron:

Inheritance graph
[legend]
Collaboration diagram for vtkProbePolyhedron:

Collaboration graph
[legend]

List of all members.


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 64 of file vtkProbePolyhedron.h.

typedef vtkDataSetAlgorithm Superclass
static vtkProbePolyhedronNew ()
static int IsTypeOf (const char *type)
static vtkProbePolyhedronSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

void SetSourceConnection (vtkAlgorithmOutput *algOutput)
void SetSource (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

Member Typedef Documentation

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

Reimplemented from vtkDataSetAlgorithm.

Definition at line 70 of file vtkProbePolyhedron.h.


Constructor & Destructor Documentation

vtkProbePolyhedron::vtkProbePolyhedron (  )  [protected]

vtkProbePolyhedron::~vtkProbePolyhedron (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 109 of file vtkProbePolyhedron.h.

Definition at line 110 of file vtkProbePolyhedron.h.


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

Generated on Wed Aug 24 11:58:00 2011 for VTK by  doxygen 1.5.6