VTK-m  2.0
CommonState.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 
12 #ifndef vtk_m_worklet_contour_CommonState_h
13 #define vtk_m_worklet_contour_CommonState_h
14 
15 #include <vtkm/cont/ArrayHandle.h>
16 
17 namespace vtkm
18 {
19 namespace worklet
20 {
21 namespace contour
22 {
23 
25 {
26  explicit CommonState(bool mergeDuplicates)
27  : MergeDuplicatePoints(mergeDuplicates)
28  {
29  }
30 
31  bool MergeDuplicatePoints = true;
32  bool GenerateNormals = false;
36 };
37 }
38 }
39 }
40 
41 #endif
vtkm::cont::ArrayHandle< vtkm::FloatDefault >
ArrayHandle.h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::worklet::contour::CommonState::InterpolationWeights
vtkm::cont::ArrayHandle< vtkm::FloatDefault > InterpolationWeights
Definition: CommonState.h:33
vtkm::worklet::contour::CommonState::GenerateNormals
bool GenerateNormals
Definition: CommonState.h:32
vtkm::worklet::contour::CommonState::MergeDuplicatePoints
bool MergeDuplicatePoints
Definition: CommonState.h:31
vtkm::worklet::contour::CommonState
Definition: CommonState.h:24
vtkm::worklet::contour::CommonState::CommonState
CommonState(bool mergeDuplicates)
Definition: CommonState.h:26
vtkm::worklet::contour::CommonState::CellIdMap
vtkm::cont::ArrayHandle< vtkm::Id > CellIdMap
Definition: CommonState.h:35
vtkm::worklet::contour::CommonState::InterpolationEdgeIds
vtkm::cont::ArrayHandle< vtkm::Id2 > InterpolationEdgeIds
Definition: CommonState.h:34