Viskores
1.0
viskores
rendering
internal
RunTriangulator.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_rendering_internal_RunTriangulator_h
19
#define viskores_rendering_internal_RunTriangulator_h
20
21
#include <
viskores/rendering/viskores_rendering_export.h
>
22
23
#include <
viskores/cont/ArrayHandle.h
>
24
#include <
viskores/cont/Field.h
>
25
#include <
viskores/cont/RuntimeDeviceTracker.h
>
26
#include <
viskores/cont/UnknownCellSet.h
>
27
28
namespace
viskores
29
{
30
namespace
rendering
31
{
32
namespace
internal
33
{
34
40
VISKORES_RENDERING_EXPORT
41
void
RunTriangulator(
const
viskores::cont::UnknownCellSet
& cellSet,
42
viskores::cont::ArrayHandle<viskores::Id4>
& indices,
43
viskores::Id
& numberOfTriangles,
44
const
viskores::cont::Field
& ghostField =
viskores::cont::Field
());
45
}
46
}
47
}
// namespace viskores::rendering::internal
48
49
#endif //viskores_rendering_internal_RunTriangulator_h
ArrayHandle.h
RuntimeDeviceTracker.h
UnknownCellSet.h
viskores::cont::ArrayHandle
Manages an array-worth of data.
Definition:
ArrayHandle.h:313
viskores::Id
viskores::Int64 Id
Base type to use to index arrays.
Definition:
Types.h:235
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
Field.h
viskores::cont::UnknownCellSet
A CellSet of an unknown type.
Definition:
UnknownCellSet.h:56
viskores_rendering_export.h
viskores::cont::Field
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition:
Field.h:39
Generated by
1.8.17