ParaView
Public Slots | Public Member Functions | Protected Member Functions | List of all members
pqImplicitPlaneWidget Class Reference

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

#include <pqImplicitPlaneWidget.h>

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

Public Slots

virtual void resetBounds ()
 Resets the bounds of the 3D widget to the reference proxy bounds. More...
 
virtual void resetBounds (double bounds[6])
 
void accept ()
 accept the changes More...
 
void reset ()
 reset the changes More...
 
virtual void select ()
 Overridden to update widget placement based on data bounds. More...
 
- Public Slots inherited from pq3DWidget
void setWidgetVisible (bool)
 Sets 3D widget visibility. More...
 
void showWidget ()
 Makes the 3D widget visible. More...
 
void hideWidget ()
 Hides the 3D widget. More...
 
virtual void select ()
 Activates the widget. More...
 
virtual void deselect ()
 Deactivates the widget. More...
 
virtual void accept ()
 Accepts pending changes. More...
 
virtual void reset ()
 Resets pending changes. More...
 
virtual void setView (pqView *)
 Set the view that this panel works with. More...
 
virtual void resetBounds ()
 Resets the bounds of the 3D widget to the reference proxy bounds. More...
 
virtual void setUseSelectionDataBounds (bool use)
 When set to true, instead of using the referenceProxy to obtain the default bounds to reset to, it will use the bounds for the selected sources as indicated by pqApplicationCore::getSelectionModel()->getSelectionDataBounds(). More...
 
bool useSelectionDataBounds ()
 
- Public Slots inherited from pqProxyPanel
virtual void accept ()
 accept the changes made to the properties changes will be propogated down to the server manager subclasses should only change properties when accept is called to work properly with undo/redo More...
 
virtual void reset ()
 reset the changes made editor will query properties from the server manager More...
 
virtual void select ()
 Called when the panel becomes active. More...
 
virtual void deselect ()
 Called when the panel becomes inactive. More...
 
virtual void setView (pqView *)
 Set the view that this panel works with. More...
 
virtual void setModified ()
 Fires modified. More...
 

Public Member Functions

 pqImplicitPlaneWidget (vtkSMProxy *refProxy, vtkSMProxy *proxy, QWidget *p=0)
 
 ~pqImplicitPlaneWidget ()
 
- Public Member Functions inherited from pq3DWidget
 pq3DWidget (vtkSMProxy *referenceProxy, vtkSMProxy *proxy, QWidget *parent=0)
 
virtual ~pq3DWidget ()
 
vtkSMProxygetControlledProxy () const
 Controlled proxy is a proxy which is controlled by the 3D widget. More...
 
vtkSMProxygetReferenceProxy () const
 
void setHints (vtkPVXMLElement *element)
 Set the hints XML to be using to map the 3D widget to the controlled proxy. More...
 
vtkPVXMLElementgetHints () const
 
vtkSMNewWidgetRepresentationProxygetWidgetProxy () const
 Return the 3D Widget proxy. More...
 
bool widgetVisible () const
 Returns true if 3D widget visibility is enabled. More...
 
bool widgetSelected () const
 Returns true if 3D widget is selected. More...
 
pqRenderViewBaserenderView () const
 Returns the current render view. More...
 
virtual void resetBounds (double bounds[6])=0
 Reset the bounds to the specified bounds. More...
 
- Public Member Functions inherited from pqProxyPanel
 pqProxyPanel (vtkSMProxy *proxy, QWidget *p)
 constructor More...
 
 ~pqProxyPanel ()
 destructor More...
 
vtkSMProxyproxy () const
 get the proxy for which properties are displayed More...
 
pqViewview () const
 get the view that this object panel works with. More...
 
QSize sizeHint () const
 size hint for this widget More...
 
pqPropertyManagerpropertyManager ()
 property manager belongs to this panel More...
 
bool selected () const
 returns whether selected More...
 

Protected Member Functions

virtual void showPlane ()
 Makes the 3D widget plane visible (respects the overall visibility flag) More...
 
virtual void hidePlane ()
 Hides the 3D widget plane. More...
 
virtual void setControlledProperty (const char *function, vtkSMProperty *controlled_property)
 Subclasses can override this method to map properties to GUI. More...
 
virtual void pick (double, double, double)
 Called on pick. More...
 
void createWidget (pqServer *)
 Internal method to create the widget. More...
 
- Protected Member Functions inherited from pq3DWidget
virtual void updateMasterEnableState (bool)
 Called when master/slave change. More...
 
