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

Provides a complete Qt UI for working with a 3D line widget. More...

#include <pqLineWidget.h>

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

List of all members.

Public Slots

void onXAxis ()
void onYAxis ()
void onZAxis ()

Public Member Functions

 pqLineWidget (vtkSMProxy *o, vtkSMProxy *pxy, QWidget *p=0, const char *xmlname="LineWidgetRepresentation")
 ~pqLineWidget ()
virtual void resetBounds ()
 Resets the bounds of the 3D widget to the reference proxy bounds.
virtual void resetBounds (double bounds[6])
 Reset the bounds to the specified bounds.
void setControlledProperties (vtkSMProperty *point1, vtkSMProperty *point2)
void setLineColor (const QColor &color)

Protected Member Functions

virtual void setControlledProperty (const char *function, vtkSMProperty *controlled_property)
 Subclasses can override this method to map properties to GUI.
virtual void pick (double, double, double)
 Called on pick.

Detailed Description

Provides a complete Qt UI for working with a 3D line widget.

Definition at line 43 of file pqLineWidget.h.


Constructor & Destructor Documentation

pqLineWidget::pqLineWidget ( vtkSMProxy o,
vtkSMProxy pxy,
QWidget *  p = 0,
const char *  xmlname = "LineWidgetRepresentation" 
)
pqLineWidget::~pqLineWidget ( )

Member Function Documentation

virtual void pqLineWidget::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.

Reimplemented from pq3DWidget.

Definition at line 60 of file pqLineWidget.h.

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

Reset the bounds to the specified bounds.

This typically calls PlaceWidget on the underlying 3D Widget with reference proxy bounds.

Implements pq3DWidget.

void pqLineWidget::setControlledProperties ( vtkSMProperty point1,
vtkSMProperty point2 
)
void pqLineWidget::setLineColor ( const QColor &  color)
void pqLineWidget::onXAxis ( ) [slot]
void pqLineWidget::onYAxis ( ) [slot]
void pqLineWidget::onZAxis ( ) [slot]
virtual void pqLineWidget::setControlledProperty ( const char *  function,
vtkSMProperty controlled_property 
) [protected, virtual]

Subclasses can override this method to map properties to GUI.

Default implementation updates the internal datastructures so that default implementations can be provided for accept/reset.

Reimplemented from pq3DWidget.

Reimplemented in pqLineSourceWidget.

virtual void pqLineWidget::pick ( double  ,
double  ,
double   
) [protected, virtual]

Called on pick.

Reimplemented from pq3DWidget.


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