122 #ifndef vtkSurfaceNets2D_h
123 #define vtkSurfaceNets2D_h
127 #include "vtkFiltersCoreModule.h"
170 double GetValue(
int i) {
return this->Labels->GetValue(i); }
171 double GetLabel(
int i) {
return this->Labels->GetValue(i); }
179 double*
GetValues() {
return this->Labels->GetValues(); }
180 double*
GetLabels() {
return this->Labels->GetValues(); }
189 void GetValues(
double* contourValues) { this->Labels->GetValues(contourValues); }
190 void GetLabels(
double* contourValues) { this->Labels->GetValues(contourValues); }
220 this->Labels->GenerateValues(numLabels, range);
224 this->Labels->GenerateValues(numContours, range);
228 this->Labels->GenerateValues(numLabels, rangeStart, rangeEnd);
232 this->Labels->GenerateValues(numContours, rangeStart, rangeEnd);
245 vtkSetMacro(ComputeScalars,
bool);
246 vtkGetMacro(ComputeScalars,
bool);
247 vtkBooleanMacro(ComputeScalars,
bool);
261 vtkSetMacro(BackgroundLabel,
double);
262 vtkGetMacro(BackgroundLabel,
double);
270 vtkSetMacro(ArrayComponent,
int);
271 vtkGetMacro(ArrayComponent,
int);
280 vtkSetMacro(Smoothing,
bool);
281 vtkGetMacro(Smoothing,
bool);
282 vtkBooleanMacro(Smoothing,
bool);
307 vtkSetMacro(DataCaching,
bool);
308 vtkGetMacro(DataCaching,
bool);
309 vtkBooleanMacro(DataCaching,
bool);
adjust point positions using constrained smoothing
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkSmartPointer< vtkCellArray > StencilsCache
record modification and/or execution time
vtkSmartPointer< vtkConstrainedSmoothingFilter > Smoother
generate smoothed constours from segmented 2D image data (i.e., "label maps")
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetValue(int i, double value)
Set a particular label value at label number i.
void GetLabels(double *contourValues)
Fill a supplied list with label values.
void GenerateLabels(int numLabels, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
vtkIdType GetNumberOfLabels()
Get the number of labels in the list of label values.
void SetNumberOfLabels(int number)
Set the number of labels to place into the list.
static vtkPolyDataAlgorithm * New()
vtkSmartPointer< vtkContourValues > Labels
vtkIdType GetNumberOfContours()
Get the number of labels in the list of label values.
Superclass for algorithms that produce only polydata as output.
double * GetValues()
Get a pointer to an array of labels.
void SetNumberOfContours(int number)
Set the number of labels to place into the list.
double GetValue(int i)
Get the ith label value.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
object to represent cell connectivity
double * GetLabels()
Get a pointer to an array of labels.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTimeStamp SmoothingTime
void SetLabel(int i, double value)
Set a particular label value at label number i.
vtkSmartPointer< vtkPolyData > GeometryCache
double GetLabel(int i)
Get the ith label value.
void GenerateValues(int numContours, double range[2])
Generate numLabels equally spaced labels between the specified range.
void GenerateLabels(int numLabels, double range[2])
Generate numLabels equally spaced labels between the specified range.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetValues(double *contourValues)
Fill a supplied list with label values.