VTK-m  2.1
FieldRangeCompute.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_FieldRangeCompute_h
11 #define vtk_m_cont_FieldRangeCompute_h
12 
13 #include <vtkm/cont/DataSet.h>
14 #include <vtkm/cont/Field.h>
16 
17 #include <numeric>
18 
19 namespace vtkm
20 {
21 namespace cont
22 {
30 
31 //{@
37  const vtkm::cont::DataSet& dataset,
38  const std::string& name,
41 
42 //{@
55  const std::string& name,
58 
59 }
60 } // namespace vtkm::cont
61 
62 #endif
vtkm::cont::ArrayHandle< vtkm::Range >
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::Field::Association
Association
Identifies what elements of a data set a field is associated with.
Definition: Field.h:38
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
vtkm::cont::FieldRangeCompute
vtkm::cont::ArrayHandle< vtkm::Range > FieldRangeCompute(const vtkm::cont::DataSet &dataset, const std::string &name, vtkm::cont::Field::Association assoc=vtkm::cont::Field::Association::Any)
Compute ranges for fields in a DataSet or PartitionedDataSet.
VTKM_CONT_EXPORT
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
vtkm::cont::Field::Association::Any
@ Any
Any field regardless of the association.
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
Field.h
PartitionedDataSet.h
DataSet.h
vtkm::cont::PartitionedDataSet
Comprises a set of vtkm::cont::DataSet objects.
Definition: PartitionedDataSet.h:26