Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkC3Data.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 <QmitkC3Data.h>
18 
20 {
21 }
22 
24  : m_Histogram(histogram),
25  m_UseLineChart(false),
26  m_ShowSubchart(true)
27 {
28 }
29 
30 void QmitkC3Data::SetAppearance(bool UseLineChart = false, bool ShowSubChart = true)
31 {
32  m_UseLineChart = UseLineChart;
33  m_ShowSubchart = ShowSubChart;
34 }
35 
37 {
38  this->m_YData.clear();
39  this->m_XData.clear();
40 }
QList< QVariant > m_XData
List of measurements.
Definition: QmitkC3Data.h:32
QVariant m_UseLineChart
Definition: QmitkC3Data.h:33
void SetAppearance(bool useLineChart, bool showSubChart)
Definition: QmitkC3Data.cpp:30
QList< QVariant > m_YData
List of frequencies.
Definition: QmitkC3Data.h:32
itk::SmartPointer< const Self > ConstPointer
QVariant m_ShowSubchart
Definition: QmitkC3Data.h:34
void ClearData()
Clears the Data.
Definition: C3Data.cpp:19