17 #ifndef QmitkTbssRoiAnalysisWidget_H_
18 #define QmitkTbssRoiAnalysisWidget_H_
22 #include <org_mitk_gui_qt_diffusionimaging_Export.h>
27 #include <itkVectorImage.h>
30 typedef std::vector< itk::Index<3> >
RoiType;
58 void SetGroups(std::vector< std::pair<std::string, int> > groups)
81 m_Projections = projections;
93 m_Structure = structure;
117 return m_IndividualProfiles;
129 m_PlottingFiberBundle = b;
134 return m_PlottingFiberBundle;
146 void ModifyPlot(
int number,
bool avg);
157 std::vector< std::vector<double> >
m_Vals;
164 std::vector< std::vector<double> > CalculateGroupProfiles();
171 void Plot(std::vector <std::vector<double> > groupProfiles);
175 std::vector<std::string>& tokens,
176 const std::string& delimiters =
" ")
179 std::string::size_type lastPos = str.find_first_not_of(delimiters, 0);
181 std::string::size_type pos = str.find_first_of(delimiters, lastPos);
183 while (std::string::npos != pos || std::string::npos != lastPos)
186 tokens.push_back(str.substr(lastPos, pos - lastPos));
188 lastPos = str.find_first_not_of(delimiters, pos);
190 pos = str.find_first_of(delimiters, lastPos);
194 std::vector< std::pair<std::string, int> >
m_Groups;
itk::SmartPointer< Self > Pointer
Image class for storing images.
Base Class for Fiber Bundles;.
this class encapsulates diffusion volumes (vectorimages not yet supported by mitkImage) ...
static std::string GetPositionInWorld(mitk::InteractionEvent *event)
GetPosition Return World Position as String.
Class for nodes of the DataTree.
Class for defining the data type of pixels.