VR-Link API Documentation for HLA 1.3
coordTranslation.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00008 #pragma once
00009 
00010 #include <vlutil/vlMachineTypes.h>
00011 #include <vlutil/vlUtil.h>
00012 #include "vlVector.h"
00013 
00014 
00015 #ifdef DtUSE_UTILITIES_NAMESPACE
00016 namespace DtUSE_UTILITIES_NAMESPACE
00017 {
00018 #endif
00019 
00023 class DT_DLL_MATRIX DtCoordTranslation
00024 {
00025 public:
00026    DtCoordTranslation();
00027    DtCoordTranslation(const DtVector& toOriginInFromCoord);
00028 
00029    void setOffset(const DtVector& toOriginInFromCoord);
00030    void setByInverse(const DtCoordTranslation& to2from);
00031 
00032    void getOffset(DtVector& toOriginInFromCoord) const;
00033    DtVector offset() const;
00034 
00035    void coordTrans(const DtVector& from, DtVector& to) const;
00036 
00037 protected:
00038    DtVector myOffset; 
00039 };
00040 
00041 #ifdef DtUSE_UTILITIES_NAMESPACE
00042 }
00043 #endif
00044 
00045 
00046 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)