User Tools

Site Tools


DzViewTool

Base class for all tools that function in concert with a 3D viewport.

More...

Inherits :

Inherited By : DzPickTool and polygonselectiontool_dz

Methods

Signals

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

Detailed Description

A DzViewTool is a tool that functions in concert with a 3D viewport. View tools are registered with the DzViewportMgr singleton and can be accessed/modified via script.

Methods


DzActionMenu : getOptionsMenu()

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

Return Value:

  • The option menu for the tool.

Signals


void : activated()

Signature:“activated()”

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


void : deactivated()

Signature:“deactivated()”

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


void : drawnDataChanged()

Signature:“drawnDataChanged()”

Emitted when the view tool needs to be redrawn in the viewport.


void : rebuildMenu()

Signature:“rebuildMenu()”

Emitted when the option menu for the “Tool Settings” pane should be rebuilt to reflect options for the active tool.