Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
SceneModels
SceneModel.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Rendering.h"
6
#include "VectorMath.h"
7
#include "Types.h"
8
#include "LayerIds.h"
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Rendering
14
{
15
namespace
SceneModels
16
{
17
class
SceneModel
:
private
Eegeo::NonCopyable
18
{
19
public
:
20
21
SceneModel
(u32 animationFrames);
22
~
SceneModel
();
23
24
SceneModelNode
& GetRootNode()
const
{
return
*m_pRootNode; }
25
SceneModelNode
* GetNodeWithName(
const
std::string& name)
const
;
26
27
void
AddNode(
SceneModelNode
* pNode);
28
void
RemoveNode(
SceneModelNode
* pNode);
29
30
const
dv3
& GetEcefPosition()
const
{
return
m_ecefOrigin; }
31
void
SetEcefPosition(
const
dv3
& ecefPosition);
32
33
void
SetLayer(Rendering::LayerIds::Values layer);
34
void
SetDepthTesting(
bool
enabled);
35
void
SetDepthRange(
float
near,
float
far);
36
37
void
PreRender();
38
39
const
u32 GetAnimationFrameCount()
const
{
return
m_animationFrames; }
40
41
SceneModel
* Clone();
42
43
private
:
44
45
SceneModel
(
SceneModel
& source);
46
47
SceneModelNode
* m_pRootNode;
48
49
dv3
m_ecefOrigin;
50
51
const
u32 m_animationFrames;
52
};
53
}
54
}
55
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1