VTK
|
reconstructs a surface from unorganized points More...
#include <vtkSurfaceReconstructionFilter.h>
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
Definition at line 39 of file vtkSurfaceReconstructionFilter.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 42 of file vtkSurfaceReconstructionFilter.h.
vtkSurfaceReconstructionFilter::vtkSurfaceReconstructionFilter | ( | ) | [protected] |
vtkSurfaceReconstructionFilter::~vtkSurfaceReconstructionFilter | ( | ) | [inline, protected] |
Definition at line 68 of file vtkSurfaceReconstructionFilter.h.
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.
static vtkSurfaceReconstructionFilter* vtkSurfaceReconstructionFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
static vtkSurfaceReconstructionFilter* vtkSurfaceReconstructionFilter::New | ( | ) | [static] |
Construct with NeighborhoodSize=20.
Reimplemented from vtkAlgorithm.
virtual int vtkSurfaceReconstructionFilter::GetNeighborhoodSize | ( | ) | [virtual] |
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.
virtual void vtkSurfaceReconstructionFilter::SetNeighborhoodSize | ( | int | ) | [virtual] |
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.
virtual double vtkSurfaceReconstructionFilter::GetSampleSpacing | ( | ) | [virtual] |
Specify the spacing of the 3D sampling grid. If not set, a reasonable guess will be made.
virtual void vtkSurfaceReconstructionFilter::SetSampleSpacing | ( | double | ) | [virtual] |
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.
int vtkSurfaceReconstructionFilter::NeighborhoodSize [protected] |
Definition at line 77 of file vtkSurfaceReconstructionFilter.h.
double vtkSurfaceReconstructionFilter::SampleSpacing [protected] |
Definition at line 78 of file vtkSurfaceReconstructionFilter.h.