Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
PlaceNames
PlaceNamesTransforms.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "VectorMathDecl.h"
7
#include "Camera.h"
8
9
namespace
Eegeo
10
{
11
namespace
Resources
12
{
13
namespace
PlaceNames
14
{
15
class
PlaceNamesTransforms
:
protected
Eegeo::NonCopyable
16
{
17
private
:
18
static
const
float
CORRECT_ANGLE_START;
19
static
const
float
CORRECT_ANGLE_END;
20
static
const
float
CORRECT_ANGLE_RANGE;
21
22
public
:
23
static
float
CalculateScale (
24
float
categoryScale,
25
float
placeNameScale,
26
float
environmentScale
27
);
28
29
static
bool
CalculateMVP(
const
dv3
& ecefPosition,
30
const
Camera::RenderCamera
& renderCamera,
31
m44
& outModelViewProjection,
32
float
modelScale
33
);
34
35
private
:
36
static
Eegeo::m44
GetTransformForPlace(
37
const
Eegeo::dv3
& ecefPosition,
38
const
Eegeo::m44
& cameraWorld,
39
const
Eegeo::dv3
& cameraEcefPosition,
40
float
scale
41
);
42
};
43
}
44
}
45
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1