|
ParaView
|
GUI for ContourWidgetRepresentation. This is a 3D widget that edits a Contour. More...
#include <pqContourWidget.h>


Public Slots | |
| void | removeAllNodes () |
| void | checkContourLoopClosed () |
| void | closeLoop (bool) |
| Close the contour loop. | |
| void | updateMode () |
| Move to the next mode ( Drawing, Editing, Done ) | |
| void | toggleEditMode () |
| Toggle the edit mode, which will switch between Edit/Modify mode. | |
| void | finishContour () |
| Finish editing the contour. | |
| virtual void | reset () |
| Resets pending changes. | |
Signals | |
| void | contourLoopClosed () |
| Signal emitted when the representation proxy's "ClosedLoop" property is modified. | |
| void | contourDone () |
Public Member Functions | |
| pqContourWidget (vtkSMProxy *refProxy, vtkSMProxy *proxy, QWidget *parent) | |
| virtual | ~pqContourWidget () |
| 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. | |
| virtual void | setPointPlacer (vtkSMProxy *) |
| virtual void | setLineInterpolator (vtkSMProxy *) |
| virtual void | select () |
| Activates the widget. Respects the visibility flag. | |
| virtual void | deselect () |
| Deactivates the widget. | |
| virtual void | setLineColor (const QColor &color) |
| Set the line color. | |
Protected Slots | |
| void | deleteAllNodes () |
Protected Member Functions | |
| virtual void | createWidget (pqServer *) |
| Internal method to create the widget. | |
| virtual void | updateWidgetVisibility () |
| Update the widget visibility according to the WidgetVisible and Selected flags. | |
| void | cleanupWidget () |
| Internal method to cleanup widget. | |
GUI for ContourWidgetRepresentation. This is a 3D widget that edits a Contour.
Definition at line 42 of file pqContourWidget.h.
| pqContourWidget::pqContourWidget | ( | vtkSMProxy * | refProxy, |
| vtkSMProxy * | proxy, | ||
| QWidget * | parent | ||
| ) |
| virtual pqContourWidget::~pqContourWidget | ( | ) | [virtual] |
| virtual void pqContourWidget::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 56 of file pqContourWidget.h.
| virtual void pqContourWidget::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 57 of file pqContourWidget.h.
| virtual void pqContourWidget::setPointPlacer | ( | vtkSMProxy * | ) | [virtual] |
| virtual void pqContourWidget::setLineInterpolator | ( | vtkSMProxy * | ) | [virtual] |
| virtual void pqContourWidget::select | ( | ) | [virtual] |
Activates the widget. Respects the visibility flag.
Reimplemented from pq3DWidget.
| virtual void pqContourWidget::deselect | ( | ) | [virtual] |
Deactivates the widget.
Reimplemented from pq3DWidget.
| virtual void pqContourWidget::setLineColor | ( | const QColor & | color | ) | [virtual] |
Set the line color.
| void pqContourWidget::contourLoopClosed | ( | ) | [signal] |
Signal emitted when the representation proxy's "ClosedLoop" property is modified.
| void pqContourWidget::contourDone | ( | ) | [signal] |
| void pqContourWidget::removeAllNodes | ( | ) | [slot] |
| void pqContourWidget::checkContourLoopClosed | ( | ) | [slot] |
| void pqContourWidget::closeLoop | ( | bool | ) | [slot] |
Close the contour loop.
| void pqContourWidget::updateMode | ( | ) | [slot] |
Move to the next mode ( Drawing, Editing, Done )
| void pqContourWidget::toggleEditMode | ( | ) | [slot] |
Toggle the edit mode, which will switch between Edit/Modify mode.
| void pqContourWidget::finishContour | ( | ) | [slot] |
Finish editing the contour.
| virtual void pqContourWidget::reset | ( | ) | [virtual, slot] |
Resets pending changes.
Default implementation pushes the property values of the controlled widget to the 3D widget properties. The correspondence is determined from the <Hints> associated with the controlled proxy.
Reimplemented from pq3DWidget.
| virtual void pqContourWidget::createWidget | ( | pqServer * | ) | [protected, virtual] |
Internal method to create the widget.
| virtual void pqContourWidget::updateWidgetVisibility | ( | ) | [protected, virtual] |
Update the widget visibility according to the WidgetVisible and Selected flags.
Reimplemented from pq3DWidget.
| void pqContourWidget::cleanupWidget | ( | ) | [protected] |
Internal method to cleanup widget.
| void pqContourWidget::deleteAllNodes | ( | ) | [protected, slot] |
1.7.5.1