Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkSlicerPlotsLogic.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Portions (c) Copyright 2015 Brigham and Women's Hospital (BWH) All Rights Reserved.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  This file was originally developed by Andras Lasso (PerkLab, Queen's
17  University) and Kevin Wang (Princess Margaret Hospital, Toronto) and was
18  supported through OCAIRO and the Applied Cancer Research Unit program of
19  Cancer Care Ontario.
20 
21 ==============================================================================*/
22 
23 #ifndef __vtkSlicerPlotsLogic_h
24 #define __vtkSlicerPlotsLogic_h
25 
26 // Slicer includes
27 #include "vtkSlicerModuleLogic.h"
28 
29 // MRML includes
30 
31 // Plots includes
32 #include "vtkSlicerPlotsModuleLogicExport.h"
33 
34 class vtkAbstractArray;
35 class vtkMRMLTableNode;
38 
43 class VTK_SLICER_PLOTS_MODULE_LOGIC_EXPORT vtkSlicerPlotsLogic
44  : public vtkSlicerModuleLogic
45 {
46 public:
47 
48  static vtkSlicerPlotsLogic *New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53  static int GetLayoutWithPlot(int currentLayout);
54 
57  vtkMRMLPlotSeriesNode* CloneSeries(vtkMRMLPlotSeriesNode* source, const char *name);
58 
61  void ShowChartInLayout(vtkMRMLPlotChartNode* chartNode);
62 
64  vtkMRMLPlotChartNode* GetFirstPlotChartForSeries(vtkMRMLPlotSeriesNode* seriesNode);
65 
66 protected:
68  ~vtkSlicerPlotsLogic() override;
69 
70 private:
72  void operator=(const vtkSlicerPlotsLogic&) = delete;
73 };
74 
75 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
MRML node for referencing a collection of data to plot.
MRML node to represent a vtkPlot object.
MRML node to represent a table object.
Slicer logic class for double array manipulation This class manages the logic associated with reading...