Jump to content

WidgetManipulator Axes Restriction


photo

Recommended Posts

Proposal

 

Addition of selective WidgetManipulator... per-axis visualiser enabling/disabling e.g.

 

WidgetManipulator::setAxis( [AXIS_X]|[AXIS_Y]|[AXIS_Z]|[AXIS_ALL] )

 

to restrict user transformation interactions to one/certain axes (e.g. only allow object translation in X-Y-plane or tree rotation around Z-axis)

Link to comment

Done.

 

WIDGET_MANIPULATOR_MASK_X

WIDGET_MANIPULATOR_MASK_Y

WIDGET_MANIPULATOR_MASK_Z

WIDGET_MANIPULATOR_MASK_XYZ

 

void WidgetManipulator::setMask(int mask);

int WidgetManipulator::getMask();

Link to comment
×
×
  • Create New...