VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
coordTransform.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
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 
30 {
31 public:
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 
57 };
58 
59 #ifdef DtUSE_UTILITIES_NAMESPACE
60 }
61 #endif
62 
63 
64 
This file declares DtDcm and several helper classes and functions.
DtCoordTransform is used to transform locations, vectors and orientations from one Cartesian coordina...
Definition: coordTransform.h:29
DtDcm myRotation
&quot;to&quot; origin in base coordinates
Definition: coordTransform.h:56
DtTaitBryans are used to represent orientation of an object, using a set of three Euler angles...
Definition: vlTaitBryan.h:43
This file declares DtVector and DtVector32.
DtVector myOffset
Definition: coordTransform.h:55
Definition: vlVector.h:224
This file declares DtTaitBryan.
Definition: vlVector.h:162
#define DT_DLL_MATRIX
Definition: vlMachineTypes.h:107
DtDcms are used to represent orientation for an object.
Definition: vlDcm.h:39
provides basic Operating Independent Methods useful to a federate
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)