VR-Forces 4.5 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
vrvDrawControl
DtVdc3DAttachPoint.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
#pragma once
7
15
#include <matrix/vlVector.h>
16
#include <vl/globalObjectDesignator.h>
17
18
#include <
vrvDrawControl/vrvDrawControl.h
>
19
20
namespace
vrvControlToolkit
21
{
31
32
33
class
DT_DLL_VRVDRAWCONTROL
DtVdc3DAttachPoint
34
{
35
public
:
36
typedef
enum
37
{
38
attachmentTypeUndefined = 0,
39
attachmentTypeScene = 1,
40
attachmentTypeEntity = 2,
41
attachmentTypeDrawObject = 3
42
} DtVdc3DAttachmentType;
43
44
public
:
49
DtVdc3DAttachPoint
(
const
DtVector
& location );
50
55
DtVdc3DAttachPoint
(
const
DtGlobalObjectDesignator
& entityId );
56
67
DtVdc3DAttachPoint
(
const
DtGlobalObjectDesignator
& drawObjectId,
double
relativePosition);
68
70
DtVdc3DAttachPoint
(
const
DtVdc3DAttachPoint
& orig );
71
73
DtVdc3DAttachPoint
& operator=(
const
DtVdc3DAttachPoint
& rhs );
74
76
virtual
~
DtVdc3DAttachPoint
();
77
79
DtVdc3DAttachPoint
();
80
81
public
:
82
88
virtual
DtVdc3DAttachmentType attachmentType()
const
;
89
96
virtual
DtVector
location()
const
;
97
virtual
DtVector
& location();
98
106
virtual
void
setLocation(
DtVector
location );
107
114
virtual
const
DtGlobalObjectDesignator
& drawObjectId()
const
;
115
123
virtual
void
setDrawObjectId(
const
DtGlobalObjectDesignator
& drawObjectId );
124
129
virtual
double
relativePosition()
const
;
130
135
virtual
void
setRelativePosition(
double
relativePosition );
136
144
virtual
DtGlobalObjectDesignator
entityId()
const
;
145
153
virtual
void
setEntityId(
const
DtGlobalObjectDesignator
& entityId );
154
155
virtual
bool
isAttached()
const
;
156
157
virtual
const
DtGlobalObjectDesignator
& attachedId()
const
;
158
159
protected
:
160
161
DtVector
myLocation
;
162
DtGlobalObjectDesignator
myAttachedId
;
163
double
myRelativePosition
;
164
165
DtVdc3DAttachmentType
myAttachmentType
;
166
};
167
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)