134 #ifndef vtkSurfaceNetsAtlas_h
135 #define vtkSurfaceNetsAtlas_h
137 #include "vtkFiltersCoreModule.h"
147 VTK_ABI_NAMESPACE_BEGIN
172 EXTRACT_LABEL_SET = 1,
186 vtkSetClampMacro(ExtractionMode,
int, EXTRACT_ALL, EXTRACT_LABEL_SET);
187 vtkGetMacro(ExtractionMode,
int);
198 OUTPUT_STYLE_ALL = 0,
199 OUTPUT_STYLE_BOUNDARY = 1
220 vtkSetClampMacro(OutputStyle,
int, OUTPUT_STYLE_ALL, OUTPUT_STYLE_BOUNDARY);
221 vtkGetMacro(OutputStyle,
int);
252 void RemoveSelectedLabel(
vtkIdType label);
253 void ClearSelectedLabels();
262 void SetNumberOfSelectedLabels(
int n);
263 int GetNumberOfSelectedLabels()
const;
274 void SetSelectedLabel(
int i,
vtkIdType label);
282 std::vector<vtkIdType> GetSelectedLabels()
const;
283 void SetSelectedLabels(
const std::vector<vtkIdType>& labels);
316 int GetNumberOfLabelNames()
const;
321 void ClearLabelNames();
338 vtkSetMacro(GenerateRegions,
bool);
339 vtkGetMacro(GenerateRegions,
bool);
340 vtkBooleanMacro(GenerateRegions,
bool);
358 vtkSetMacro(GeneratePatches,
bool);
359 vtkGetMacro(GeneratePatches,
bool);
360 vtkBooleanMacro(GeneratePatches,
bool);
379 vtkSetMacro(ResolveNonManifoldPoints,
bool);
380 vtkGetMacro(ResolveNonManifoldPoints,
bool);
381 vtkBooleanMacro(ResolveNonManifoldPoints,
bool);
400 int GetNumberOfLabels()
const;
422 int GetLIDForLabel(
vtkIdType label)
const;
443 std::vector<vtkIdType> GetAdjacentLabels(
vtkIdType label)
const;
444 std::vector<vtkIdType> GetAdjacentLabels(
const std::string&
name)
const;
460 void GetPatchLabels(
int patchID,
vtkIdType labels[2])
const;
478 vtkIdType GetPatchCellCount(
int patchID)
const;
485 std::vector<int> GetPatchesForLabel(
vtkIdType label)
const;
508 template <
bool IsPatch>
511 std::atomic<unsigned char>* ptUses, std::vector<vtkIdType>& pointMap)
const;
521 int ExtractionMode = EXTRACT_ALL;
522 int OutputStyle = OUTPUT_STYLE_BOUNDARY;
524 bool GenerateRegions =
true;
525 bool GeneratePatches =
true;
526 bool ResolveNonManifoldPoints =
false;
528 std::vector<vtkIdType> Labels;
532 std::unique_ptr<AtlasData> Atlas;
537 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
record modification and/or execution time
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
void SetOutputStyleToAll()
Specify which cells are included in each emitted Region partition.
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
void SetExtractionModeToAll()
Specify which regions are emitted in the output:
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
query-driven extraction of regions and patches from any SurfaceNets filter output ...
static vtkAlgorithm * New()
void SetOutputStyleToBoundary()
Specify which cells are included in each emitted Region partition.
void SetExtractionModeToLabelSet()
Specify which regions are emitted in the output:
Composite dataset that groups datasets as a collection.