Slicer  5.0
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 // Slicer includes
27 #include "qSlicerFileReader.h"
28 
29 class qSlicerTablesReaderPrivate;
31 
32 //-----------------------------------------------------------------------------
35  : public qSlicerFileReader
36 {
37  Q_OBJECT
38 public:
40  qSlicerTablesReader(QObject* parent = nullptr);
42  QObject* parent = nullptr);
43  ~qSlicerTablesReader() override;
44 
47 
48  QString description()const override;
49  IOFileType fileType()const override;
50  QStringList extensions()const override;
51 
52  bool load(const IOProperties& properties) override;
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
IOFileType fileType() const override
Multiple readers can share the same file type.
qSlicerTablesReader(QObject *parent=nullptr)
QStringList extensions() const override
qSlicerFileReader Superclass
~qSlicerTablesReader() override
void setLogic(vtkSlicerTablesLogic *logic)
QString description() const override
Unique name of the reader/writer.
bool load(const IOProperties &properties) override
Properties availables : fileMode, multipleFiles, fileType.
QString IOFileType
Definition: qSlicerIO.h:52
QScopedPointer< qSlicerTablesReaderPrivate > d_ptr