ParaView
|
Widget to select among supported Cinema Tracks (filters). More...
#include <pqCinemaTrackSelection.h>
Inherits QWidget.
Public Types | |
typedef std::pair< pqArraySelectionModel *, pqCinemaTrack * > | ItemValues |
typedef std::map< pqPipelineSource *, ItemValues > | ItemValuesMap |
Public Member Functions | |
pqCinemaTrackSelection (QWidget *parent_=NULL) | |
~pqCinemaTrackSelection () | |
QList< pqCinemaTrack * > | getTracks () |
QString | getTrackSelectionAsString (QString const &format) |
Returns a string containing a comma separated set of cinema tracks each with a set of user selected values. More... | |
QString | getArraySelectionAsString (QString const &format) |
Returns a string containing a comma separated set of cinema tracks each with a set of user selected arrays. More... | |
void | initializePipelineBrowser () |
Creates a PipelineModel which gets populated using the current ServerManagerModel and passes it to the View object. More... | |
Widget to select among supported Cinema Tracks (filters).
The user selection can be queried as a string to be included in a Python script directly. The widget is used by pqCinemaConfiguration and pqSGExportStateWizard.
Definition at line 60 of file pqCinemaTrackSelection.h.
typedef std::pair<pqArraySelectionModel*, pqCinemaTrack*> pqCinemaTrackSelection::ItemValues |
Definition at line 62 of file pqCinemaTrackSelection.h.
typedef std::map<pqPipelineSource*, ItemValues> pqCinemaTrackSelection::ItemValuesMap |
Definition at line 67 of file pqCinemaTrackSelection.h.
pqCinemaTrackSelection::pqCinemaTrackSelection | ( | QWidget * | parent_ = NULL | ) |
pqCinemaTrackSelection::~pqCinemaTrackSelection | ( | ) |
QList<pqCinemaTrack*> pqCinemaTrackSelection::getTracks | ( | ) |
QString pqCinemaTrackSelection::getTrackSelectionAsString | ( | QString const & | format | ) |
Returns a string containing a comma separated set of cinema tracks each with a set of user selected values.
Each track is defined as in 'format'. Order of track values:
Example: Format as defined in pqCinemaConfiguration format = "'%1' : 2%" returns -> 'name1' : [a, b, c], 'name2' : [d, e, f], ... (for N tracks)
QString pqCinemaTrackSelection::getArraySelectionAsString | ( | QString const & | format | ) |
Returns a string containing a comma separated set of cinema tracks each with a set of user selected arrays.
Each track is defined as in 'format'. Order of track array names:
void pqCinemaTrackSelection::initializePipelineBrowser | ( | ) |
Creates a PipelineModel which gets populated using the current ServerManagerModel and passes it to the View object.