VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtElementAttributes.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (c) 2014 MAK Technologies, Inc.
3
* All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtUniqueElementAttribute.h
>
14
15
#include <string>
16
17
namespace
makVrv
18
{
19
20
struct
DtElementAttributes
21
{
22
enum
AttributeIds
23
{
24
DisplayName
= 1,
25
ObjectVisibility
,
26
IndicatorVisibility
,
27
HeightAboveTerrainLinesEnabled
,
28
IndicatorsOnSelect
,
29
ElementIDHierarchyStateAttribute
,
30
ElementIDHierarchyDisplayStateAttribute
,
31
ElementOverlayName
,
32
ElementKindAndCategory
,
33
LocalScaleEnabled
,
34
LocalScaleAmount
,
35
ElementDamageState
,
36
ConnectionObjectID
,
37
ConnectionObjectType
,
38
39
UserStart
= 1000
40
};
41
};
42
43
//Typdefs for various attributes.
44
typedef
DtUniqueElementAttribute<std::string,DtElementAttributes::ConnectionObjectID>
45
DtElementAttributeConnectionObjectID
;
46
47
typedef
DtUniqueElementAttribute<std::string,DtElementAttributes::ConnectionObjectType>
48
DtElementAttributeConnectionObjectType
;
49
50
typedef
DtUniqueElementAttribute<std::string,DtElementAttributes::DisplayName>
51
DtElementAttributeDisplayName
;
52
53
typedef
DtUniqueElementAttribute<std::string,DtElementAttributes::ElementOverlayName>
54
DtElementAttributeOverlayName
;
55
56
typedef
DtUniqueElementAttribute<std::pair<int, int>
,
DtElementAttributes::ElementKindAndCategory
>
57
DtElementAttributeKindAndCategory
;
58
59
typedef
DtUniqueElementAttribute<bool,DtElementAttributes::ObjectVisibility>
60
DtElementAttributeVisibility
;
61
62
typedef
DtUniqueElementAttribute<bool,DtElementAttributes::IndicatorVisibility>
63
DtElementAttributeIndicatorsVisibility
;
64
65
typedef
DtUniqueElementAttribute<bool,DtElementAttributes::HeightAboveTerrainLinesEnabled>
66
DtElementAttributeTerrainLinesEnabled
;
67
68
typedef
DtUniqueElementAttribute<bool, DtElementAttributes::IndicatorsOnSelect>
69
DtElementAttributeIndicatorsOnSelect
;
70
71
typedef
DtUniqueElementAttribute<bool, DtElementAttributes::LocalScaleEnabled>
72
DtElementAttributeLocalScaleEnabled
;
73
74
typedef
DtUniqueElementAttribute<float, DtElementAttributes::LocalScaleAmount>
75
DtElementAttributeLocalScaleAmount
;
76
77
typedef
DtUniqueElementAttribute<unsigned int, DtElementAttributes::ElementDamageState>
78
DtElementAttributeDamageState
;
79
80
#ifndef _WIN32
81
template
class
DtUniqueElementAttribute<std::string,DtElementAttributes::ConnectionObjectID>
;
82
template
class
DtUniqueElementAttribute<std::string,DtElementAttributes::ConnectionObjectType>
;
83
template
class
DtUniqueElementAttribute<std::string,DtElementAttributes::DisplayName>
;
84
template
class
DtUniqueElementAttribute<std::string,DtElementAttributes::ElementOverlayName>
;
85
template
class
DtUniqueElementAttribute<bool,DtElementAttributes::ObjectVisibility>
;
86
template
class
DtUniqueElementAttribute<bool,DtElementAttributes::IndicatorVisibility>
;
87
template
class
DtUniqueElementAttribute<bool,DtElementAttributes::HeightAboveTerrainLinesEnabled>
;
88
template
class
DtUniqueElementAttribute<bool,DtElementAttributes::IndicatorsOnSelect>
;
89
template
class
DtUniqueElementAttribute<bool,DtElementAttributes::LocalScaleEnabled>
;
90
template
class
DtUniqueElementAttribute<float,DtElementAttributes::LocalScaleAmount>
;
91
#endif
92
}
93
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)