18 #include "milxQtAnimatePlugin.h" 25 MainWindow = qobject_cast<
milxQtMain *>(theParent);
31 pluginName =
"Animate";
37 milxQtAnimatePlugin::~milxQtAnimatePlugin()
41 cerr <<
"Animate Plugin Destroyed." << endl;
51 QString openPythonExt =
"";
72 QString savePythonExt =
"";
79 cout <<
"Loading Collection via the Animate Plugin" << endl;
83 cout <<
"Loaded Collection as an animation." << endl;
163 QMutexLocker locker(&mutex);
170 void milxQtAnimatePlugin::createConnections()
bool threaded
Threaded plugin?
This class represents the MILX Qt Render Window Display object using QVTK.
bool consoleWindow
console window?
This class represents the MILX Qt Image Display object using VTK.
void open(QString filename)
Open the file using the plugin. [Implement this in your plugin].
bool extension
Extension rather than a plugin?
milxQtImage * imageResult()
Get the image result. The result can then be displayed in milxQtMain etc.[Implement this in your plug...
QString name()
Get the Name of the plugin. [Implement this in your plugin].
milxQtAnimateModel * pluginWindow(QWidget *window)
This class represents the MILX Qt Model/Mesh Display object using VTK.
QDockWidget * dockWidget()
Return the dock widget (if one is provided by plugin). [Implement this in your plugin].
bool dockable
Dockable plugin?
milxQtAnimatePlugin(QObject *theParent=0)
milxQtRenderWindow * genericResult()
Get the generic result, which is a milxQtRenderWindow. The result can then be displayed in milxQtMain...
QStringList openExtensions()
Get a list of supported file format extensions. [Implement this in your plugin].
QString openFileSupport()
Get the file support string for opening (extension wildcard list). [Implement this in your plugin]...
milxQtConsole * console
console for logging
QPointer< milxQtAnimateModel > animateModel
Model extension.
The interface for any plugins that can be made for milxQtMain.
void save(QString filename)
Save the result as a file using the plugin. [Implement this in your plugin].
milxQtModel * modelResult()
Get the model result. The result can then be displayed in milxQtMain etc. [Implement this in your plu...
QString saveFileSupport()
Get the file support string for saving (extension wildcard list). [Implement this in your plugin]...
QStringList saveExtensions()
Get a list of supported file format extensions. [Implement this in your plugin].
void SetInputCollection(vtkPolyDataCollection *collection, QStringList &filenames)
Pass a collection to internal plugin class. [Implement this in your plugin].
This class represents the MILX Qt Main Window object using Qt.
bool isPluginWindow(QWidget *window)
Is the window provided a plugin generated window? In this case a milxQtShapeModel window...