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
MapperQuad.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_MapperQuad_h
11
#define vtk_m_rendering_MapperQuad_h
12
13
#include <
vtkm/cont/ColorTable.h
>
14
#include <
vtkm/rendering/Camera.h
>
15
#include <
vtkm/rendering/Mapper.h
>
16
17
#include <memory>
18
19
namespace
vtkm
20
{
21
namespace
rendering
22
{
23
30
class
VTKM_RENDERING_EXPORT
MapperQuad
:
public
Mapper
31
{
32
public
:
33
MapperQuad
();
34
35
~
MapperQuad
();
36
37
void
SetCanvas(
vtkm::rendering::Canvas
* canvas)
override
;
38
virtual
vtkm::rendering::Canvas
* GetCanvas()
const override
;
39
40
void
RenderCells(
const
vtkm::cont::UnknownCellSet
& cellset,
41
const
vtkm::cont::CoordinateSystem
& coords,
42
const
vtkm::cont::Field
& scalarField,
43
const
vtkm::cont::ColorTable
& colorTable,
44
const
vtkm::rendering::Camera
& camera,
45
const
vtkm::Range
& scalarRange)
override
;
46
47
void
SetCompositeBackground(
bool
on);
48
vtkm::rendering::Mapper
* NewCopy()
const override
;
49
50
private
:
51
struct
InternalsType;
52
std::shared_ptr<InternalsType>
Internals
;
53
54
struct
RenderFunctor;
55
};
56
}
57
}
//namespace vtkm::rendering
58
59
#endif //vtk_m_rendering_MapperQuad_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::ColorTable
Color Table for coloring arbitrary fields.
Definition:
cont/ColorTable.h:89
vtkm::cont::UnknownCellSet
A CellSet of an unknown type.
Definition:
UnknownCellSet.h:48
ColorTable.h
vtkm::cont::CoordinateSystem
Definition:
CoordinateSystem.h:25
vtkm::rendering::Mapper
Definition:
Mapper.h:24
vtkm::rendering::Canvas
Definition:
Canvas.h:34
vtkm::cont::Field
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition:
cont/Field.h:31
vtkm::rendering::MapperQuad
MapperQuad renderers quad facess from a cell set via ray tracing.
Definition:
MapperQuad.h:30
vtkm::rendering::MapperQuad::Internals
std::shared_ptr< InternalsType > Internals
Definition:
MapperQuad.h:51
Camera.h
vtkm::rendering::Camera
Definition:
Camera.h:28
Mapper.h
vtkm::Range
Represent a continuous scalar range of values.
Definition:
Range.h:31
Generated by
1.8.17