ParaView
Public Member Functions | Protected Member Functions
pqBoxWidget Class Reference

Provides UI for Box Widget. More...

#include <pqBoxWidget.h>

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

List of all members.

Public Member Functions

 pqBoxWidget (vtkSMProxy *refProxy, vtkSMProxy *proxy, QWidget *p=0)
virtual ~pqBoxWidget ()
virtual void resetBounds (double bounds[6])
 Resets the bounds of the 3D widget to the reference proxy bounds.
virtual void resetBounds ()
 Resets the bounds of the 3D widget to the reference proxy bounds.
virtual void accept ()
 accept the changes. Overridden to hide handles.
virtual void reset ()
 reset the changes. Overridden to hide handles.
virtual void select ()
 Overridden to update widget placement based on data bounds.

Protected Member Functions

void createWidget (pqServer *)
 Internal method to create the widget.
void cleanupWidget ()
 Internal method to cleanup widget.

Detailed Description

Provides UI for Box Widget.

Definition at line 40 of file pqBoxWidget.h.


Constructor & Destructor Documentation

pqBoxWidget::pqBoxWidget ( vtkSMProxy refProxy,
vtkSMProxy proxy,
QWidget *  p = 0 
)
virtual pqBoxWidget::~pqBoxWidget ( ) [virtual]

Member Function Documentation

virtual void pqBoxWidget::resetBounds ( double  bounds[6]) [virtual]

Resets the bounds of the 3D widget to the reference proxy bounds.

This typically calls PlaceWidget on the underlying 3D Widget with reference proxy bounds. This should be explicitly called after the panel is created and the widget is initialized i.e. the reference proxy, controlled proxy and hints have been set.

Implements pq3DWidget.

virtual void pqBoxWidget::resetBounds ( ) [inline, virtual]

Resets the bounds of the 3D widget to the reference proxy bounds.

This typically calls PlaceWidget on the underlying 3D Widget with reference proxy bounds. This should be explicitly called after the panel is created and the widget is initialized i.e. the reference proxy, controlled proxy and hints have been set. Default implementation uses the getReferenceInputBounds() to get the bounds and then calls resetBounds(double bounds[]). Subclasses generally need to override this resetBounds(double*) method.

Reimplemented from pq3DWidget.

Definition at line 55 of file pqBoxWidget.h.

virtual void pqBoxWidget::accept ( ) [virtual]

accept the changes. Overridden to hide handles.

Reimplemented from pq3DWidget.

virtual void pqBoxWidget::reset ( ) [virtual]

reset the changes. Overridden to hide handles.

Reimplemented from pq3DWidget.

virtual void pqBoxWidget::select ( ) [virtual]

Overridden to update widget placement based on data bounds.

Reimplemented from pq3DWidget.

void pqBoxWidget::createWidget ( pqServer ) [protected]

Internal method to create the widget.

void pqBoxWidget::cleanupWidget ( ) [protected]

Internal method to cleanup widget.


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