Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Data
StencilArea
StencilAreaPaletteModel.h
1
// Copyright (c) 2015 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "Types.h"
6
#include "StencilArea.h"
7
#include "VectorMath.h"
8
#include <string>
9
10
namespace
Eegeo
11
{
12
namespace
Data
13
{
14
namespace
StencilArea
15
{
16
typedef
std::string TStencilPaletteId;
17
18
class
StencilAreaPaletteModel
:
private
Eegeo::NonCopyable
19
{
20
public
:
21
class
StencilAreaPaletteBuilder
:
private
Eegeo::NonCopyable
22
{
23
public
:
24
StencilAreaPaletteBuilder
(
const
TStencilPaletteId
id
,
const
Eegeo::v4
& color)
25
: m_id(
id
)
26
, m_color(color)
27
, m_finished(
false
)
28
{
29
}
30
31
StencilAreaPaletteModel
* Build();
32
private
:
33
const
TStencilPaletteId m_id;
34
const
Eegeo::v4
m_color;
35
bool
m_finished;
36
};
37
38
39
const
TStencilPaletteId& GetID()
const
{
return
m_id; }
40
const
Eegeo::v4
& GetColor()
const
{
return
m_color; }
41
private
:
42
StencilAreaPaletteModel() { };
43
TStencilPaletteId m_id;
44
Eegeo::v4
m_color;
45
};
46
}
47
}
48
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1