VTK-m
2.0
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
g
v
Variables
Typedefs
Macros
b
c
d
e
i
k
m
n
p
q
r
s
t
u
v
x
z
vtkm
rendering
raytracing
TriangleExtractor.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_rendering_raytracing_Triangle_Extractor_h
11
#define vtk_m_rendering_raytracing_Triangle_Extractor_h
12
13
#include <
vtkm/cont/DataSet.h
>
14
#include <vtkm/rendering/vtkm_rendering_export.h>
15
16
namespace
vtkm
17
{
18
namespace
rendering
19
{
20
namespace
raytracing
21
{
22
23
class
VTKM_RENDERING_EXPORT
TriangleExtractor
24
{
25
protected
:
26
vtkm::cont::ArrayHandle<vtkm::Id4>
Triangles
;
// (cellid, v0, v1, v2)
27
public
:
28
void
ExtractCells(
const
vtkm::cont::UnknownCellSet
& cells);
29
30
vtkm::cont::ArrayHandle<vtkm::Id4>
GetTriangles();
31
vtkm::Id
GetNumberOfTriangles()
const
;
32
};
// class TriangleExtractor
33
}
34
}
35
}
//namespace vtkm::rendering::raytracing
36
#endif //vtk_m_rendering_raytracing_Triangle_Extractor_h
vtkm::cont::ArrayHandle< vtkm::Id4 >
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::rendering::raytracing::TriangleExtractor::Triangles
vtkm::cont::ArrayHandle< vtkm::Id4 > Triangles
Definition:
TriangleExtractor.h:26
vtkm::cont::UnknownCellSet
A CellSet of an unknown type.
Definition:
UnknownCellSet.h:48
vtkm::Id
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition:
Types.h:191
vtkm::rendering::raytracing::TriangleExtractor
Definition:
TriangleExtractor.h:23
DataSet.h
Generated by
1.8.17