VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtCameraObject.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2010 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtCameraObject.h,v $ $Revision: 1.23 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012  
00013 #ifndef DtCameraObject_H_ 
00014 #define DtCameraObject_H_ 
00015  
00016 #include <vrvCore/vrvCore.h> 
00017 #include <vrvCore/DtAgent.h>
00018 #include <matrix/vlVector.h>
00019 #include <matrix/vlQuaternion.h>
00020 #include <matrix/vlTaitBryan.h>
00021 #include <string>
00022  
00023 namespace makVrv 
00024 { 
00025 
00026    class DtDe;
00027    class DtChannel;
00028 
00035    class DT_DLL_VRVCORE DtCameraObject 
00036    { 
00037 
00038    public:
00039 
00041       DtCameraObject(DtDe& de, DtUniqueID id);
00042          
00044       virtual ~DtCameraObject();
00045 
00046       //
00048       //
00049 
00052       virtual void setChannelBindings(const std::string& displayName, 
00053          const std::string& windowName, const std::string& channelName);
00054 
00057       virtual void setPosition( const DtVector& position);
00058 
00061       virtual void setOrientation( const DtQuaternion& orientation); 
00062 
00063       //
00068       //
00069 
00070       /*
00072       virtual void setParentChannel(const std::string& displayName, 
00073          const std::string& windowName, const std::string& channelName);
00074          */
00075 
00077      virtual void setObserverName( const std::string& observerName );
00078      
00081      virtual void setParentChannel(DtUniqueID id);
00082 
00084       virtual void setPositionOffset( const DtVector& offset);
00085 
00088       virtual void setOrientationOffset( const DtTaitBryan& offset); 
00089 
00090       //
00092       //
00093 
00096       virtual const DtVector& position() const;
00097 
00100       virtual const DtQuaternion& orientation() const;  
00101 
00103       virtual const DtVector& positionOffset() const;
00104 
00106       virtual const DtTaitBryan& orientationOffset() const;  
00107 
00109 
00110       const std::string& displayName() const;
00111       const std::string& windowName() const;
00112       const std::string& channelName() const;
00113 
00114       /*
00115       virtual void getParentChannel(std::string& displayEngineNameOut, 
00116          std::string& windowNameOut, std::string& channelNameOut);
00117          */
00119 
00120    protected:
00121 
00123       DtChannel* findChannel( const std::string& displayName, const std::string& windowName, 
00124          const std::string& channelName );
00125 
00126    protected:
00127 
00128       DtDe& myDe;
00129       std::string myDisplayName;
00130       std::string myViewName;
00131       std::string myChannelName;
00132       
00133       /*
00134       std::string myParentDisplayName;
00135       std::string myParentViewName;
00136       std::string myParentChannelName;
00137       */
00138 
00139       DtVector myPosition;
00140       DtQuaternion myOrientation;
00141       DtVector myPositionOffset;
00142       DtTaitBryan myOrientationOffset;
00143 
00144    }; 
00145 
00146 } 
00147  
00148 #endif 
00149  

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)