User Tools

Site Tools


DzViewTool

Base class for all tools that function in the 3D viewports.

More...

Inherits :

Inherited By : picktool_dz

Methods

Signals

voidactivated ()
voiddeactivated ()
voiddrawnDataChanged ()
voidrebuildMenu ()

Detailed Description

View Tools are registered with the DzViewportMgr singleton and are available to access and modifiy via DAZScript.

Methods


DzActionMenu : getOptionsMenu()

Derived classes can return a popup menu that will be displayed when the user selects the options menu for the Tool pane.

Return Value:

Signals


void : activated()

Signature:“activated()”

Emitted when the viewtool becomes the active tool in the viewport.


void : deactivated()

Signature:“deactivated()”

Emitted when the viewtool stops being the active tool in the viewport.


void : drawnDataChanged()

Signature:“drawnDataChanged()”

Emitted when the viewtool needs to be redrawn in the viewport.


void : rebuildMenu()

TODO: Add description.