void handleReferenceProxyUserEvent (vtkObject *, unsigned long, void *)
 Handle custom user notification to show/hide corresponding widget. More...
 
bool pickOnMeshPoint () const
 
void pickingSupported (const QKeySequence &key)
 Subclasses should call this method if they support picking. More...
 
void setControlledProperty (vtkSMProperty *widget_property, vtkSMProperty *controlled_property)
 
void setWidgetProxy (vtkSMNewWidgetRepresentationProxy *)
 
virtual void onControlledPropertyChanged ()
 Called when one of the controlled properties change (e.g: by undo/redo) More...
 
int getReferenceInputBounds (double bounds[6]) const
 Used to get the input bounds on for the reference proxy, if any. More...
 
virtual void updateWidgetVisibility ()
 Update the widget visibility according to the WidgetVisible and Selected flags. More...
 
virtual void updateWidgetState (bool visible, bool enable)
 Update the widget visibility and enable state. More...
 
virtual void updatePickShortcut ()
 updates the enable state of the picking shortcut. More...
 
virtual void updatePickShortcut (bool pickable)
 
- Protected Member Functions inherited from pqProxyPanel
bool event (QEvent *e)
 

Additional Inherited Members

- Signals inherited from pq3DWidget
void widgetVisibilityChanged (bool)
 Notifies observers that widget visibility has changed. More...
 
void widgetStartInteraction ()
 Notifies observers that the user is dragging the 3D widget. More...
 
void widgetEndInteraction ()
 Notifies observers that the user is done dragging the 3D widget. More...
 
void widgetInteraction ()
 Notifies observers that the user is dragging the 3D widget. More...
 
- Signals inherited from pqProxyPanel
void modified ()
 
void onaccept ()
 
void onreset ()
 
void onselect ()
 
void ondeselect ()
 
void viewChanged (pqView *)
 
- Static Public Member Functions inherited from pq3DWidget
static QList< pq3DWidget * > createWidgets (vtkSMProxy *refProxy, vtkSMProxy *proxy)
 
- Protected Slots inherited from pq3DWidget
void render ()
 Called to request a render. More...
 
void setPickOnMeshPoint (bool)
 
void pickPoint ()
 triggers a pick action using the current location of the mouse. More...
 
- Protected Slots inherited from pqProxyPanel
virtual void updateInformationAndDomains ()
 This method gets called to referesh all domains and information properties. More...
 
void dataUpdated ()
 Called after the algorithm executes. More...
 

Detailed Description

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

Definition at line 48 of file pqImplicitPlaneWidget.h.

Constructor & Destructor Documentation

§ pqImplicitPlaneWidget()

pqImplicitPlaneWidget::pqImplicitPlaneWidget ( vtkSMProxy refProxy,
vtkSMProxy proxy,
QWidget *  p = 0 
)

§ ~pqImplicitPlaneWidget()

pqImplicitPlaneWidget::~pqImplicitPlaneWidget ( )

Member Function Documentation

§ resetBounds [1/2]

virtual void pqImplicitPlaneWidget::resetBounds ( )
inlinevirtualslot

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

Definition at line 62 of file pqImplicitPlaneWidget.h.

§ resetBounds [2/2]

virtual void pqImplicitPlaneWidget::resetBounds ( double  bounds[6])
virtualslot

§ accept

void pqImplicitPlaneWidget::accept ( )
slot

accept the changes

§ reset

void pqImplicitPlaneWidget::reset ( )
slot

reset the changes

§ select

virtual void pqImplicitPlaneWidget::select ( )
virtualslot

Overridden to update widget placement based on data bounds.

§ showPlane()

virtual void pqImplicitPlaneWidget::showPlane ( )
protectedvirtual

Makes the 3D widget plane visible (respects the overall visibility flag)

§ hidePlane()

virtual void pqImplicitPlaneWidget::hidePlane ( )
protectedvirtual

Hides the 3D widget plane.

§ setControlledProperty()

virtual void pqImplicitPlaneWidget::setControlledProperty ( const char *  function,
vtkSMProperty controlled_property 
)
protectedvirtual

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.

§ pick()

virtual void pqImplicitPlaneWidget::pick ( double  ,
double  ,
double   
)
protectedvirtual

Called on pick.

Reimplemented from pq3DWidget.

§ createWidget()

void pqImplicitPlaneWidget::createWidget ( pqServer )
protected

Internal method to create the widget.


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