Reaction for open data files.
More...
#include <pqLoadDataReaction.h>
Reaction for open data files.
Definition at line 47 of file pqLoadDataReaction.h.
◆ pqLoadDataReaction()
pqLoadDataReaction::pqLoadDataReaction |
( |
QAction * |
parent | ) |
|
Constructor.
Parent cannot be NULL.
◆ loadData() [1/3]
static pqPipelineSource* pqLoadDataReaction::loadData |
( |
const QList< QStringList > & |
files, |
|
|
const QString & |
readergroup = QString() , |
|
|
const QString & |
readername = QString() , |
|
|
pqServer * |
server = NULL |
|
) |
| |
|
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.
If readergroup
and readername
are non empty, then they are assumed to be the type of the reader to use and reader factory is not used.
If server
is NULL, active server is used.
◆ loadData() [2/3]
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.
If readergroup
and readername
are non empty, then they are assumed to be the type of the reader to use and reader factory is not used.
If server
is NULL, active server is used.
◆ loadData() [3/3]
◆ updateEnableState
void pqLoadDataReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ loadedData
Fired when a dataset is loaded by this reaction.
◆ onTriggered()
void pqLoadDataReaction::onTriggered |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ TestFileReadability()
◆ DetermineFileReader()
static bool pqLoadDataReaction::DetermineFileReader |
( |
const QString & |
filename, |
|
|
pqServer * |
server, |
|
|
vtkSMReaderFactory * |
factory, |
|
|
QPair< QString, QString > & |
readerInfo |
|
) |
| |
|
staticprotected |
◆ LoadFile()
The documentation for this class was generated from the following file: