Viskores
1.0
viskores
cont
BoundsGlobalCompute.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_BoundsGlobalCompute_h
19
#define viskores_cont_BoundsGlobalCompute_h
20
21
#include <
viskores/Bounds.h
>
22
#include <
viskores/cont/viskores_cont_export.h
>
23
24
namespace
viskores
25
{
26
namespace
cont
27
{
28
29
class
DataSet;
30
class
PartitionedDataSet;
31
33
VISKORES_CONT_EXPORT
45
VISKORES_CONT
46
viskores::Bounds
BoundsGlobalCompute
(
const
viskores::cont::DataSet
& dataset,
47
viskores::Id
coordinate_system_index = 0);
48
49
VISKORES_CONT_EXPORT
50
VISKORES_CONT
51
viskores::Bounds
BoundsGlobalCompute
(
const
viskores::cont::PartitionedDataSet
& pds,
52
viskores::Id
coordinate_system_index = 0);
53
54
VISKORES_CONT_EXPORT
55
VISKORES_CONT
56
viskores::Bounds
BoundsGlobalCompute
(
const
viskores::cont::DataSet
& dataset,
57
const
std::string& coordinate_system_name);
58
59
VISKORES_CONT_EXPORT
60
VISKORES_CONT
61
viskores::Bounds
BoundsGlobalCompute
(
const
viskores::cont::PartitionedDataSet
& pds,
62
const
std::string& coordinate_system_name);
64
}
65
}
66
#endif
viskores::cont::DataSet
Contains and manages the geometric data structures that Viskores operates on.
Definition:
DataSet.h:66
viskores::Bounds
Represent an axis-aligned 3D bounds in space.
Definition:
Bounds.h:37
viskores::Id
viskores::Int64 Id
Base type to use to index arrays.
Definition:
Types.h:235
VISKORES_CONT
#define VISKORES_CONT
Definition:
ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
Bounds.h
viskores::cont::PartitionedDataSet
Comprises a set of viskores::cont::DataSet objects.
Definition:
PartitionedDataSet.h:34
viskores::cont::BoundsGlobalCompute
viskores::Bounds BoundsGlobalCompute(const viskores::cont::DataSet &dataset, viskores::Id coordinate_system_index=0)
Functions to compute bounds for a single dataset or partitioned dataset globally.
viskores_cont_export.h
Generated by
1.8.17