Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkSceneContainer.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 #ifndef __mitkSceneContainer_h
00011 #define __mitkSceneContainer_h
00012 
00013 #include "mitkObject.h"
00014 #include "mitkVisualizationIncludes.h"
00015 
00022 MITK_VISUALIZATION_API bool mitkHasUnprocessedMouseMessage(void *WindowId);
00023 
00031 class MITK_VISUALIZATION_API mitkSceneContainer : public mitkObject
00032 {
00033 public:
00034     MITK_TYPE(mitkSceneContainer,mitkObject)
00035     mitkSceneContainer(){}
00036 
00040     virtual void* GetWindowId()=0;
00044     virtual const int* GetSize()=0;
00048     virtual int GetWidth() = 0;
00052     virtual int GetHeight() = 0;
00056     virtual void Update()=0;
00060     virtual void MakeCurrent()=0;
00064     virtual void SwapBuffers()=0;
00069     virtual bool HasUnprocessedMouseMessage(){return mitkHasUnprocessedMouseMessage(GetWindowId());}
00070 
00076     virtual void MoveMouseTo(int x, int y)=0;
00077 
00078 protected:
00079     virtual ~mitkSceneContainer(){}
00080 
00081 private:
00082     mitkSceneContainer(const mitkSceneContainer&);
00083     void operator = (const mitkSceneContainer&);
00084 };
00085 
00086 #endif
00087 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3