Viskores  1.0
FieldRangeCompute.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_FieldRangeCompute_h
19 #define viskores_cont_FieldRangeCompute_h
20 
21 #include <viskores/cont/DataSet.h>
22 #include <viskores/cont/Field.h>
24 
25 #include <numeric>
26 
27 namespace viskores
28 {
29 namespace cont
30 {
38 
39 //{@
42 VISKORES_CONT_EXPORT
45  const viskores::cont::DataSet& dataset,
46  const std::string& name,
49 
50 //{@
59 VISKORES_CONT_EXPORT
63  const std::string& name,
66 
67 }
68 } // namespace viskores::cont
69 
70 #endif
viskores::cont::DataSet
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
viskores::cont::Field::Association
Association
Identifies what elements of a data set a field is associated with.
Definition: Field.h:46
viskores::cont::Field::Association::Any
@ Any
Any field regardless of the association.
viskores::cont::ArrayHandle< viskores::Range >
VISKORES_CONT
#define VISKORES_CONT
Definition: ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
Field.h
viskores::cont::PartitionedDataSet
Comprises a set of viskores::cont::DataSet objects.
Definition: PartitionedDataSet.h:34
viskores::cont::FieldRangeCompute
viskores::cont::ArrayHandle< viskores::Range > FieldRangeCompute(const viskores::cont::DataSet &dataset, const std::string &name, viskores::cont::Field::Association assoc=viskores::cont::Field::Association::Any)
Compute ranges for fields in a DataSet or PartitionedDataSet.
PartitionedDataSet.h
DataSet.h