|
ParaView
|
Reaction for open data files. More...
#include <pqLoadDataReaction.h>


Public Slots | |
| void | updateEnableState () |
| Updates the enabled state. | |
Signals | |
| void | loadedData (pqPipelineSource *) |
| Fired when a dataset is loaded by this reaction. | |
Public Member Functions | |
| pqLoadDataReaction (QAction *parent) | |
| Constructor. Parent cannot be NULL. | |
Static Public Member Functions | |
| static pqPipelineSource * | loadData (const QList< QStringList > &files) |
| Loads multiple data files. | |
| static pqPipelineSource * | loadData (const QStringList &files) |
| Loads data files. | |
| static QList< pqPipelineSource * > | loadData () |
Protected Member Functions | |
| virtual void | onTriggered () |
| Called when the action is triggered. | |
Static Protected Member Functions | |
| static bool | TestFileReadability (const QString &file, pqServer *server, vtkSMReaderFactory *factory) |
| static bool | DetermineFileReader (const QString &filename, pqServer *server, vtkSMReaderFactory *factory, QPair< QString, QString > &readerInfo) |
| static pqPipelineSource * | LoadFile (const QStringList &files, pqServer *server, const QPair< QString, QString > &readerInfo) |
Reaction for open data files.
Definition at line 45 of file pqLoadDataReaction.h.
| pqLoadDataReaction::pqLoadDataReaction | ( | QAction * | parent | ) |
Constructor. Parent cannot be NULL.
| static pqPipelineSource* pqLoadDataReaction::loadData | ( | const QList< QStringList > & | files | ) | [static] |
Loads multiple data files.
Uses reader factory to determine what reader are supported. If a file requires user input the reader of choice, it will use that reader for all other files of that type. Returns the reader is creation successful, otherwise returns NULL. Note that this method is static. Applications can simply use this without having to create a reaction instance.
| static pqPipelineSource* pqLoadDataReaction::loadData | ( | const QStringList & | files | ) | [static] |
Loads data files.
Uses reader factory to determine what reader are supported. Returns the reader is creation successful, otherwise returns NULL. Note that this method is static. Applications can simply use this without having to create a reaction instance.
| static QList<pqPipelineSource*> pqLoadDataReaction::loadData | ( | ) | [static] |
| void pqLoadDataReaction::updateEnableState | ( | ) | [virtual, slot] |
Updates the enabled state.
Applications need not explicitly call this.
Reimplemented from pqReaction.
| void pqLoadDataReaction::loadedData | ( | pqPipelineSource * | ) | [signal] |
Fired when a dataset is loaded by this reaction.
| virtual void pqLoadDataReaction::onTriggered | ( | ) | [inline, protected, virtual] |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 81 of file pqLoadDataReaction.h.
| static bool pqLoadDataReaction::TestFileReadability | ( | const QString & | file, |
| pqServer * | server, | ||
| vtkSMReaderFactory * | factory | ||
| ) | [static, protected] |
| static bool pqLoadDataReaction::DetermineFileReader | ( | const QString & | filename, |
| pqServer * | server, | ||
| vtkSMReaderFactory * | factory, | ||
| QPair< QString, QString > & | readerInfo | ||
| ) | [static, protected] |
| static pqPipelineSource* pqLoadDataReaction::LoadFile | ( | const QStringList & | files, |
| pqServer * | server, | ||
| const QPair< QString, QString > & | readerInfo | ||
| ) | [static, protected] |
1.7.5.1