129#ifndef vtkGeneralizedSurfaceNets3D_h
130#define vtkGeneralizedSurfaceNets3D_h
134#include "vtkFiltersMeshingModule.h"
139VTK_ABI_NAMESPACE_BEGIN
228 this->
Labels->GenerateValues(numLabels, range);
232 this->
Labels->GenerateValues(numContours, range);
236 this->
Labels->GenerateValues(numLabels, rangeStart, rangeEnd);
240 this->
Labels->GenerateValues(numContours, rangeStart, rangeEnd);
399 vtkSetClampMacro(
Padding,
double, 0.001, 0.25);
adjust point positions using constrained smoothing
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void GenerateValues(int numContours, double range[2])
Generate numLabels equally spaced labels between the specified range.
int GetNumberOfPrunes()
Return the number of hull prunes performed during execution.
void SetValue(int i, double value)
Set a particular label value at label number i.
MeshType
This enum is used to control the type of the output polygonal mesh.
vtkSmartPointer< vtkContourValues > Labels
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
void GenerateLabels(int numLabels, double range[2])
Generate numLabels equally spaced labels between the specified range.
double GetRelaxationFactor()
Convenience methods that delegate to the internal smoothing filter follow below.
vtkTypeBool BoundaryCapping
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double GetLabel(int i)
Get the ith label value.
int GetNumberOfIterations()
Convenience methods that delegate to the internal smoothing filter follow below.
void SetLabel(int i, double value)
Set a particular label value at label number i.
void GetValues(double *contourValues)
Fill a supplied list with label values.
vtkIdType GetNumberOfLabels()
Get the number of labels in the list of label values.
vtkMTimeType GetMTime() override
The modified time is also a function of the built in locator, smoothing filter, and label values.
vtkIdType PointOfInterest
void SetNumberOfContours(int number)
Set the number of labels to place into the list.
void AllSmoothingConstraintsOff()
If GenerateSmoothingStencils is on, this provides some control over each point's stencil creation.
void EdgeSmoothingConstraintOff()
If GenerateSmoothingStencils is on, this provides some control over each point's stencil creation.
double GetValue(int i)
Get the ith label value.
vtkSmartPointer< vtkIdTypeArray > PointsOfInterest
void SetNumberOfIterations(int n)
Convenience methods that delegate to the internal smoothing filter follow below.
void SetOutputMeshTypeToDefault()
Control the type of output mesh.
int GetNumberOfThreads()
Return the number of threads actually used during execution.
void SetOutputMeshTypeToPolygons()
Control the type of output mesh.
vtkTypeBool GenerateSmoothingStencils
vtkSmartPointer< vtkConstrainedSmoothingFilter > Smoother
double * GetLabels()
Get a pointer to an array of labels.
vtkGeneralizedSurfaceNets3D()
virtual void SetSmoothingConstraints(unsigned char, unsigned char, unsigned char, unsigned char)
If GenerateSmoothingStencils is on, this provides some control over each point's stencil creation.
double * GetValues()
Get a pointer to an array of labels.
~vtkGeneralizedSurfaceNets3D() override=default
void SetRelaxationFactor(double f)
Convenience methods that delegate to the internal smoothing filter follow below.
static vtkGeneralizedSurfaceNets3D * New()
Standard methods for instantiation, type information, and printing.
void GenerateLabels(int numLabels, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
vtkIdType GetNumberOfContours()
Get the number of labels in the list of label values.
vtkStaticPointLocator * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetConstraintDistance(double d)
Convenience methods that delegate to the internal smoothing filter follow below.
void SetNumberOfLabels(int number)
Set the number of labels to place into the list.
void GetLabels(double *contourValues)
Fill a supplied list with label values.
void SetOutputMeshTypeToTriangles()
Control the type of output mesh.
vtkIdType MaximumNumberOfHullClips
unsigned char SmoothingConstraints[4]
vtkSmartPointer< vtkStaticPointLocator > Locator
virtual void SetOutputMeshType(int)
Control the type of output mesh.
void AllSmoothingConstraintsOn()
If GenerateSmoothingStencils is on, this provides some control over each point's stencil creation.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
double GetConstraintDistance()
Convenience methods that delegate to the internal smoothing filter follow below.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
quickly locate points in 3-space
vtkTypeUInt32 vtkMTimeType