VTK  9.7.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 "vtkmAlgorithm.h" // For vtkmAlgorithm
32 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
33 
34 #ifndef __VTK_WRAP__
35 #define vtkImageAlgorithm vtkmAlgorithm<vtkImageAlgorithm>
36 #endif
37 
38 VTK_ABI_NAMESPACE_BEGIN
39 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmImageConnectivity : public vtkImageAlgorithm
40 {
41 public:
43 #ifndef __VTK_WRAP__
44 #undef vtkImageAlgorithm
45 #endif
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47  static vtkmImageConnectivity* New();
48 
49 protected:
51  ~vtkmImageConnectivity() override;
52 
54 
55 private:
57  void operator=(const vtkmImageConnectivity&) = delete;
58  vtkmInitializer Initializer;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #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.