VTK  9.0.1
vtkmImageConnectivity.h
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // Copyright (c) Kitware, Inc.
4 // All rights reserved.
5 // See LICENSE.txt for details.
6 //
7 // This software is distributed WITHOUT ANY WARRANTY; without even
8 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 // PURPOSE. See the above copyright notice for more information.
10 //
11 // Copyright 2012 Sandia Corporation.
12 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13 // the U.S. Government retains certain rights in this software.
14 //
15 //=============================================================================
37 #ifndef vtkmImageConnectivity_h
38 #define vtkmImageConnectivity_h
39 
40 #include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
41 #include "vtkImageAlgorithm.h"
42 
43 class VTKACCELERATORSVTKM_EXPORT vtkmImageConnectivity : public vtkImageAlgorithm
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48  static vtkmImageConnectivity* New();
49 
50 protected:
52  ~vtkmImageConnectivity() override;
53 
55 
56 private:
58  void operator=(const vtkmImageConnectivity&) = delete;
59 };
60 
61 #endif // vtkmImageConnectivity_h
62 // VTK-HeaderTest-Exclude: vtkmImageConnectivity.h
vtkImageAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkmImageConnectivity
Label regions inside an image by connectivity.
Definition: vtkmImageConnectivity.h:43
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm::New
static vtkAlgorithm * New()