VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkProbePolyhedron Class Reference

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

#include <vtkProbePolyhedron.h>

Inherits vtkDataSetAlgorithm.

Public Member Functions

void SetSourceConnection (vtkAlgorithmOutput *algOutput)
 
void SetSourceData (vtkPolyData *source)
 
vtkPolyData * GetSource ()
 
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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkDataSetAlgorithm vtkProbePolyhedron::Superclass

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

Definition at line 71 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.

static int vtkProbePolyhedron::IsTypeOf ( const char *  type)
static

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

virtual int vtkProbePolyhedron::IsA ( const char *  type)
virtual

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

static vtkProbePolyhedron* vtkProbePolyhedron::SafeDownCast ( vtkObjectBase *  o)
static

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

virtual vtkObjectBase* vtkProbePolyhedron::NewInstanceInternal ( ) const
protectedvirtual

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

vtkProbePolyhedron* vtkProbePolyhedron::NewInstance ( ) const

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

void vtkProbePolyhedron::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

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

void vtkProbePolyhedron::SetSourceData ( vtkPolyData *  source)

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

vtkPolyData* vtkProbePolyhedron::GetSource ( )

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

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 *   
)
protectedvirtual
virtual int vtkProbePolyhedron::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkProbePolyhedron::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

int vtkProbePolyhedron::ProbePointData
protected

Definition at line 110 of file vtkProbePolyhedron.h.

int vtkProbePolyhedron::ProbeCellData
protected

Definition at line 111 of file vtkProbePolyhedron.h.


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