ParaView
Signals | Public Member Functions | List of all members
pqExportViewSelection Class Reference

Widget to select views to be included in a coprocessing script. More...

#include <pqExportViewSelection.h>

Inherits QWidget.

Signals

void arraySelectionEnabledChanged (bool enabled)
 

Public Member Functions

 pqExportViewSelection (QWidget *parent_=NULL)
 
 ~pqExportViewSelection ()
 
void populateViews (QList< pqRenderViewBase *> const &renderViews, QList< pqContextView *> const &contextViews)
 
void setCinemaVisible (bool status)
 Hides/shows cinema options. More...
 
void setCatalystOptionsVisible (bool status)
 Hides/shows catalyst specific entries. More...
 
QList< pqImageOutputInfo * > getImageOutputInfos ()
 
QString getSelectionAsString (QString const &scriptFromat)
 Returns a string containing a comma separated set of views with each view defined as in 'format'. More...
 

Detailed Description

Widget to select views to be included in a coprocessing script.

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 54 of file pqExportViewSelection.h.

Constructor & Destructor Documentation

§ pqExportViewSelection()

pqExportViewSelection::pqExportViewSelection ( QWidget *  parent_ = NULL)

§ ~pqExportViewSelection()

pqExportViewSelection::~pqExportViewSelection ( )

Member Function Documentation

§ populateViews()

void pqExportViewSelection::populateViews ( QList< pqRenderViewBase *> const &  renderViews,
QList< pqContextView *> const &  contextViews 
)

§ setCinemaVisible()

void pqExportViewSelection::setCinemaVisible ( bool  status)

Hides/shows cinema options.

§ setCatalystOptionsVisible()

void pqExportViewSelection::setCatalystOptionsVisible ( bool  status)

Hides/shows catalyst specific entries.

§ getImageOutputInfos()

QList<pqImageOutputInfo*> pqExportViewSelection::getImageOutputInfos ( )

§ getSelectionAsString()

QString pqExportViewSelection::getSelectionAsString ( QString const &  scriptFromat)

Returns a string containing a comma separated set of views with each view defined as in 'format'.

Order of view values:

  1. View name
  2. Image file name
  3. Frequency
  4. Fit to screen
  5. Magnification
  6. Image width
  7. Image height
  8. Cinema specific options (dictionary; phi, theta, composite, etc..)

Example: Format as defined in pqCinemaConfiguration format = "'%1' : ['%2', %3, %4, %5, %6, %7, %8]" returns -> 'ViewName1' : ['Imname', 1, 1, 1, 1, 1, {'composite': True ...}], 'ViewName2' : [...], ... (for N views)

§ arraySelectionEnabledChanged

void pqExportViewSelection::arraySelectionEnabledChanged ( bool  enabled)
signal

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