27 if (Fl::event_dy() > 0) {
32 GetRenderer()->Render();
42 int dx = Fl::event_x() -
m_LastX;
43 int dy = Fl::event_y() -
m_LastY;
47 if (
m_Node.IsNotNull() &&
m_Node->GetLevelWindow(lvlWin,GetRenderer())) {
49 m_Node->SetLevelWindow(lvlWin,GetRenderer());
50 m_Node->SetLevelWindow(lvlWin,NULL);
51 GetRenderer()->Render();
56 return FLmitkRenderWindow::handle(event);
The LevelWindow class Class to store level/window values.
void SetLevelWindow(ScalarType level, ScalarType window, bool expandRangesIfNecessary=true)
ScalarType GetWindow() const
returns the current window size, i.e the range size of the current grey value interval ...
ScalarType GetLevel() const
method that returns the level value, i.e. the center of the current grey value interval ...