void QmitkNavigationButtonsView::NormalizationDropdownChanged(int normDropdown)
{
  typedef mitk::OdfNormalizationMethodProperty PropType;
  PropType::Pointer normMeth = PropType::New();

  switch(normDropdown)
  {
  case 0:
    normMeth->SetNormalizationToMinMax();
    break;
  case 1:
    normMeth->SetNormalizationToMax();
    break;
  case 2:
    normMeth->SetNormalizationToNone();
    break;
  case 3:
    normMeth->SetNormalizationToGlobalMax();
    break;
  default:
    normMeth->SetNormalizationToMinMax();
  }

  mitk::DataStorage::SetOfObjects::Pointer set =
      ActiveSet("QBallImage");
  SetEnumProp(set,"Normalization", normMeth.GetPointer());

  set = ActiveSet("TensorImage");
  SetEnumProp(set,"Normalization", normMeth.GetPointer());

  if(m_MultiWidget)
    m_MultiWidget->RequestUpdate();

}
void QmitkControlVisualizationPropertiesView::NormalizationDropdownChanged(int normDropdown)
{
    typedef mitk::OdfNormalizationMethodProperty PropType;
    PropType::Pointer normMeth = PropType::New();

    switch(normDropdown)
    {
    case 0:
        normMeth->SetNormalizationToMinMax();
        break;
    case 1:
        normMeth->SetNormalizationToMax();
        break;
    case 2:
        normMeth->SetNormalizationToNone();
        break;
    case 3:
        normMeth->SetNormalizationToGlobalMax();
        break;
    default:
        normMeth->SetNormalizationToMinMax();
    }

    if (dynamic_cast<mitk::QBallImage*>(m_SelectedNode->GetData()) || dynamic_cast<mitk::TensorImage*>(m_SelectedNode->GetData()))
        m_SelectedNode->SetProperty("Normalization", normMeth.GetPointer());

    mitk::RenderingManager::GetInstance()->RequestUpdateAll();
}