/*========================================================================= Library: CTK Copyright (c) Kitware Inc. All rights reserved. Distributed under a BSD License. See LICENSE.txt file. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ // CTK includes #include "ctkVTKRenderViewPlugin.h" #include "ctkVTKRenderView.h" //----------------------------------------------------------------------------- ctkVTKRenderViewPlugin::ctkVTKRenderViewPlugin(QObject *_parent):QObject(_parent) { } //----------------------------------------------------------------------------- QWidget *ctkVTKRenderViewPlugin::createWidget(QWidget *_parent) { ctkVTKRenderView* _widget = new ctkVTKRenderView(_parent); return _widget; } //----------------------------------------------------------------------------- QString ctkVTKRenderViewPlugin::domXml() const { return "\n" " \n" " \n" " 0\n" " 0\n" " 200\n" " 200\n" " \n" " \n" "\n"; } //----------------------------------------------------------------------------- QString ctkVTKRenderViewPlugin::includeFile() const { return "ctkVTKRenderView.h"; } //----------------------------------------------------------------------------- bool ctkVTKRenderViewPlugin::isContainer() const { return false; } //----------------------------------------------------------------------------- QString ctkVTKRenderViewPlugin::name() const { return "ctkVTKRenderView"; }