VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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
vecTrans(
const
DtVector32
& from,
DtVector32
& to)
const
;
46
void
eulerTrans(
const
DtTaitBryan
&from,
DtTaitBryan
*to)
const
;
47
48
public
:
49
51
void
getOffset(
DtVector
& toOriginInFromCoord)
const
;
52
53
protected
:
54
55
DtVector
myOffset
;
56
DtDcm
myRotation
;
57
};
58
59
#ifdef DtUSE_UTILITIES_NAMESPACE
60
}
61
#endif
62
63
64
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)