MoveManipulator.MoveManipulator Class Reference

#include <class_move_manipulator_1_1_move_manipulator.h>

Inheritance diagram for MoveManipulator.MoveManipulator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  setMode ()
  Override this method in the derived class to enable setting modes.
  isInMode ()
  TogglePivotMode ()
  TogglePivotLocation ()
  ExitPivotMode ()
  enable ()
  Enables/disables this manipulator.
  initialize ()
  Creates and configures the handles of this manipulator given the geometry root.
  refresh ()
  Moves the manipulator to the center of the targets, and scales it based on the distance from the eye to the manipulator center.
  needsRefresh ()
  Returns True if the manipulator is enabled, its geometry has loaded, the display has been set, and the targets or the view has changed; False otherwise.
  handleEvent ()
  Override this in the derived class to perform operations such as redrawing per frame.
  doResize ()
  The policy of resizing manipulators are diffrent in each subclass.
  MoveManipulatorStart ()
  MoveManipulatorStop ()
  MoveManipulatorUpdate ()
  MoveManipulatorRollOver ()
  MoveManipulatorRollOff ()
  MoveManipulatorSnapStart ()
  MoveManipulatorSnapStop ()
  MoveManipulatorBottom ()
  DOCUMENT_LOADED ()
  MANIPULATOR_MODE_CHANGED ()
  If the mode changes, make sure that the right hotkyes are available.
  MANIPULATOR_MOVE_WORLDSPACE ()
  SELECTION_CHANGED ()
  LOCATOR_SELECTION_CHANGED ()
  APPLICATION_CLOSE_SCENE ()
  ROTATE_WORLDSPACE_DONE ()
  TRANSLATE_WORLDSPACE ()
  If this messages came from outside of manipulator (we are not dragging), then we need to record the deltas for the pivot since it is being moved relative to the transform movement.
  LOCATOR_TRANSLATE_WORLDSPACE ()
  If this messages came from outside of manipulator (we are not dragging), then we need to record the deltas for the pivot since it is being moved relative to the transform movement.
  TRANSLATE_WORLDSPACE_DONE ()
  SCALE_WORLDSPACE_DONE ()
  LOCATOR_ROTATE_WORLDSPACE_DONE ()
  LOCATOR_TRANSLATE_WORLDSPACE_DONE ()
  LOCATOR_SET_TRANSFORM ()
  MODEL_SCALED ()
  MODEL_UP_AXIS_SWITCHED ()
  MODEL_UP_AXIS_TRANSFORM_CHANGED ()
  GEOMETRY_SCALED ()
  GEOMETRY_UP_AXIS_SWITCHED ()
  PIVOT_MOVE_WORLDSPACE ()
  PIVOT_MOVE_WORLDSPACE_DONE ()
  PIVOT_USE_NODE_PIVOT_CHANGED ()
  PIVOT_SET_AXIS_DONE ()
  PIVOT_ROTATE_AXIS_DONE ()
  GEOMETRY_TRANSFORM_CHANGED ()
  ALTERNATIVE_DELETED ()
  ALTERNATIVE_SET_CHANGED ()
  MATERIAL_PARAMETER_CHANGED ()
  SET_DISPLAY_POSITION_AND_SIZE ()
  WINDOW_SET_SIZE ()
  DISPLAY_VERTICAL_FOV_CHANGED ()
  NAVIGATION_POSITION ()
  QUIT ()
  SET_3D_UI_ROOT ()
  DOCUMENT_UNITS_CHANGED ()
  MANIPULATOR_ENABLE_STATUS_CHANGED ()

Member Function Documentation

MoveManipulator.MoveManipulator.__init__ ( )
MoveManipulator.MoveManipulator.setMode ( )

Override this method in the derived class to enable setting modes.

This implementation returns false to indicate that the mode of the manipulator has not changed / nothing has happened.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.isInMode ( )
MoveManipulator.MoveManipulator.TogglePivotMode ( )
MoveManipulator.MoveManipulator.TogglePivotLocation ( )
MoveManipulator.MoveManipulator.ExitPivotMode ( )
MoveManipulator.MoveManipulator.enable ( )

Enables/disables this manipulator.

The manipulator is made visible and invisible, respectively. If an interaction is in progress, then the interaction is stopped.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.initialize ( )

Creates and configures the handles of this manipulator given the geometry root.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.refresh ( )

Moves the manipulator to the center of the targets, and scales it based on the distance from the eye to the manipulator center.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.needsRefresh ( )

