Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
FLmitkRenderWindow.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 //#include "FLmitkRenderWindow.h"
18 //#include "mitkOpenGLRenderer.h"
19 //#include <FL/x.H>
20 //#include <FL/Fl.h>
21 //void FLmitkRenderWindow::InitRenderer()
22 //{
23 // if(m_Renderer.IsNull())
24 // m_Renderer = new mitk::OpenGLRenderer;
25 //
26 // mitk::RenderWindow::InitRenderer();
27 //}
28 //
29 //void FLmitkRenderWindow::draw() {
30 // if(m_InitNeeded)
31 // {
32 // SetWindowId( (void *)fl_xid( this ) );
33 // m_InitNeeded = false;
34 // }
35 // if(m_ResizeNeeded)
36 // {
37 // m_ResizeNeeded=false;
38 // m_Renderer->InitSize(w(),h());
39 // }
40 // if(visible())
41 // {
42 // make_current();
43 // m_Renderer->Paint();
44 // }
45 //}
46 //
47 //
48 //void FLmitkRenderWindow::resize(int x, int y, int w, int h) {
49 // std::cout << "resize() called" << std::endl;
50 // if (visible()) {
51 // m_Renderer->Resize(w,h);
52 // }
53 // Fl_Gl_Window::resize(x,y,w,h);
54 //}