RelationInterpreter.RelationInterpreter Class Reference

#include <class_relation_interpreter_1_1_relation_interpreter.h>

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

List of all members.

Public Member Functions

  __init__ ()
  activate ()
  Abstract - to be implemented by the subclasses.
  deactivate ()
  Abstract - to be implemented by the subclasses.
  onNodeBoundingBoxValid ()
  DOCUMENT_LOADED ()
  SET_3D_UI_ROOT ()
  STAGE_SET_STAGE_LIST ()
  VIEWER_LAYOUT ()
  STAGE_SET_ACTIVE ()
  APPLICATION_MODE_CHANGED ()
  Do not show grips in the presentation mode.
  CLIENT_CONNECTION_STATUS ()
  Turn off the decal grips when in spectating mode.
  QUIT ()
  APPLICATION_CLOSE_SCENE ()
  APPLICATION_SCENE_IMPORTED ()
  Update the decal locators - if there are any objects that have decals assigned to them, new decal locator nodes will be created.
  MODEL_IMPORT_DISPLAYED_ALL ()
  We need to update the decal locators position once all the nodes have been loaded.
  LOCATOR_SHOW_DECAL_GRIPS ()
  LOCATOR_DECAL_GRIPS_SET_SIZE ()
  MODEL_TOGGLE_SELECTION_HIGHLIGHT ()
  The decal locators need to update when this message is sent.
  LOCATOR_SELECT ()
  Select locator nodes.
  LOCATOR_HIGHLIGHT ()
  Determines which model nodes and decal nodes should be highlighted and sends the corresponding message.
  SELECTION_CHANGED ()
  When a main selection changes (model nodes selection), deselect any locator nodes that have been selected, as well as highlight the decal locators that are associated with any of the selected nodes.
  MATERIAL_SET_SELECTION_STYLE ()
  APPEARANCE_LAYER_VISIBILITY_CHANGED ()
  Visibility of one of the decal materials changed, update the visibility of the corresponding grip.
  APPEARANCE_LAYER_ASSOCIATION_ADDED ()
  HIDE ()
  Hides any non model node (locators).
  HIDE_UNSELECTED ()
  Makes a passed/selected locator and the corresponding geometry visible.
  SHOW ()
  All non model nodes (locators) that are selected or on the targetIds list will become visible.
  SHOW_ALL ()
  All decal locators that were hidden should be unhidden now.
  GEOMETRY_VISIBILITY_CHANGED ()
  When the visibility of the geometry changed, changed the visibility of the corresponding decal locators as well.
  DELETE ()
  This message deletes any non model node (locators).
  UNDELETE ()
  This message takes care of undeleting any non model node (locators).
  STAGE_OPENED ()
  DUPLICATED ()
  Synchronize the decal materials with decal locators in the scene.
  DELETED ()
  Synchronize the decal materials with decal locators in the scene.
  REMOVED ()
  UNDELETED ()
  Synchronize the decal materials with decal locators in the scene.
  MATERIAL_DELETED ()
  If a deleted material is a decal material, delete the corresponding entries from the map.
  MATERIAL_LAYER_INSERTED ()
  New decal material has been created, therefore, select it, if this message came from the UI (it is not an undo message).
  MATERIAL_LAYER_REPLACED ()
  Update the decal locators with the new material.
  MATERIAL_ASSIGNMENT_CHANGED ()
  Synchronize the decal materials with decal locators in the scene, some locators will need to be deleted, and others added.
  MATERIAL_PARAMETER_CHANGED ()
  If the parameter that has changes is a decalProjection matrix, then update the corresponding decal locator.
  ALTERNATIVE_SET_CHANGED ()
  If any of the alternative changes, update decal locators since they may be affected:
  • for positional alternative - update position of the decal nodes since some could move.

  MODEL_UP_AXIS_SWITCHED ()
  MODEL_UP_AXIS_TRANSFORM_CHANGED ()
  MODEL_SCALED ()
  Calculate a new position for all related decal locators.
  LOCATOR_ROTATE_WORLDSPACE ()
  ROTATE_WORLDSPACE_DONE ()
  Calculate a new position for all related decal locators.
  LOCATOR_TRANSLATE_WORLDSPACE ()
  TRANSLATE_WORLDSPACE_DONE ()
  Calculate a new position for all related decal locators.
  LOCATOR_SET_TRANSFORM ()
  GEOMETRY_TRANSFORM_CHANGED ()
  Calculate a new position for all related decal locators.
  FRAME_END_NOTIFICATION ()
  NAVIGATION_UPDATE_VIEW ()
  APPLICATION_VIEW_POSITION_AND_SIZE_CHANGED ()
  DISPLAY_VIEWPORT_SPLIT_CHANGED ()
  GROUP_COLLAPSED ()
  GROUP_EXPAND ()
  ASSIGN_EXISTING_MATERIAL ()
  ASSIGN_LIBRARY_MATERIAL ()
  SCREENSHOT_PREPARE ()
  Hide the decal grips when snapping the screen.
  SCREENSHOT_SAVED ()
  Restore the decal grips when necessary.
  SHOT_RECORDING_CLEANUP ()
  Restore the light grips when necessary.
  NAVIGATION_POSITION ()

