ParaView
Public Types | Public Slots | Public Member Functions | List of all members
pqCinemaTrackSelection Class Reference

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 *, ItemValuesItemValuesMap
 

Public Slots

void enableArraySelection (bool enable)
 

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...
 

Detailed Description

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 61 of file pqCinemaTrackSelection.h.

Member Typedef Documentation

◆ ItemValues

typedef std::pair<pqArraySelectionModel*, pqCinemaTrack*> pqCinemaTrackSelection::ItemValues

Definition at line 63 of file pqCinemaTrackSelection.h.

◆ ItemValuesMap

Definition at line 67 of file pqCinemaTrackSelection.h.

Constructor & Destructor Documentation

◆ pqCinemaTrackSelection()

pqCinemaTrackSelection::pqCinemaTrackSelection ( QWidget *  parent_ = NULL)

◆ ~pqCinemaTrackSelection()

pqCinemaTrackSelection::~pqCinemaTrackSelection ( )

Member Function Documentation

◆ getTracks()

QList<pqCinemaTrack*> pqCinemaTrackSelection::getTracks ( )

◆ getTrackSelectionAsString()

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:

  1. Track Name
  2. Value tuple

Example: Format as defined in pqCinemaConfiguration format = "'%1' : 2%" returns -> 'name1' : [a, b, c], 'name2' : [d, e, f], ... (for N tracks)

◆ getArraySelectionAsString()

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:

  1. Track Name
  2. Array names tuple Example: Format as defined in pqCinemaConfiguration format = "'%1' : %2" returns -> 'nameTrack1' : ['array1', 'array2', ...], 'nameTrack1' : ['array1', ...], ...

◆ initializePipelineBrowser()

void pqCinemaTrackSelection::initializePipelineBrowser ( )

Creates a PipelineModel which gets populated using the current ServerManagerModel and passes it to the View object.

◆ enableArraySelection

void pqCinemaTrackSelection::enableArraySelection ( bool  enable)
slot

The documentation for this class was generated from the following file: