VR-Forces 4.3.1 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
vrfGuiCore
elementAttributeUtilityFunctions.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtElementAttributeUtilityFunctions.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
11
14
15
#pragma once
16
17
#include <
vrfGuiCore/vrfGuiCore.h
>
18
#include <
vrvCore/DtUniqueID.h
>
19
#include <
vrvCore/DtElementIDHierarchyState.h
>
20
#include <
vrfGuiCore/embarkationHierarchyAttributes.h
>
21
#include <
vrvCore/DtElementAttributes.h
>
22
23
namespace
makVrv
24
{
25
class
DtDe;
26
}
27
28
namespace
makVrf
29
{
31
const
makVrv::DtElementAttributes::AttributeIds
AttributeShowWithContext
=
32
(
makVrv::DtElementAttributes::AttributeIds
)(
makVrv::DtElementAttributes::UserStart
- 10);
33
const
makVrv::DtElementAttributes::AttributeIds
AttributeHideWithContext
=
34
(
makVrv::DtElementAttributes::AttributeIds
)(
makVrv::DtElementAttributes::UserStart
- 9);
35
36
typedef
makVrv::DtUniqueElementAttribute<unsigned int, AttributeShowWithContext>
37
DtElementAttributeShowWithContext
;
38
39
typedef
makVrv::DtUniqueElementAttribute<unsigned int, AttributeHideWithContext>
40
DtElementAttributeHideWithContext
;
41
42
class
DT_DLL_VRFGUICORE
DtElementAttributeUtilityFunctions
43
{
44
public
:
45
static
const
makVrv::DtElementIDHierarchyStateAttribute
* echelonHierarchyState(
makVrv::DtDe
& de,
makVrv::DtElementID
id
);
46
static
const
makVrv::DtElementIDHierarchyDisplayStateAttribute
* displayState(
makVrv::DtDe
& de,
makVrv::DtElementID
id
);
47
49
static
bool
isEchelonChild(
makVrv::DtDe
& de,
makVrv::DtElementID
parent,
makVrv::DtElementID
child,
bool
recurse =
false
);
50
51
static
const
DtEmbarkationHierarchyStateAttribute
* embarkationHierarchyState(
makVrv::DtDe
& de,
makVrv::DtElementID
id
);
52
54
static
bool
isEmbarkationChild(
makVrv::DtDe
& de,
makVrv::DtElementID
parent,
makVrv::DtElementID
child,
bool
recurse =
false
);
55
};
56
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)