00001
00002
00003
00004
00005
00006
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