VTK-m  2.2
CellSetConnectivity.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 
11 #ifndef vtk_m_filter_connected_components_CellSetConnectivity_h
12 #define vtk_m_filter_connected_components_CellSetConnectivity_h
13 
14 #include <vtkm/filter/Filter.h>
16 
17 namespace vtkm
18 {
19 namespace filter
20 {
21 namespace connected_components
22 {
23 
33 {
34 public:
35  VTKM_CONT CellSetConnectivity() { this->SetOutputFieldName("component"); }
36 
37 private:
38  VTKM_CONT
39  vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& input) override;
40 };
41 
42 } // namespace connected_components
43 
44 } // namespace filter
45 } // namespace vtkm
46 
47 #endif //vtk_m_filter_connected_components_CellSetConnectivity_h
vtkm::filter::connected_components::CellSetConnectivity
Finds and labels groups of cells that are connected together through their topology.
Definition: CellSetConnectivity.h:32
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
VTKM_FILTER_CONNECTED_COMPONENTS_EXPORT
#define VTKM_FILTER_CONNECTED_COMPONENTS_EXPORT
Definition: vtkm_filter_connected_components_export.h:44
vtkm::filter::Filter
Base class for all filters.
Definition: Filter.h:163
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm_filter_connected_components_export.h
vtkm::filter::connected_components::CellSetConnectivity::CellSetConnectivity
CellSetConnectivity()
Definition: CellSetConnectivity.h:35
Filter.h