18 #ifndef MILXQT_RENAMED_PLUGIN_H 19 #define MILXQT_RENAMED_PLUGIN_H 23 #include <QDockWidget> 25 #include <vtkPolyDataCollection.h> 28 #include "milxQtPluginInterface.h" 29 #include "milxQtRenderWindow.h" 30 #include "milxQtImage.h" 31 #include "milxQtModel.h" 56 virtual QString
name();
101 virtual void SetInputCollection(vtkPolyDataCollection* collection, QStringList &filenames);
107 virtual void open(QString filename);
112 virtual void save(QString filename);
140 {
return Qt::LeftDockWidgetArea; }
190 #endif // MILXQT_RENAMED_PLUGIN_H
virtual QDockWidget * dockWidget()=0
Return the dock widget (if one is provided by plugin). [Implement this in your plugin].
virtual QString saveFileSupport()=0
Get the file support string for saving (extension wildcard list). [Implement this in your plugin]...
virtual milxQtImage * imageResult()=0
Get the image result. The result can then be displayed in milxQtMain etc.[Implement this in your plug...
This file defines all the defines, aliases and frequently used functions and variables.
This class represents the MILX Qt Render Window Display object using QVTK.
virtual QStringList saveExtensions()=0
Get a list of supported file format extensions. [Implement this in your plugin].
This class represents the MILX Qt Image Display object using VTK.
The interface for the RENAMED plugin for milxQt.
virtual QStringList openExtensions()=0
Get a list of supported file format extensions. [Implement this in your plugin].
virtual void update()
Update the plugin. [Implement this in your plugin].
virtual void loadExtension()=0
Load the extension. [Implement this in your plugin].
virtual QString name()=0
Get the Name of the plugin. [Implement this in your plugin].
This class represents the MILX Qt Model/Mesh Display object using VTK.
virtual void preStartTasks()
Tasks to complete before running or starting the thread. [Implement this].
virtual void SetInputCollection(vtkPolyDataCollection *collection, QStringList &filenames)=0
Pass a collection to internal plugin class. [Implement this in your plugin].
virtual Qt::DockWidgetArea dockDefaultArea()
Return the default dock widget area (if one is provided by plugin). [Implement this in your plugin]...
virtual bool hasSaveSupport()
Does the plugin support opening files? [Implement this in your plugin].
virtual void postStartTasks()
Tasks to complete after running or starting the thread. [Implement this].
virtual bool hasCollectionSupport()
Does the plugin support collections (PolyData collection etc.). [Implement this in your plugin]...
The interface for any plugins that can be made for milxQtMain.
virtual bool isPluginWindow(QWidget *window)=0
Is the window provided a plugin generated window? In this case a milxQtShapeModel window...
virtual milxQtModel * modelResult()=0
Get the model result. The result can then be displayed in milxQtMain etc. [Implement this in your plu...
virtual milxQtRenderWindow * genericResult()=0
Get the generic result, which is a milxQtRenderWindow. The result can then be displayed in milxQtMain...
virtual QString openFileSupport()=0
Get the file support string for opening (extension wildcard list). [Implement this in your plugin]...
virtual bool hasOpenSupport()
Does the plugin support opening files? [Implement this in your plugin].
virtual void open(QString filename)=0
Open the file using the plugin. [Implement this in your plugin].
#define MILXQT_PLUGIN_EXPORT
Define Windows Plugin DLL importing.
virtual void save(QString filename)=0
Save the result as a file using the plugin. [Implement this in your plugin].