Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
TerrainSDK
vtlib
core
Content3d.h
1
//
2
// Content3d.h
3
//
4
// Header for the Content Management classes.
5
//
6
// Copyright (c) 2003-2011 Virtual Terrain Project.
7
// Free for all uses, see license.txt for details.
8
//
9
10
#ifndef VTLIB_CONTENT3DH
11
#define VTLIB_CONTENT3DH
12
18
19
#include "vtdata/Content.h"
20
25
class
vtItem3d
:
public
vtItem
26
{
27
public
:
28
bool
LoadModels
();
29
void
UpdateExtents();
30
31
NodePtr m_pNode;
32
};
33
38
class
vtContentManager3d
:
public
vtContentManager
39
{
40
public
:
41
vtContentManager3d
();
42
~
vtContentManager3d
();
43
44
// implementation
45
osg::Node *CreateNodeFromItemname(
const
char
*itemname);
46
virtual
vtItem
*NewItem() {
return
new
vtItem3d
; }
47
void
ReleaseContents();
48
49
vtGroupPtr m_pGroup;
50
};
51
// group content
53
54
#endif // VTLIB_CONTENT3DH
55
Generated on Fri Jun 7 2013 16:07:52 for Umasoft by
1.8.4