VTK  9.5.20251008
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
38VTK_ABI_NAMESPACE_BEGIN
39class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmImageConnectivity : public vtkImageAlgorithm
40{
41public:
43#ifndef __VTK_WRAP__
44#undef vtkImageAlgorithm
45#endif
46 void PrintSelf(ostream& os, vtkIndent indent) override;
48
49protected:
52
54
55private:
57 void operator=(const vtkmImageConnectivity&) = delete;
58 vtkmInitializer Initializer;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif // vtkmImageConnectivity_h
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Label regions inside an image by connectivity.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
static vtkmImageConnectivity * New()
~vtkmImageConnectivity() override