VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvIndirectRendering
DtModelInfo.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvIndirectRendering/vrvIndirectRendering.h
>
13
#include <
vrvIndirectRendering/DtLodId.h
>
14
15
#include <tbb/concurrent_unordered_map.h>
16
#include <tbb/atomic.h>
17
18
namespace
makVrv
19
{
20
class
DtLodId;
21
25
class
DT_DLL_VRVINDIRECTRENDERING
DtModelInfo
26
{
27
public
:
29
DtModelInfo
();
30
32
virtual
~
DtModelInfo
();
33
35
virtual
void
setNameAndId(
const
std::string& modelName,
int
id
);
36
38
virtual
const
std::string& modelName(
void
)
const
;
39
41
virtual
int
id(
void
)
const
;
42
44
virtual
const
DtLodId
& lodId(
int
lodId)
const
;
45
48
58
virtual
bool
insertLodEntryAndLod(
int
lodId);
59
61
62
virtual
int
currNextLodId(
void
)
const
;
63
virtual
void
printInfo(
void
)
const
;
64
virtual
int
numOfEntries(
void
)
const
;
66
67
protected
:
68
std::string
myModelName
;
69
int
myId
;
70
76
tbb::atomic<int>
myNextLodId
;
77
typedef
tbb::concurrent_unordered_map<int, DtLodId>
LodIdToDtLodId
;
78
LodIdToDtLodId
myLodIdToDtLodId
;
79
};
80
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)