VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSurfaceReconstructionFilter Class Reference

reconstructs a surface from unorganized points More...

#include <vtkSurfaceReconstructionFilter.h>

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

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSurfaceReconstructionFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetNeighborhoodSize ()
virtual void SetNeighborhoodSize (int)
virtual double GetSampleSpacing ()
virtual void SetSampleSpacing (double)

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkSurfaceReconstructionFilter
SafeDownCast (vtkObjectBase *o)
static
vtkSurfaceReconstructionFilter
New ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSurfaceReconstructionFilter ()
 ~vtkSurfaceReconstructionFilter ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int, vtkInformation *)

Protected Attributes

int NeighborhoodSize
double SampleSpacing

Detailed Description

reconstructs a surface from unorganized points

vtkSurfaceReconstructionFilter takes a list of points assumed to lie on the surface of a solid 3D object. A signed measure of the distance to the surface is computed and sampled on a regular grid. The grid can then be contoured at zero to extract the surface. The default values for neighborhood size and sample spacing should give reasonable results for most uses but can be set if desired. This procedure is based on the PhD work of Hugues Hoppe: http://www.research.microsoft.com/~hoppe

Examples:
vtkSurfaceReconstructionFilter (Examples)
Tests:
vtkSurfaceReconstructionFilter (Tests)

Definition at line 39 of file vtkSurfaceReconstructionFilter.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 42 of file vtkSurfaceReconstructionFilter.h.


Constructor & Destructor Documentation

Definition at line 68 of file vtkSurfaceReconstructionFilter.h.


Member Function Documentation

static int vtkSurfaceReconstructionFilter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

virtual int vtkSurfaceReconstructionFilter::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkSurfaceReconstructionFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageAlgorithm.

Construct with NeighborhoodSize=20.

Reimplemented from vtkAlgorithm.

Specify the number of neighbors each point has, used for estimating the local surface orientation. The default value of 20 should be OK for most applications, higher values can be specified if the spread of points is uneven. Values as low as 10 may yield adequate results for some surfaces. Higher values cause the algorithm to take longer. Higher values will cause errors on sharp boundaries.

Specify the number of neighbors each point has, used for estimating the local surface orientation. The default value of 20 should be OK for most applications, higher values can be specified if the spread of points is uneven. Values as low as 10 may yield adequate results for some surfaces. Higher values cause the algorithm to take longer. Higher values will cause errors on sharp boundaries.

Specify the spacing of the 3D sampling grid. If not set, a reasonable guess will be made.

Specify the spacing of the 3D sampling grid. If not set, a reasonable guess will be made.

virtual int vtkSurfaceReconstructionFilter::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageAlgorithm.

virtual int vtkSurfaceReconstructionFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.

virtual int vtkSurfaceReconstructionFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 77 of file vtkSurfaceReconstructionFilter.h.

Definition at line 78 of file vtkSurfaceReconstructionFilter.h.


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