Member Function Documentation

RelationInterpreter.RelationInterpreter.__init__ ( )
RelationInterpreter.RelationInterpreter.activate ( )

Abstract - to be implemented by the subclasses.

Performs the operations necessary to place this interpreter into a ready, active state. Ensure that this base class implementation is called by the subclass implementation.

Reimplemented from MessageInterpreter.MessageInterpreter.

RelationInterpreter.RelationInterpreter.deactivate ( )

Abstract - to be implemented by the subclasses.

Performs the operations necessary to place this interpreter into a passive state. Ensure that this base class implementation is called by the subclass implementation.

Reimplemented from MessageInterpreter.MessageInterpreter.

RelationInterpreter.RelationInterpreter.onNodeBoundingBoxValid ( )
RelationInterpreter.RelationInterpreter.DOCUMENT_LOADED ( )
RelationInterpreter.RelationInterpreter.SET_3D_UI_ROOT ( )
RelationInterpreter.RelationInterpreter.STAGE_SET_STAGE_LIST ( )
RelationInterpreter.RelationInterpreter.VIEWER_LAYOUT ( )
RelationInterpreter.RelationInterpreter.STAGE_SET_ACTIVE ( )
RelationInterpreter.RelationInterpreter.APPLICATION_MODE_CHANGED ( )

Do not show grips in the presentation mode.

RelationInterpreter.RelationInterpreter.CLIENT_CONNECTION_STATUS ( )

Turn off the decal grips when in spectating mode.

RelationInterpreter.RelationInterpreter.QUIT ( )
RelationInterpreter.RelationInterpreter.APPLICATION_CLOSE_SCENE ( )
RelationInterpreter.RelationInterpreter.APPLICATION_SCENE_IMPORTED ( )

Update the decal locators - if there are any objects that have decals assigned to them, new decal locator nodes will be created.

RelationInterpreter.RelationInterpreter.MODEL_IMPORT_DISPLAYED_ALL ( )

We need to update the decal locators position once all the nodes have been loaded.

We must also remove decal locators that no longer have corresponding nodes (due to a replace operation).

RelationInterpreter.RelationInterpreter.LOCATOR_SHOW_DECAL_GRIPS ( )
RelationInterpreter.RelationInterpreter.LOCATOR_DECAL_GRIPS_SET_SIZE ( )
RelationInterpreter.RelationInterpreter.MODEL_TOGGLE_SELECTION_HIGHLIGHT ( )

The decal locators need to update when this message is sent.

RelationInterpreter.RelationInterpreter.LOCATOR_SELECT ( )

Select locator nodes.

RelationInterpreter.RelationInterpreter.LOCATOR_HIGHLIGHT ( )

Determines which model nodes and decal nodes should be highlighted and sends the corresponding message.

RelationInterpreter.RelationInterpreter.SELECTION_CHANGED ( )

When a main selection changes (model nodes selection), deselect any locator nodes that have been selected, as well as highlight the decal locators that are associated with any of the selected nodes.

RelationInterpreter.RelationInterpreter.MATERIAL_SET_SELECTION_STYLE ( )
RelationInterpreter.RelationInterpreter.APPEARANCE_LAYER_VISIBILITY_CHANGED ( )

Visibility of one of the decal materials changed, update the visibility of the corresponding grip.

RelationInterpreter.RelationInterpreter.APPEARANCE_LAYER_ASSOCIATION_ADDED ( )
RelationInterpreter.RelationInterpreter.HIDE ( )

Hides any non model node (locators).

RelationInterpreter.RelationInterpreter.HIDE_UNSELECTED ( )

Makes a passed/selected locator and the corresponding geometry visible.

Everything else is hidden.

RelationInterpreter.RelationInterpreter.SHOW ( )

All non model nodes (locators) that are selected or on the targetIds list will become visible.

RelationInterpreter.RelationInterpreter.SHOW_ALL ( )

All decal locators that were hidden should be unhidden now.

RelationInterpreter.RelationInterpreter.GEOMETRY_VISIBILITY_CHANGED ( )

