ParaView
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Slots
pqSpreadSheetView Class Reference

View for spread-sheet view. More...

#include <pqSpreadSheetView.h>

Inheritance diagram for pqSpreadSheetView:
Inheritance graph
[legend]
Collaboration diagram for pqSpreadSheetView:
Collaboration graph
[legend]

List of all members.

Public Slots

void onAddRepresentation (pqRepresentation *)
 Called when a new repr is added.

Signals

void showing (pqDataRepresentation *repr)
 Fired when the currently shown representation changes.

Public Member Functions

 pqSpreadSheetView (const QString &group, const QString &name, vtkSMViewProxy *viewModule, pqServer *server, QObject *parent=NULL)
virtual ~pqSpreadSheetView ()
virtual QWidget * getWidget ()
 Return a widget associated with this view.
virtual bool saveImage (int, int, const QString &)
 This view does not support saving to image.
virtual vtkImageDatacaptureImage (int)
 This view does not support image capture, return 0;.
virtual vtkImageDatacaptureImage (const QSize &asize)
virtual bool canDisplay (pqOutputPort *opPort) const
 Currently, this view can show only Extraction filters.
pqSpreadSheetViewModelgetViewModel ()
 Get the internal model for the view.

Static Public Member Functions

static QString spreadsheetViewType ()
static QString spreadsheetViewTypeName ()

Protected Slots

void updateRepresentationVisibility (pqRepresentation *repr, bool visible)
 Called to ensure that at most 1 repr is visible at a time.
void onBeginRender ()
 Called at start of every render.
void onEndRender ()
 Called at end of every render. We update the table view.
void onCreateSelection (vtkSMSourceProxy *selSource)
 When user creates a "surface" selection on the view.
void onSelectionOnly ()
 Called when checkbox "Show Only Selected Elements" is updated.

Detailed Description

View for spread-sheet view.

It can show data from any source/filter on the client. Uses pqSpreadSheetViewModel, pqSpreadSheetViewWidget and pqSpreadSheetViewSelectionModel.

Definition at line 44 of file pqSpreadSheetView.h.


Constructor & Destructor Documentation

pqSpreadSheetView::pqSpreadSheetView ( const QString &  group,
const QString &  name,
vtkSMViewProxy viewModule,
pqServer server,
QObject *  parent = NULL 
)
virtual pqSpreadSheetView::~pqSpreadSheetView ( ) [virtual]

Member Function Documentation

static QString pqSpreadSheetView::spreadsheetViewType ( ) [inline, static]

Definition at line 49 of file pqSpreadSheetView.h.

static QString pqSpreadSheetView::spreadsheetViewTypeName ( ) [inline, static]

Definition at line 50 of file pqSpreadSheetView.h.

virtual QWidget* pqSpreadSheetView::getWidget ( ) [virtual]

Return a widget associated with this view.

This view has no widget.

Implements pqView.

virtual bool pqSpreadSheetView::saveImage ( int  ,
int  ,
const QString &   
) [inline, virtual]

This view does not support saving to image.

Implements pqView.

Definition at line 63 of file pqSpreadSheetView.h.

virtual vtkImageData* pqSpreadSheetView::captureImage ( int  ) [inline, virtual]

This view does not support image capture, return 0;.

Implements pqView.

Definition at line 68 of file pqSpreadSheetView.h.

virtual vtkImageData* pqSpreadSheetView::captureImage ( const QSize &  asize) [inline, virtual]

Reimplemented from pqView.

Definition at line 70 of file pqSpreadSheetView.h.

virtual bool pqSpreadSheetView::canDisplay ( pqOutputPort opPort) const [virtual]

Currently, this view can show only Extraction filters.

Reimplemented from pqView.

pqSpreadSheetViewModel* pqSpreadSheetView::getViewModel ( )

Get the internal model for the view.

void pqSpreadSheetView::showing ( pqDataRepresentation repr) [signal]

Fired when the currently shown representation changes.

repr may be NULL.

void pqSpreadSheetView::onAddRepresentation ( pqRepresentation ) [slot]

Called when a new repr is added.

void pqSpreadSheetView::updateRepresentationVisibility ( pqRepresentation repr,
bool  visible 
) [protected, slot]

Called to ensure that at most 1 repr is visible at a time.

void pqSpreadSheetView::onBeginRender ( ) [protected, slot]

Called at start of every render.

If in "selection-only" mode, and showing composite dataset, we want to make sure that we are shown a block with non-empty cells/points (if possible).

void pqSpreadSheetView::onEndRender ( ) [protected, slot]

Called at end of every render. We update the table view.

void pqSpreadSheetView::onCreateSelection ( vtkSMSourceProxy selSource) [protected, slot]

When user creates a "surface" selection on the view.

void pqSpreadSheetView::onSelectionOnly ( ) [protected, slot]

Called when checkbox "Show Only Selected Elements" is updated.


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