ParaView
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
pqComparativeContextView Class Reference

The abstract base class for comparative chart views. More...

#include <pqComparativeContextView.h>

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

List of all members.

Public Member Functions

virtual ~pqComparativeContextView ()
virtual QWidget * getWidget ()
 Return a widget associated with this view.
virtual vtkContextViewgetVTKChartView () const
vtkSMComparativeViewProxygetComparativeViewProxy () const
virtual vtkSMViewProxygetViewProxy () const
 Returns the proxy of the root plot view in the comparative view.
virtual void setDefaultPropertyValues ()
 Sets default values for the underlying proxy.

Protected Slots

void onComparativeVisLayoutChanged ()
 Called when the layout on the comparative vis changes.

Protected Member Functions

virtual void initialize ()
 On creation of the view, we need to layout the initial plots.
 pqComparativeContextView (const QString &type, const QString &group, const QString &name, vtkSMComparativeViewProxy *view, pqServer *server, QObject *parent=NULL)
 Constructor: type :- view type.

Protected Attributes

QPointer< QWidget > Widget

Detailed Description

The abstract base class for comparative chart views.

It handles the layout of the individual chart views in the comparative view.

Definition at line 42 of file pqComparativeContextView.h.


Constructor & Destructor Documentation

virtual pqComparativeContextView::~pqComparativeContextView ( ) [virtual]
pqComparativeContextView::pqComparativeContextView ( const QString &  type,
const QString &  group,
const QString &  name,
vtkSMComparativeViewProxy view,
pqServer server,
QObject *  parent = NULL 
) [protected]

Constructor: type :- view type.

group :- SManager registration group. name :- SManager registration name. view :- View proxy. server:- server on which the proxy is created. parent:- QObject parent.


Member Function Documentation

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

Return a widget associated with this view.

Reimplemented from pqContextView.

virtual vtkContextView* pqComparativeContextView::getVTKChartView ( ) const [virtual]
Returns:
the internal vtkContextView which provides the implementation for the chart rendering.
vtkSMComparativeViewProxy* pqComparativeContextView::getComparativeViewProxy ( ) const
Returns:
the comparative view proxy.
virtual vtkSMViewProxy* pqComparativeContextView::getViewProxy ( ) const [virtual]

Returns the proxy of the root plot view in the comparative view.

Reimplemented from pqView.

virtual void pqComparativeContextView::setDefaultPropertyValues ( ) [virtual]

Sets default values for the underlying proxy.

This is during the initialization stage of the pqProxy for proxies created by the GUI itself i.e. for proxies loaded through state or created by python client this method won't be called.

Reimplemented from pqProxy.

void pqComparativeContextView::onComparativeVisLayoutChanged ( ) [protected, slot]

Called when the layout on the comparative vis changes.

virtual void pqComparativeContextView::initialize ( ) [protected, virtual]

On creation of the view, we need to layout the initial plots.

Reimplemented from pqContextView.


Member Data Documentation

QPointer<QWidget> pqComparativeContextView::Widget [protected]

Definition at line 93 of file pqComparativeContextView.h.


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