When the visibility of the geometry changed, changed the visibility of the corresponding decal locators as well.

RelationInterpreter.RelationInterpreter.DELETE ( )

This message deletes any non model node (locators).

RelationInterpreter.RelationInterpreter.UNDELETE ( )

This message takes care of undeleting any non model node (locators).

RelationInterpreter.RelationInterpreter.STAGE_OPENED ( )
RelationInterpreter.RelationInterpreter.DUPLICATED ( )

Synchronize the decal materials with decal locators in the scene.

New locators will need to be created for all new nodes in the scene that have decal materials assigned to them.

RelationInterpreter.RelationInterpreter.DELETED ( )

Synchronize the decal materials with decal locators in the scene.

Some locators will need to be deleted from the scene.

RelationInterpreter.RelationInterpreter.REMOVED ( )
RelationInterpreter.RelationInterpreter.UNDELETED ( )

Synchronize the decal materials with decal locators in the scene.

New locators will need to be created for undeleted nodes that have decal materials assigned to them.

RelationInterpreter.RelationInterpreter.MATERIAL_DELETED ( )

If a deleted material is a decal material, delete the corresponding entries from the map.

RelationInterpreter.RelationInterpreter.MATERIAL_LAYER_INSERTED ( )

New decal material has been created, therefore, select it, if this message came from the UI (it is not an undo message).

RelationInterpreter.RelationInterpreter.MATERIAL_LAYER_REPLACED ( )

Update the decal locators with the new material.

RelationInterpreter.RelationInterpreter.MATERIAL_ASSIGNMENT_CHANGED ( )

Synchronize the decal materials with decal locators in the scene, some locators will need to be deleted, and others added.

RelationInterpreter.RelationInterpreter.MATERIAL_PARAMETER_CHANGED ( )

If the parameter that has changes is a decalProjection matrix, then update the corresponding decal locator.

RelationInterpreter.RelationInterpreter.ALTERNATIVE_SET_CHANGED ( )

If any of the alternative changes, update decal locators since they may be affected:

  • for positional alternative - update position of the decal nodes since some could move.
  • for material alternative - synchronize the decal locator since new ones could show up or some could have been deleted.
  • for model alternative - update the decal visibility since some of the nodes could change that state.
RelationInterpreter.RelationInterpreter.MODEL_UP_AXIS_SWITCHED ( )
RelationInterpreter.RelationInterpreter.MODEL_UP_AXIS_TRANSFORM_CHANGED ( )
RelationInterpreter.RelationInterpreter.MODEL_SCALED ( )

Calculate a new position for all related decal locators.

RelationInterpreter.RelationInterpreter.LOCATOR_ROTATE_WORLDSPACE ( )
RelationInterpreter.RelationInterpreter.ROTATE_WORLDSPACE_DONE ( )

Calculate a new position for all related decal locators.

RelationInterpreter.RelationInterpreter.LOCATOR_TRANSLATE_WORLDSPACE ( )
RelationInterpreter.RelationInterpreter.TRANSLATE_WORLDSPACE_DONE ( )

Calculate a new position for all related decal locators.

RelationInterpreter.RelationInterpreter.LOCATOR_SET_TRANSFORM ( )
RelationInterpreter.RelationInterpreter.GEOMETRY_TRANSFORM_CHANGED ( )

Calculate a new position for all related decal locators.

RelationInterpreter.RelationInterpreter.FRAME_END_NOTIFICATION ( )
RelationInterpreter.RelationInterpreter.NAVIGATION_UPDATE_VIEW ( )
RelationInterpreter.RelationInterpreter.APPLICATION_VIEW_POSITION_AND_SIZE_CHANGED ( )
RelationInterpreter.RelationInterpreter.DISPLAY_VIEWPORT_SPLIT_CHANGED ( )
RelationInterpreter.RelationInterpreter.GROUP_COLLAPSED ( )
RelationInterpreter.RelationInterpreter.GROUP_EXPAND ( )
RelationInterpreter.RelationInterpreter.ASSIGN_EXISTING_MATERIAL ( )
RelationInterpreter.RelationInterpreter.ASSIGN_LIBRARY_MATERIAL ( )
RelationInterpreter.RelationInterpreter.SCREENSHOT_PREPARE ( )

Hide the decal grips when snapping the screen.

RelationInterpreter.RelationInterpreter.SCREENSHOT_SAVED ( )

Restore the decal grips when necessary.

RelationInterpreter.RelationInterpreter.SHOT_RECORDING_CLEANUP ( )

Restore the light grips when necessary.

RelationInterpreter.RelationInterpreter.NAVIGATION_POSITION ( )

RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter
RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter RelationInterpreter.RelationInterpreter