VTK-m  2.0
cont/CellLocatorUniformGrid.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 #ifndef vtkm_cont_CellLocatorUniformGrid_h
11 #define vtkm_cont_CellLocatorUniformGrid_h
12 
14 
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 
22 class VTKM_CONT_EXPORT CellLocatorUniformGrid
23  : public vtkm::cont::internal::CellLocatorBase<CellLocatorUniformGrid>
24 {
25  using Superclass = vtkm::cont::internal::CellLocatorBase<CellLocatorUniformGrid>;
26 
27 public:
29 
32  vtkm::cont::Token& token) const;
33 
34 private:
40  bool Is3D = true;
41 
42  friend Superclass;
43  VTKM_CONT void Build();
44 };
45 }
46 } // vtkm::cont
47 
48 #endif //vtkm_cont_CellLocatorUniformGrid_h
vtkm::cont::CellLocatorUniformGrid::PointDims
vtkm::Id3 PointDims
Definition: cont/CellLocatorUniformGrid.h:36
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
CellLocatorBase.h
vtkm::cont::CellLocatorUniformGrid::Origin
vtkm::Vec3f Origin
Definition: cont/CellLocatorUniformGrid.h:37
vtkm::exec::CellLocatorUniformGrid
Definition: exec/CellLocatorUniformGrid.h:30
vtkm::cont::CellLocatorUniformGrid::Superclass
friend Superclass
Definition: cont/CellLocatorUniformGrid.h:42
vtkm::cont::CellLocatorUniformGrid::InvSpacing
vtkm::Vec3f InvSpacing
Definition: cont/CellLocatorUniformGrid.h:38
CellLocatorUniformGrid.h
vtkm::cont::Token
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::exec::CellLocatorUniformGrid::LastCell
Definition: exec/CellLocatorUniformGrid.h:58
vtkm::cont::CellLocatorUniformGrid::MaxPoint
vtkm::Vec3f MaxPoint
Definition: cont/CellLocatorUniformGrid.h:39
vtkm::cont::CellLocatorUniformGrid::Superclass
vtkm::cont::internal::CellLocatorBase< CellLocatorUniformGrid > Superclass
Definition: cont/CellLocatorUniformGrid.h:25
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::cont::DeviceAdapterId
Definition: DeviceAdapterTag.h:52
vtkm::Vec< vtkm::Id, 3 >
vtkm::cont::CellLocatorUniformGrid
Definition: cont/CellLocatorUniformGrid.h:22
vtkm::cont::CellLocatorUniformGrid::CellDims
vtkm::Id3 CellDims
Definition: cont/CellLocatorUniformGrid.h:35