VTK-m  2.0
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 //{@
34 VTKM_CONT_EXPORT
37  const vtkm::cont::DataSet& dataset,
38  const std::string& name,
41 
42 //{@
51 VTKM_CONT_EXPORT
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
Definition: cont/Field.h:34
vtkm::cont::DataSet
Definition: DataSet.h:34
vtkm::cont::Field::Association::Any
@ Any
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
PartitionedDataSet.h
Field.h
DataSet.h
vtkm::cont::FieldRangeCompute
VTKM_CONT_EXPORT VTKM_CONT 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::PartitionedDataSet
Definition: PartitionedDataSet.h:25