Public Slots | Signals | Public Member Functions | Properties | List of all members
pqDisplayRepresentationWidget Class Reference

A widget for representation type for a vtkSMRepresentationProxy. More...

#include <pqDisplayRepresentationWidget.h>

Inherits QWidget.

Public Slots

void setRepresentation (pqDataRepresentation *display)
 set the representation proxy or pqDataRepresentation instance. More...
 
void setRepresentation (vtkSMProxy *proxy)
 
void setRepresentationText (const QString &)
 set representation type. More...
 

Signals

void representationTextChanged (const QString &)
 

Public Member Functions

 pqDisplayRepresentationWidget (QWidget *parent=nullptr)
 
 ~pqDisplayRepresentationWidget () override
 
QString representationText () const
 Returns the selected representation as a string. More...
 
vtkSMViewProxyviewProxy () const
 Returns the view proxy corresponding to the set representation, if any. More...
 

Properties

QString representationText
 

Detailed Description

A widget for representation type for a vtkSMRepresentationProxy.

It works with a vtkSMRepresentationProxy, calling vtkSMRepresentationProxy::SetRepresentationType() to change the representation type to the one chosen by the user.

Definition at line 21 of file pqDisplayRepresentationWidget.h.

Constructor & Destructor Documentation

◆ pqDisplayRepresentationWidget()

pqDisplayRepresentationWidget::pqDisplayRepresentationWidget ( QWidget *  parent = nullptr)

◆ ~pqDisplayRepresentationWidget()

pqDisplayRepresentationWidget::~pqDisplayRepresentationWidget ( )
override

Member Function Documentation

◆ representationText()

QString pqDisplayRepresentationWidget::representationText ( ) const

Returns the selected representation as a string.

◆ viewProxy()

vtkSMViewProxy* pqDisplayRepresentationWidget::viewProxy ( ) const

Returns the view proxy corresponding to the set representation, if any.

◆ setRepresentation [1/2]

void pqDisplayRepresentationWidget::setRepresentation ( pqDataRepresentation display)
slot

set the representation proxy or pqDataRepresentation instance.

◆ setRepresentation [2/2]

void pqDisplayRepresentationWidget::setRepresentation ( vtkSMProxy proxy)
slot

◆ setRepresentationText

void pqDisplayRepresentationWidget::setRepresentationText ( const QString &  )
slot

set representation type.

◆ representationTextChanged

void pqDisplayRepresentationWidget::representationTextChanged ( const QString &  )
signal

Property Documentation

◆ representationText

QString pqDisplayRepresentationWidget::representationText
readwrite

Definition at line 23 of file pqDisplayRepresentationWidget.h.


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