52#ifndef vtkPackLabels_h
53#define vtkPackLabels_h
57#include "vtkFiltersCoreModule.h"
62VTK_ABI_NAMESPACE_BEGIN
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing an object.
void SetOutputScalarTypeToUnsignedChar()
Specify the data type of the output image.
void SetOutputScalarTypeToUnsignedShort()
Specify the data type of the output image.
~vtkPackLabels() override=default
void SortByLabelValue()
Indicate whether to sort the output labels by their input scalars label value (SortByLabelValue),...
void SetOutputScalarTypeToDefault()
Specify the data type of the output image.
vtkIdType GetNumberOfLabels()
Return the number of and list of labels found in the input label map.
unsigned long BackgroundValue
virtual void SetOutputScalarType(int)
Specify the data type of the output image.
vtkSmartPointer< vtkIdTypeArray > LabelsCount
void SetOutputScalarTypeToUnsignedInt()
Specify the data type of the output image.
vtkIdTypeArray * GetLabelsCount()
Return the frequency of occurrence (i.e., the count) of each label returned in the LabelsArray.
SortBy
Flags to control how sorting of the labels is performed.
void SortByLabelCount()
Indicate whether to sort the output labels by their input scalars label value (SortByLabelValue),...
vtkDataArray * GetLabels()
Return the number of and list of labels found in the input label map.
static vtkPackLabels * New()
Standard methods for instantiation, obtaining type information, and printing an object.
DefaultScalarType
Specify the data type of the output image.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSmartPointer< vtkDataArray > LabelsArray
virtual void SetSortBy(int)
Indicate whether to sort the output labels by their input scalars label value (SortByLabelValue),...
void SetOutputScalarTypeToUnsignedLong()
Specify the data type of the output image.
Hold a reference to a vtkObjectBase instance.
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG