VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtDisplay.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtDisplay.h,v $ $Revision: 1.46 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtDisplay_H_
00014 #define DtDisplay_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <string>
00018 
00019 namespace makVrv
00020 {
00021 
00022    class DtDe;
00023    class DtDisplayConfiguration;
00024    class DtWindowConfiguration;
00025    class DtWindowManager;
00026    class DtDisplayProctor;
00027 
00030    class DT_DLL_VRVCORE DtDisplay
00031    {
00032 
00033    public:
00034 
00039       DtDisplay(DtDe& de, DtDisplayConfiguration& dec);      
00040 
00042       virtual ~DtDisplay();
00043 
00045       void realizeConfiguration();
00046 
00048       virtual const DtDisplayConfiguration& configuration() const;   
00049 
00051       virtual bool addWindow( const std::string& displayName, const DtWindowConfiguration& configuration);
00052 
00054       virtual bool destroyWindow( const std::string& displayName, const std::string& windowName );
00055 
00057       virtual bool modifyWindow( const std::string& displayName, const std::string& windowName, 
00058          const DtWindowConfiguration& config );
00059       
00061 
00062       virtual DtWindowManager& windowManager();
00063       virtual const DtWindowManager& windowManager() const;
00065 
00067       virtual void tick();
00068 
00071       static const char* className();   
00072 
00073       inline DtDe& de()
00074       {
00075          return myDe;
00076       }
00077 
00079       virtual bool isVisibleAndCloseToCamera(
00080          float sphereRadius,
00081          float sphereCenterX, float sphereCenterY, float sphereCenterZ,
00082          float upX, float upY, float upZ) const;
00083 
00084    protected:
00085 
00086       DtDe& myDe;
00087       DtWindowManager* myWindowManager;           
00088       DtDisplayConfiguration& myDisplayConfiguration;
00089       DtDisplayProctor* myDisplayProctor;
00090       static const char* myClassName;
00091 
00092    };
00093 }
00094 
00095 #endif

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)