From e11dd618dc39c7e5c80442d82f49e54c01100d14 Mon Sep 17 00:00:00 2001 From: Peter Neher Date: Thu, 14 May 2020 08:27:57 +0200 Subject: [PATCH] Read --> DoRead --- .../mitkConnectomicsNetworkReader.cpp | 2 +- .../mitkConnectomicsNetworkReader.h | 4 ++-- .../mitkDiffusionImageDicomReader.cpp | 2 +- .../mitkDiffusionImageDicomReader.h | 4 ++-- .../mitkDiffusionImageNiftiReader.cpp | 2 +- .../mitkDiffusionImageNiftiReader.h | 4 ++-- .../mitkDiffusionImageNrrdReader.cpp | 2 +- .../mitkDiffusionImageNrrdReader.h | 4 ++-- .../mitkFiberBundleDicomReader.cpp | 2 +- .../ReaderWriter/mitkFiberBundleDicomReader.h | 4 ++-- .../ReaderWriter/mitkFiberBundleTckReader.cpp | 2 +- .../ReaderWriter/mitkFiberBundleTckReader.h | 4 ++-- .../mitkFiberBundleTrackVisReader.cpp | 2 +- .../mitkFiberBundleTrackVisReader.h | 4 ++-- .../ReaderWriter/mitkFiberBundleVtkReader.cpp | 2 +- .../ReaderWriter/mitkFiberBundleVtkReader.h | 4 ++-- .../ReaderWriter/mitkNrrdOdfImageReader.cpp | 2 +- .../ReaderWriter/mitkNrrdOdfImageReader.h | 4 ++-- .../mitkNrrdTensorImageReader.cpp | 2 +- .../ReaderWriter/mitkNrrdTensorImageReader.h | 4 ++-- .../ReaderWriter/mitkPeakImageReader.cpp | 2 +- .../ReaderWriter/mitkPeakImageReader.h | 4 ++-- .../mitkPlanarFigureCompositeReader.cpp | 2 +- .../mitkPlanarFigureCompositeReader.h | 4 ++-- .../ReaderWriter/mitkShImageReader.cpp | 2 +- .../ReaderWriter/mitkShImageReader.h | 4 ++-- .../mitkTractographyForestReader.cpp | 2 +- .../mitkTractographyForestReader.h | 4 ++-- .../QmitkFiberProcessingViewUserManual.dox | 2 +- .../src/internal/QmitkFiberProcessingView.cpp | 22 +++++++++---------- .../QmitkFiberProcessingViewControls.ui | 14 ++++++------ 31 files changed, 61 insertions(+), 61 deletions(-) diff --git a/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.cpp index 90cfea7..5c3c62f 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.cpp @@ -41,7 +41,7 @@ namespace mitk { } - std::vector > ConnectomicsNetworkReader::Read() + std::vector > ConnectomicsNetworkReader::DoRead() { std::vector > result; std::string location = GetInputLocation(); diff --git a/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.h b/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.h index ad3aa49..4f8a143 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkConnectomicsNetworkReader.h @@ -39,8 +39,8 @@ namespace mitk ConnectomicsNetworkReader(); ~ConnectomicsNetworkReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; private: ConnectomicsNetworkReader* Clone() const override; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.cpp index 29ed414..c50eda4 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.cpp @@ -86,7 +86,7 @@ DiffusionImageDicomReader() } std::vector > -DiffusionImageDicomReader::Read() +DiffusionImageDicomReader::DoRead() { return InternalRead(); } diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.h b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.h index 106418d..93c31d4 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageDicomReader.h @@ -45,8 +45,8 @@ namespace mitk DiffusionImageDicomReader(); ~DiffusionImageDicomReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; typedef short DiffusionPixelType; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.cpp index 7d5405f..100c3cb 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.cpp @@ -84,7 +84,7 @@ DiffusionImageNiftiReader() std::vector > DiffusionImageNiftiReader:: -Read() +DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.h b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.h index b1c5d32..6a8a743 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNiftiReader.h @@ -45,8 +45,8 @@ namespace mitk DiffusionImageNiftiReader(); ~DiffusionImageNiftiReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; typedef short DiffusionPixelType; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.cpp index 2ba88c3..a287439 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.cpp @@ -78,7 +78,7 @@ namespace mitk std::vector > DiffusionImageNrrdReader:: - Read() + DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.h b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.h index 6f55b5a..d1f8df3 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkDiffusionImageNrrdReader.h @@ -45,8 +45,8 @@ namespace mitk DiffusionImageNrrdReader(); ~DiffusionImageNrrdReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; typedef short DiffusionPixelType; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.cpp index c5e2fb5..213a204 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.cpp @@ -55,7 +55,7 @@ mitk::FiberBundleDicomReader * mitk::FiberBundleDicomReader::Clone() const return new FiberBundleDicomReader(*this); } -std::vector > mitk::FiberBundleDicomReader::Read() +std::vector > mitk::FiberBundleDicomReader::DoRead() { std::vector > output_fibs; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.h b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.h index a9e4465..cb75d66 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleDicomReader.h @@ -39,8 +39,8 @@ namespace mitk FiberBundleDicomReader(const FiberBundleDicomReader& other); FiberBundleDicomReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.cpp index f1aeeca..6099729 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.cpp @@ -52,7 +52,7 @@ mitk::FiberBundleTckReader * mitk::FiberBundleTckReader::Clone() const return new FiberBundleTckReader(*this); } -std::vector > mitk::FiberBundleTckReader::Read() +std::vector > mitk::FiberBundleTckReader::DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.h b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.h index 513a6ca..f7c695f 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTckReader.h @@ -39,8 +39,8 @@ namespace mitk FiberBundleTckReader(const FiberBundleTckReader& other); FiberBundleTckReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.cpp index 1b655a6..671d58b 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.cpp @@ -55,7 +55,7 @@ mitk::FiberBundleTrackVisReader * mitk::FiberBundleTrackVisReader::Clone() const return new FiberBundleTrackVisReader(*this); } -std::vector > mitk::FiberBundleTrackVisReader::Read() +std::vector > mitk::FiberBundleTrackVisReader::DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.h b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.h index eb0bdd6..c67f306 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleTrackVisReader.h @@ -39,8 +39,8 @@ namespace mitk FiberBundleTrackVisReader(const FiberBundleTrackVisReader& other); FiberBundleTrackVisReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.cpp index 30a5ace..15d33bf 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.cpp @@ -53,7 +53,7 @@ mitk::FiberBundleVtkReader * mitk::FiberBundleVtkReader::Clone() const } -std::vector > mitk::FiberBundleVtkReader::Read() +std::vector > mitk::FiberBundleVtkReader::DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.h b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.h index ac2d9be..7c18fdf 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkFiberBundleVtkReader.h @@ -39,8 +39,8 @@ namespace mitk FiberBundleVtkReader(const FiberBundleVtkReader& other); FiberBundleVtkReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.cpp index 2c45539..131f726 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.cpp @@ -43,7 +43,7 @@ namespace mitk { } - std::vector > NrrdOdfImageReader::Read() + std::vector > NrrdOdfImageReader::DoRead() { std::vector > result; std::string location = GetInputLocation(); diff --git a/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.h b/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.h index c1be9d6..a54ec5a 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkNrrdOdfImageReader.h @@ -42,8 +42,8 @@ namespace mitk NrrdOdfImageReader(); ~NrrdOdfImageReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; protected: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.cpp index dba88f9..167ed88 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.cpp @@ -48,7 +48,7 @@ namespace mitk { } - std::vector > NrrdTensorImageReader::Read() + std::vector > NrrdTensorImageReader::DoRead() { std::vector > result; std::string location = GetInputLocation(); diff --git a/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.h b/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.h index be5eefd..29547c0 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkNrrdTensorImageReader.h @@ -44,8 +44,8 @@ namespace mitk NrrdTensorImageReader(); ~NrrdTensorImageReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; protected: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.cpp index 14d838a..d1b481e 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.cpp @@ -46,7 +46,7 @@ namespace mitk { } - std::vector > PeakImageReader::Read() + std::vector > PeakImageReader::DoRead() { mitk::LocaleSwitch localeSwitch("C"); std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.h b/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.h index 5fac1a0..84e1b8c 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkPeakImageReader.h @@ -36,8 +36,8 @@ namespace mitk PeakImageReader(); ~PeakImageReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; protected: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.cpp index de4063c..1240062 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.cpp @@ -47,7 +47,7 @@ mitk::PlanarFigureCompositeReader * mitk::PlanarFigureCompositeReader::Clone() c } -std::vector > mitk::PlanarFigureCompositeReader::Read() +std::vector > mitk::PlanarFigureCompositeReader::DoRead() { std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.h b/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.h index 1bac895..a2b8edc 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkPlanarFigureCompositeReader.h @@ -39,8 +39,8 @@ namespace mitk PlanarFigureCompositeReader(const PlanarFigureCompositeReader& other); PlanarFigureCompositeReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.cpp index 4cb4884..8f37c1a 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.cpp @@ -71,7 +71,7 @@ namespace mitk return resultImage; } - std::vector > ShImageReader::Read() + std::vector > ShImageReader::DoRead() { mitk::LocaleSwitch localeSwitch("C"); std::vector > result; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.h b/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.h index fbf86bf..f67bd01 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkShImageReader.h @@ -43,8 +43,8 @@ namespace mitk ShImageReader(); ~ShImageReader() override; - using AbstractFileReader::Read; - std::vector > Read() override; + using AbstractFileReader::DoRead; + std::vector > DoRead() override; protected: diff --git a/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.cpp b/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.cpp index b5eb907..7174ad7 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.cpp +++ b/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.cpp @@ -42,7 +42,7 @@ mitk::TractographyForestReader * mitk::TractographyForestReader::Clone() const } -std::vector > mitk::TractographyForestReader::Read() +std::vector > mitk::TractographyForestReader::DoRead() { std::vector > result; std::shared_ptr< vigra::RandomForest > forest; diff --git a/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.h b/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.h index 470e934..83d2371 100644 --- a/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.h +++ b/Modules/DiffusionIO/ReaderWriter/mitkTractographyForestReader.h @@ -37,8 +37,8 @@ namespace mitk TractographyForestReader(const TractographyForestReader& other); TractographyForestReader * Clone() const override; - using mitk::AbstractFileReader::Read; - std::vector > Read() override; + using mitk::AbstractFileReader::DoRead; + std::vector > DoRead() override; private: diff --git a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/documentation/UserManual/QmitkFiberProcessingViewUserManual.dox b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/documentation/UserManual/QmitkFiberProcessingViewUserManual.dox index 46f70c9..1b4d86c 100644 --- a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/documentation/UserManual/QmitkFiberProcessingViewUserManual.dox +++ b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/documentation/UserManual/QmitkFiberProcessingViewUserManual.dox @@ -1,7 +1,7 @@ /** \page org_mitk_views_fiberprocessing Fiber Processing -This view provides tools to extract subbundles from a given fiber bundle, to remove unwanted fibers (e.g. via length, curvature, directional and fiber weight constraints) and to modify the properties of a fiber bundles such as coloring or fiber sampling. +This view provides tools to extract subbundles from a given fiber bundle, to remove unwanted fibers (e.g. via length, curvature, directional and fiber weight constraints) and to modify the properties of a fiber bundles such as coloring, fiber weights or fiber sampling. Fiber Extraction: Place ROIs in the 2D render widgets (cricles or polygons) and extract fibers from the bundle that pass through these ROIs by selecting the according ROI and fiber bundle in the datamanger and starting the extraction. The ROIs can be combined via logical operations. All fibers that pass through the thus generated composite ROI are extracted. The extraction can also be performed using 3D ROIs represented as binary mask images. In this extraction method, the logical operations are not implemented at the moment. diff --git a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingView.cpp b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingView.cpp index 371d68f..c2fc00f 100644 --- a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingView.cpp +++ b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingView.cpp @@ -189,17 +189,17 @@ void QmitkFiberProcessingView::Modify() } case 3: { - DoImageColorCoding(); + MirrorFibers(); break; } case 4: { - MirrorFibers(); + WeightFibers(); break; } case 5: { - WeightFibers(); + DoWeightColorCoding(); break; } case 6: @@ -209,12 +209,12 @@ void QmitkFiberProcessingView::Modify() } case 7: { - DoWeightColorCoding(); + DoLengthColorCoding(); break; } case 8: { - DoLengthColorCoding(); + DoImageColorCoding(); break; } } @@ -1083,28 +1083,28 @@ void QmitkFiberProcessingView::UpdateGui() m_Controls->m_CompressFibersFrame->setVisible(true); break; case 3: - m_Controls->m_ValueAsWeightBox->setVisible(true); - m_Controls->m_ColorFibersFrame->setVisible(true); - m_Controls->m_ColorMapBox->setVisible(true); - break; - case 4: m_Controls->m_MirrorFibersFrame->setVisible(true); if (m_SelectedSurfaces.size()>0) m_Controls->m_ModifyButton->setEnabled(true); break; - case 5: + case 4: m_Controls->m_BundleWeightFrame->setVisible(true); break; + case 5: + m_Controls->m_ColorFibersFrame->setVisible(true); + break; case 6: m_Controls->m_ValueAsWeightBox->setVisible(true); m_Controls->m_ColorFibersFrame->setVisible(true); break; case 7: + m_Controls->m_ValueAsWeightBox->setVisible(true); m_Controls->m_ColorFibersFrame->setVisible(true); break; case 8: m_Controls->m_ValueAsWeightBox->setVisible(true); m_Controls->m_ColorFibersFrame->setVisible(true); + m_Controls->m_ColorMapBox->setVisible(true); break; } diff --git a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingViewControls.ui b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingViewControls.ui index 59fd8c3..787549c 100644 --- a/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingViewControls.ui +++ b/Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkFiberProcessingViewControls.ui @@ -324,7 +324,7 @@ QGroupBox { - Interactive Extraction + Interactive Extraction @@ -1353,32 +1353,32 @@ QGroupBox { - Color fibers by scalar map (e.g. FA) + Mirror fibers - Mirror fibers + Weight bundle - Weight bundle + Color fibers by fiber weights - Color fibers by curvature + Color & weight fibers by curvature - Color fibers by fiber weights + Color & weight fibers by length - Color fibers by length + Color & weight fibers by scalar map (e.g. FA)