Returns True if the manipulator is enabled, its geometry has loaded, the display has been set, and the targets or the view has changed; False otherwise.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.handleEvent ( )

Override this in the derived class to perform operations such as redrawing per frame.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.doResize ( )

The policy of resizing manipulators are diffrent in each subclass.

This function provides the right policy.

Reimplemented from Manipulator.Manipulator.

MoveManipulator.MoveManipulator.MoveManipulatorStart ( )
MoveManipulator.MoveManipulator.MoveManipulatorStop ( )
MoveManipulator.MoveManipulator.MoveManipulatorUpdate ( )
MoveManipulator.MoveManipulator.MoveManipulatorRollOver ( )
MoveManipulator.MoveManipulator.MoveManipulatorRollOff ( )
MoveManipulator.MoveManipulator.MoveManipulatorSnapStart ( )
MoveManipulator.MoveManipulator.MoveManipulatorSnapStop ( )
MoveManipulator.MoveManipulator.MoveManipulatorBottom ( )
MoveManipulator.MoveManipulator.DOCUMENT_LOADED ( )
MoveManipulator.MoveManipulator.MANIPULATOR_MODE_CHANGED ( )

If the mode changes, make sure that the right hotkyes are available.

In 'pivot' mode we additionally want to support CTRL-TAB. This key is not available in 'transform' mode.

MoveManipulator.MoveManipulator.MANIPULATOR_MOVE_WORLDSPACE ( )
MoveManipulator.MoveManipulator.SELECTION_CHANGED ( )
MoveManipulator.MoveManipulator.LOCATOR_SELECTION_CHANGED ( )
MoveManipulator.MoveManipulator.APPLICATION_CLOSE_SCENE ( )
MoveManipulator.MoveManipulator.ROTATE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.TRANSLATE_WORLDSPACE ( )

If this messages came from outside of manipulator (we are not dragging), then we need to record the deltas for the pivot since it is being moved relative to the transform movement.

MoveManipulator.MoveManipulator.LOCATOR_TRANSLATE_WORLDSPACE ( )

If this messages came from outside of manipulator (we are not dragging), then we need to record the deltas for the pivot since it is being moved relative to the transform movement.

MoveManipulator.MoveManipulator.TRANSLATE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.SCALE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.LOCATOR_ROTATE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.LOCATOR_TRANSLATE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.LOCATOR_SET_TRANSFORM ( )
MoveManipulator.MoveManipulator.MODEL_SCALED ( )
MoveManipulator.MoveManipulator.MODEL_UP_AXIS_SWITCHED ( )
MoveManipulator.MoveManipulator.MODEL_UP_AXIS_TRANSFORM_CHANGED ( )
MoveManipulator.MoveManipulator.GEOMETRY_SCALED ( )
MoveManipulator.MoveManipulator.GEOMETRY_UP_AXIS_SWITCHED ( )
MoveManipulator.MoveManipulator.PIVOT_MOVE_WORLDSPACE ( )
MoveManipulator.MoveManipulator.PIVOT_MOVE_WORLDSPACE_DONE ( )
MoveManipulator.MoveManipulator.PIVOT_USE_NODE_PIVOT_CHANGED ( )
MoveManipulator.MoveManipulator.PIVOT_SET_AXIS_DONE ( )
MoveManipulator.MoveManipulator.PIVOT_ROTATE_AXIS_DONE ( )
MoveManipulator.MoveManipulator.GEOMETRY_TRANSFORM_CHANGED ( )
MoveManipulator.MoveManipulator.ALTERNATIVE_DELETED ( )
MoveManipulator.MoveManipulator.ALTERNATIVE_SET_CHANGED ( )
MoveManipulator.MoveManipulator.MATERIAL_PARAMETER_CHANGED ( )
MoveManipulator.MoveManipulator.SET_DISPLAY_POSITION_AND_SIZE ( )
MoveManipulator.MoveManipulator.WINDOW_SET_SIZE ( )
MoveManipulator.MoveManipulator.DISPLAY_VERTICAL_FOV_CHANGED ( )
MoveManipulator.MoveManipulator.NAVIGATION_POSITION ( )
MoveManipulator.MoveManipulator.QUIT ( )
MoveManipulator.MoveManipulator.SET_3D_UI_ROOT ( )
MoveManipulator.MoveManipulator.DOCUMENT_UNITS_CHANGED ( )
MoveManipulator.MoveManipulator.MANIPULATOR_ENABLE_STATUS_CHANGED ( )

MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator
MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator MoveManipulator.MoveManipulator