ParaView
Public Member Functions | Protected Slots | Protected Member Functions
pqSplineWidget Class Reference

GUI for SplineWidgetRepresentation. This is a 3D widget that edits a spline. More...

#include <pqSplineWidget.h>

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

List of all members.

Public Member Functions

 pqSplineWidget (vtkSMProxy *refProxy, vtkSMProxy *proxy, QWidget *parent)
virtual ~pqSplineWidget ()
virtual void resetBounds (double[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.
void setLineColor (const QColor &color)

Protected Slots

void addPoint ()
void removePoints ()

Protected Member Functions

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

Detailed Description

GUI for SplineWidgetRepresentation. This is a 3D widget that edits a spline.

Definition at line 41 of file pqSplineWidget.h.


Constructor & Destructor Documentation

pqSplineWidget::pqSplineWidget ( vtkSMProxy refProxy,
vtkSMProxy proxy,
QWidget *  parent 
)
virtual pqSplineWidget::~pqSplineWidget ( ) [virtual]

Member Function Documentation

virtual void pqSplineWidget::resetBounds ( double  [6]) [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.

Implements pq3DWidget.

Definition at line 55 of file pqSplineWidget.h.

virtual void pqSplineWidget::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 56 of file pqSplineWidget.h.

void pqSplineWidget::setLineColor ( const QColor &  color)
void pqSplineWidget::addPoint ( ) [protected, slot]
void pqSplineWidget::removePoints ( ) [protected, slot]
void pqSplineWidget::createWidget ( pqServer ) [protected]

Internal method to create the widget.

void pqSplineWidget::cleanupWidget ( ) [protected]

Internal method to cleanup widget.


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