|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
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 Jean-Christophe Fillion-Robin, Kitware Inc. 00017 and was partially funded by NIH grant 3P41RR013218-12S1 00018 00019 ==============================================================================*/ 00020 00021 #ifndef __qSlicerWidget_h 00022 #define __qSlicerWidget_h 00023 00024 // Qt includes 00025 #include <QWidget> 00026 00027 // CTK includes 00028 #include <ctkPimpl.h> 00029 #include <ctkVTKObject.h> 00030 00031 #include "qSlicerObject.h" 00032 #include "qSlicerBaseQTGUIExport.h" 00033 00034 class vtkMRMLScene; 00035 class QScrollArea; 00036 class qSlicerWidgetPrivate; 00037 00038 class Q_SLICER_BASE_QTGUI_EXPORT qSlicerWidget : public QWidget, public virtual qSlicerObject 00039 { 00040 Q_OBJECT 00041 QVTK_OBJECT 00042 public: 00043 qSlicerWidget(QWidget *parent=0, Qt::WindowFlags f=0); 00044 virtual ~qSlicerWidget(); 00045 00046 public slots: 00047 virtual void setMRMLScene(vtkMRMLScene* scene); 00048 00049 signals: 00050 void mrmlSceneChanged(vtkMRMLScene*); 00051 00052 protected: 00053 QScopedPointer<qSlicerWidgetPrivate> d_ptr; 00054 00055 private: 00056 Q_DECLARE_PRIVATE(qSlicerWidget); 00057 Q_DISABLE_COPY(qSlicerWidget); 00058 }; 00059 00060 #endif
1.7.4