Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerTablesReader.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 __qSlicerTablesReader
24 #define __qSlicerTablesReader
25 
26 // SlicerQt includes
27 #include "qSlicerFileReader.h"
28 
29 class qSlicerTablesReaderPrivate;
31 
32 //-----------------------------------------------------------------------------
35  : public qSlicerFileReader
36 {
37  Q_OBJECT
38 public:
40  qSlicerTablesReader(QObject* parent = 0);
42  QObject* parent = 0);
43  virtual ~qSlicerTablesReader();
44 
47 
48  virtual QString description()const;
49  virtual IOFileType fileType()const;
50  virtual QStringList extensions()const;
51 
52  virtual bool load(const IOProperties& properties);
53 protected:
54  QScopedPointer<qSlicerTablesReaderPrivate> d_ptr;
55 
56 private:
57  Q_DECLARE_PRIVATE(qSlicerTablesReader);
58  Q_DISABLE_COPY(qSlicerTablesReader);
59 };
60 
61 #endif
Slicer logic class for double array manipulation This class manages the logic associated with reading...
vtkSlicerTablesLogic * logic() const
virtual IOFileType fileType() const
Multiple readers can share the same file type.
virtual ~qSlicerTablesReader()
virtual QString description() const
Unique name of the reader/writer.
qSlicerTablesReader(QObject *parent=0)
virtual QStringList extensions() const
virtual bool load(const IOProperties &properties)
Properties availables : fileMode, multipleFiles, fileType.
qSlicerFileReader Superclass
void setLogic(vtkSlicerTablesLogic *logic)
QString IOFileType
Definition: qSlicerIO.h:50
QScopedPointer< qSlicerTablesReaderPrivate > d_ptr