VTK  9.3.1
vtkmImageConnectivity.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
26 #ifndef vtkmImageConnectivity_h
27 #define vtkmImageConnectivity_h
28 
29 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
30 #include "vtkImageAlgorithm.h"
31 #include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmImageConnectivity : public vtkImageAlgorithm
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39  static vtkmImageConnectivity* New();
40 
41 protected:
43  ~vtkmImageConnectivity() override;
44 
46 
47 private:
49  void operator=(const vtkmImageConnectivity&) = delete;
50  vtkmInitializer Initializer;
51 };
52 
53 VTK_ABI_NAMESPACE_END
54 #endif // vtkmImageConnectivity_h
Label regions inside an image by connectivity.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.