VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
matrix
coordTransform.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
8
#pragma once
9
10
#include <
vlutil/vlMachineTypes.h
>
11
#include "
vlVector.h
"
12
#include "
vlDcm.h
"
13
#include "
vlTaitBryan.h
"
14
#include <
vlutil/vlUtil.h
>
15
16
17
#ifdef DtUSE_UTILITIES_NAMESPACE
18
namespace
DtUSE_UTILITIES_NAMESPACE
19
{
20
#endif
21
29
class
DT_DLL_MATRIX
DtCoordTransform
30
{
31
public
:
32
DtCoordTransform
();
33
DtCoordTransform
(
const
DtVector
& toOriginInFromCoord,
const
DtDcm
& from2to);
34
void
setOffset(
const
DtVector
& toOriginInFromCoord);
35
void
setRotation(
const
DtDcm
& from2to);
36
void
setByInverse(
const
DtCoordTransform
&to2from);
37
38
DtVector
offset()
const
;
39
DtDcm
rotation()
const
;
40
41
void
getOrientation(
DtDcmRef
from_to)
const
;
42
43
void
coordTrans(
const
DtVector
& from,
DtVector
& to)
const
;
44
void
vecTrans(
const
DtVector
& from,
DtVector
& to)
const
;
45
void
eulerTrans(
const
DtTaitBryan
&from,
DtTaitBryan
*to)
const
;
46
47
public
:
48
50
void
getOffset(
DtVector
& toOriginInFromCoord)
const
;
51
52
protected
:
53
54
DtVector
myOffset
;
55
DtDcm
myRotation
;
56
};
57
58
#ifdef DtUSE_UTILITIES_NAMESPACE
59
}
60
#endif
61
62
63
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)