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
MapperPoint.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_MapperPoint_h
11
#define vtk_m_rendering_MapperPoint_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
31
class
VTKM_RENDERING_EXPORT
MapperPoint
:
public
Mapper
32
{
33
public
:
34
MapperPoint
();
35
36
~
MapperPoint
();
37
38
void
SetCanvas(
vtkm::rendering::Canvas
* canvas)
override
;
39
virtual
vtkm::rendering::Canvas
* GetCanvas()
const override
;
40
45
void
UseCells();
50
void
UseNodes();
51
57
void
UseVariableRadius(
bool
useVariableRadius);
58
64
void
SetRadius(
const
vtkm::Float32
& radius);
73
void
SetRadiusDelta(
const
vtkm::Float32
& delta);
74
75
void
RenderCells(
const
vtkm::cont::UnknownCellSet
& cellset,
76
const
vtkm::cont::CoordinateSystem
& coords,
77
const
vtkm::cont::Field
& scalarField,
78
const
vtkm::cont::ColorTable
& colorTable,
79
const
vtkm::rendering::Camera
& camera,
80
const
vtkm::Range
& scalarRange)
override
;
81
82
void
SetCompositeBackground(
bool
on);
83
vtkm::rendering::Mapper
* NewCopy()
const override
;
84
85
private
:
86
struct
InternalsType;
87
std::shared_ptr<InternalsType>
Internals
;
88
89
struct
RenderFunctor;
90
};
91
}
92
}
//namespace vtkm::rendering
93
94
#endif //vtk_m_rendering_MapperPoint_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::MapperPoint
MapperPonts renders points from a cell set.
Definition:
MapperPoint.h:31
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::Float32
float Float32
Definition:
Types.h:154
Camera.h
vtkm::rendering::Camera
Definition:
Camera.h:28
Mapper.h
vtkm::rendering::MapperPoint::Internals
std::shared_ptr< InternalsType > Internals
Definition:
MapperPoint.h:86
vtkm::Range
Represent a continuous scalar range of values.
Definition:
Range.h:31
Generated by
1.8.17