VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtElementAttributeUtilityFunctions.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/DtEmbarkationHierarchyAttributes.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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)