VTK-m  2.2
cont/CellLocatorRectilinearGrid.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_CellLocatorRectilinearGrid_h
11 #define vtkm_cont_CellLocatorRectilinearGrid_h
12 
14 
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 
23 {
26  // Might want to handle cartesian product of both Float32 and Float64.
28  using RectilinearType =
30 
31 public:
32  CellLocatorRectilinearGrid() = default;
33 
34  ~CellLocatorRectilinearGrid() = default;
35 
37 
40  vtkm::cont::Token& token) const;
41 
42 private:
46  bool Is3D = true;
47 
48 protected:
49  VTKM_CONT void Build() override;
50 };
51 
52 } //namespace cont
53 } //namespace vtkm
54 
55 #endif //vtkm_cont_CellLocatorRectilinearGrid_h
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:300
vtkm::cont::CellLocatorRectilinearGrid
Definition: cont/CellLocatorRectilinearGrid.h:22
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
CellLocatorBase.h
vtkm::cont::CellLocatorRectilinearGrid::RowSize
vtkm::Id RowSize
Definition: cont/CellLocatorRectilinearGrid.h:45
vtkm::cont::CellSetStructured
Defines a 1-, 2-, or 3-dimensional structured grid of points.
Definition: CastAndCall.h:32
vtkm::cont::ArrayHandleCartesianProduct
ArrayHandleCartesianProduct is a specialization of ArrayHandle.
Definition: ArrayHandleCartesianProduct.h:334
vtkm::cont::Token
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::cont::CellLocatorBase
Base class for all CellLocator classes.
Definition: CellLocatorBase.h:35
VTKM_CONT_EXPORT
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Id
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
vtkm::Bounds
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
CellLocatorRectilinearGrid.h
vtkm::cont::DeviceAdapterId
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
vtkm::cont::CellLocatorRectilinearGrid::PlaneSize
vtkm::Id PlaneSize
Definition: cont/CellLocatorRectilinearGrid.h:44
vtkm::exec::CellLocatorRectilinearGrid
Definition: exec/CellLocatorRectilinearGrid.h:31
vtkm::exec::CellLocatorRectilinearGrid::LastCell
Definition: exec/CellLocatorRectilinearGrid.h:46
vtkm::cont::CellLocatorRectilinearGrid::Bounds
vtkm::Bounds Bounds
Definition: cont/CellLocatorRectilinearGrid.h:43