VR-Forces 4.6 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
vrfobjcore
attachmentManager.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: attachMgr.h,v $ $Revision: 1.16 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef DtAttachmentManager_H_
15
#define DtAttachmentManager_H_
16
17
#include "
vrfobjcore/vrfobjcoreDefines.h
"
18
#include "
vrfobjcore/simObjectStateRepositoryIterator.h
"
19
#include <vlutil/vlList.h>
20
#include <matrix/vlVector.h>
21
#include <vl/hostStructs.h>
22
#include <
vrfExtProtocol/objectType.h
>
23
24
class
DtSimObjectStateRepository
;
25
class
DtSimObjectStateRepositoryIterator
;
26
class
DtRecursiveStateRepositoryIterator
;
27
class
Coordinate_System
;
28
58
class
DT_DLL_vrfobjcore
DtAttachmentManager
59
{
60
61
private
:
63
DtAttachmentManager
();
64
65
public
:
67
DtAttachmentManager
(
DtSimObjectStateRepository
* owner);
68
70
DtAttachmentManager
(
const
DtAttachmentManager
& orig);
71
73
const
DtAttachmentManager
& operator=(
const
DtAttachmentManager
& orig);
74
76
virtual
~
DtAttachmentManager
();
77
79
virtual
DtAttachmentManager
* clone()
const
;
80
82
virtual
void
attachPart(
DtSimObjectStateRepository
* part);
83
85
virtual
void
detachPart(
DtSimObjectStateRepository
* part);
86
89
virtual
DtSimObjectStateRepository
* findPartByType(
90
const
DtObjectType
& childType);
91
92
virtual
const
DtSimObjectStateRepository
* findPartByType(
93
const
DtObjectType
& childType)
const
;
94
96
virtual
int
numAttachments()
const
;
97
100
virtual
const
DtSimObjectStateRepositoryIterator
& iterator()
const
;
101
105
virtual
DtRecursiveStateRepositoryIterator
* spawnRecursiveIterator()
const
;
106
111
virtual
DtVector
getPartAttachPoint(
const
DtObjectType
& partType,
bool
recurse =
false
)
112
const
;
113
116
virtual
void
parentKinematicsChanged();
117
118
virtual
void
setCoordinateSystem(
const
Coordinate_System
* coordinateSystem);
119
120
const
DtList&
elements
()
const
{
return
myElements; };
121
122
protected
:
123
125
void
emptyList();
126
129
void
copyList(
const
DtList& otherElements);
130
131
protected
:
132
134
DtList
myElements
;
135
DtSimObjectStateRepository
*
myOwner
;
136
DtSimObjectStateRepositoryIterator
*
myIterator
;
137
};
138
139
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)