DWF3DCamera.h

00001 //
00002 //  Copyright (c) 2007 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 
00020 #ifndef _DWFTK_3D_CAMERA_H
00021 #define _DWFTK_3D_CAMERA_H
00022 
00023 
00024 #include "dwf/w3dtk/W3DCamera.h"
00025 
00026 #include "dwf/package/XML.h"
00027 #include "dwf/Toolkit.h"
00028 
00029 namespace DWFToolkit
00030 {
00031 
00039 
00040 class DWF3DCamera : public W3DCamera
00041 #ifndef DWFTK_READ_ONLY
00042                   , public DWFXMLSerializable
00043 #endif
00044                                   _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE_MEMBER
00045 {
00046 
00047 public:
00048 
00052     _DWFTK_API
00053     DWF3DCamera()
00054            throw()
00055         : W3DCamera()           
00056     {
00057         ;
00058     }
00059 
00068     _DWFTK_API
00069     DWF3DCamera(const W3DCamera& rCamera)
00070            throw()
00071                 : W3DCamera( rCamera )                  
00072     {
00073         ;
00074     }
00075 
00092         _DWFTK_API
00093         DWF3DCamera( float nPositionX,    float nPositionY,   float nPositionZ,
00094                                  float nTargetX,      float nTargetY,     float nTargetZ,
00095                                  float nUpVectorX,    float nUpVectorY,   float nUpVectorZ,
00096                                  float nFieldWidth,   float nFieldHeight, teProjection eProjection )
00097            throw()
00098          : W3DCamera( nPositionX,    nPositionY,   nPositionZ,
00099                                   nTargetX,      nTargetY,     nTargetZ,
00100                                   nUpVectorX,    nUpVectorY,   nUpVectorZ,
00101                                   nFieldWidth,   nFieldHeight, eProjection )            
00102         {
00103                 ;
00104         }
00105 
00112     _DWFTK_API
00113     DWF3DCamera( const DWF3DCamera& rCamera ) 
00114             throw()
00115          : W3DCamera( rCamera )
00116     { 
00117          ; 
00118     }
00119 
00126     _DWFTK_API
00127     DWF3DCamera& operator=( const DWF3DCamera& rCamera ) 
00128                 throw()
00129     { 
00130         W3DCamera::operator=(rCamera); 
00131         return *this; 
00132     }
00133 
00137     _DWFTK_API
00138     virtual ~DWF3DCamera()
00139         throw()
00140     {
00141         ;
00142     }
00143 
00144 #ifndef DWFTK_READ_ONLY
00145 
00149     _DWFTK_API
00150     virtual void serializeXML( DWFXMLSerializer& rSerializer, unsigned int nFlags )
00151         throw( DWFException );
00152 
00153 #endif
00154 };
00155 
00156 }
00157 
00158 #endif

Generated on Tue Jan 6 22:40:03 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5