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
LineRenderer.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
11
#ifndef vtk_m_rendering_LineRenderer_h
12
#define vtk_m_rendering_LineRenderer_h
13
14
#include <
vtkm/Matrix.h
>
15
#include <
vtkm/rendering/Canvas.h
>
16
#include <
vtkm/rendering/Color.h
>
17
#include <vtkm/rendering/vtkm_rendering_export.h>
18
19
namespace
vtkm
20
{
21
namespace
rendering
22
{
23
class
LineRendererBatcher;
24
25
class
VTKM_RENDERING_EXPORT
LineRenderer
26
{
27
public
:
28
VTKM_CONT
29
LineRenderer
(
const
vtkm::rendering::Canvas
* canvas,
30
vtkm::Matrix<vtkm::Float32, 4, 4>
transform,
31
vtkm::rendering::LineRendererBatcher
* lineBatcher);
32
33
VTKM_CONT
34
void
RenderLine(
const
vtkm::Vec2f_64
& point0,
35
const
vtkm::Vec2f_64
& point1,
36
vtkm::Float32
lineWidth,
37
const
vtkm::rendering::Color
& color);
38
39
VTKM_CONT
40
void
RenderLine(
const
vtkm::Vec3f_64
& point0,
41
const
vtkm::Vec3f_64
& point1,
42
vtkm::Float32
lineWidth,
43
const
vtkm::rendering::Color
& color);
44
45
private
:
46
VTKM_CONT
47
vtkm::Vec3f_32
TransformPoint(
const
vtkm::Vec3f_64
& point)
const
;
48
49
const
vtkm::rendering::Canvas
*
Canvas
;
50
vtkm::Matrix<vtkm::Float32, 4, 4>
Transform
;
51
vtkm::rendering::LineRendererBatcher
*
LineBatcher
;
52
};
// class LineRenderer
53
}
54
}
// namespace vtkm::rendering
55
56
#endif // vtk_m_rendering_LineRenderer_h
vtkm::rendering::Color
It's a color!
Definition:
Color.h:28
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
Matrix.h
vtkm::rendering::LineRenderer
Definition:
LineRenderer.h:25
vtkm::rendering::LineRenderer::LineBatcher
vtkm::rendering::LineRendererBatcher * LineBatcher
Definition:
LineRenderer.h:51
vtkm::rendering::LineRendererBatcher
Definition:
LineRendererBatcher.h:26
vtkm::rendering::Canvas
Definition:
Canvas.h:34
vtkm::rendering::LineRenderer::Canvas
const vtkm::rendering::Canvas * Canvas
Definition:
LineRenderer.h:49
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::Vec
A short fixed-length array.
Definition:
Types.h:767
vtkm::Matrix< vtkm::Float32, 4, 4 >
vtkm::rendering::LineRenderer::Transform
vtkm::Matrix< vtkm::Float32, 4, 4 > Transform
Definition:
LineRenderer.h:50
vtkm::Float32
float Float32
Definition:
Types.h:154
Color.h
Canvas.h
Generated by
1.8.17