Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Shapes
Heatmaps
HeatmapShapeViewFactory.h
1
#pragma once
2
3
#include "Types.h"
4
#include "HeatmapShapeArgs.h"
5
#include "Modules.h"
6
#include "Rendering.h"
7
#include "VectorMath.h"
8
9
#include <vector>
10
11
namespace
Eegeo
12
{
13
namespace
Shapes
14
{
15
namespace
Heatmaps
16
{
17
class
HeatmapShapeViewFactory
:
public
HeatmapShapeArgs::IShapeViewFactory
,
private
Eegeo::NonCopyable
18
{
19
public
:
20
HeatmapShapeViewFactory
(
21
HeatmapShapeMaterial
& heatmapShapeMaterial,
22
const
Rendering::VertexLayouts::VertexLayout
& vertexLayout,
23
Rendering::GlBufferPool
& glBufferPool,
24
Rendering::VertexLayouts::VertexBindingPool
& vertexBindingPool,
25
float
floatEncodeScale
26
);
27
28
~
HeatmapShapeViewFactory
();
29
30
HeatmapShapeArgs::ShapeView* CreateView(
const
HeatmapShapeArgs::ShapeModel& heatmap);
31
32
private
:
33
HeatmapShapeMaterial
& m_heatmapShapeMaterial;
34
const
Rendering::VertexLayouts::VertexLayout
& m_vertexLayout;
35
Rendering::GlBufferPool
& m_glBufferPool;
36
Rendering::VertexLayouts::VertexBindingPool
& m_vertexBindingPool;
37
const
float
m_floatEncodeScale;
38
39
Rendering::Mesh
* CreateMesh(
40
const
dv3
& meshOriginEcef,
41
const
std::vector<v3>& meshPoints,
42
const
std::vector<v2>& textureCoords,
43
const
std::vector<u16>& meshTriListIndices
44
);
45
};
46
}
47
}
48
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1