Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerVolumeRenderingIO.h
Go to the documentation of this file.
00001 /*==============================================================================
00002 
00003   Program: 3D Slicer
00004 
00005   Copyright (c) Kitware Inc.
00006 
00007   See COPYRIGHT.txt
00008   or http://www.slicer.org/copyright/copyright.txt for details.
00009 
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   This file was originally developed by Julien Finet, Kitware Inc.
00017   and was partially funded by NIH grant 3P41RR013218-12S1
00018 
00019 ==============================================================================*/
00020 
00021 #ifndef __qSlicerVolumeRenderingIO_h
00022 #define __qSlicerVolumeRenderingIO_h
00023 
00024 // SlicerQT includes
00025 #include <qSlicerFileReader.h>
00026 
00027 // Volume Rendering includes
00028 class qSlicerVolumeRenderingIOPrivate;
00029 class vtkSlicerVolumeRenderingLogic;
00030 
00031 //-----------------------------------------------------------------------------
00033 class qSlicerVolumeRenderingIO
00034   : public qSlicerFileReader
00035 {
00036   Q_OBJECT
00037 public:
00038   typedef qSlicerFileReader Superclass;
00039   qSlicerVolumeRenderingIO(QObject* parent = 0);
00040   qSlicerVolumeRenderingIO(vtkSlicerVolumeRenderingLogic* logic, QObject* parent = 0);
00041   virtual ~qSlicerVolumeRenderingIO();
00042 
00043   void setVolumeRenderingLogic(vtkSlicerVolumeRenderingLogic* logic);
00044   vtkSlicerVolumeRenderingLogic* volumeRenderingLogic()const;
00045 
00046   // Reimplemented for IO specific description
00047   virtual QString description()const;
00048   virtual IOFileType fileType()const;
00049   virtual QStringList extensions()const;
00050 
00051   virtual bool load(const IOProperties& properties);
00052 
00053 protected:
00054   QScopedPointer<qSlicerVolumeRenderingIOPrivate> d_ptr;
00055 
00056 private:
00057   Q_DECLARE_PRIVATE(qSlicerVolumeRenderingIO);
00058   Q_DISABLE_COPY(qSlicerVolumeRenderingIO);
00059 };
00060 
00061 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines