VTK-m  2.0
BoundsCompute.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 vtk_m_cont_BoundsCompute_h
11 #define vtk_m_cont_BoundsCompute_h
12 
13 #include <vtkm/Bounds.h>
14 #include <vtkm/cont/vtkm_cont_export.h>
15 
16 namespace vtkm
17 {
18 namespace cont
19 {
20 
21 class DataSet;
22 class PartitionedDataSet;
23 
25 VTKM_CONT_EXPORT
38  vtkm::Id coordinate_system_index = 0);
39 
40 VTKM_CONT_EXPORT
43  vtkm::Id coordinate_system_index = 0);
44 
45 VTKM_CONT_EXPORT
48  const std::string& coordinate_system_name);
49 
50 VTKM_CONT_EXPORT
53  const std::string& coordinate_system_name);
55 }
56 }
57 
58 #endif
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DataSet
Definition: DataSet.h:34
vtkm::Id
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Bounds.h
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Bounds
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
vtkm::cont::BoundsCompute
VTKM_CONT_EXPORT VTKM_CONT vtkm::Bounds BoundsCompute(const vtkm::cont::DataSet &dataset, vtkm::Id coordinate_system_index=0)
Functions to compute bounds for a single dataSset or partition dataset.
vtkm::cont::PartitionedDataSet
Definition: PartitionedDataSet.h:25