DisplayInterpreter.DisplayInterpreter Class Reference

#include <class_display_interpreter_1_1_display_interpreter.h>

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

List of all members.

Public Member Functions

  __init__ ()
  deactivate ()
  Abstract - to be implemented by the subclasses.
  onNodeBoundingBoxValid ()
  NodeBoundingBoxListener callback set on the environment and model subroot.
  configureEventMapping ()
  Abstract - to be implemented by the subclasses.
  resize ()
  getDisplay ()
  setDisplay ()
  getModelAndEnvironmentSubRoot ()
  getModelSubRoot ()
  getDrawRoot ()
  getOrthoDrawRoot ()
  getBackplateDrawRoot ()
  getEnvironmentSubRoot ()
  getDefaultNearClipDistance ()
  getDefaultFarClipDistance ()
  onNodeDeleted ()
  Sends GEOMETRY_ALL_DELETED once all the nodes monitored from APPLICATION_CLOSE_SCENE have been deleted.
  SET_DRAW_ROOT ()
  SET_ORTHO_DRAW_ROOT ()
  SET_3D_UI_ROOT ()
  SET_BACKPLATE_DRAW_ROOT ()
  SET_DISPLAY ()
  APPLICATION_CLOSE_SCENE ()
  Override so we can clear our Preference List.
  DISPLAY_RESET ()
  Clear display before closing scene, to avoid crashes when different threads modify same data.
  DISPLAY_RESETED ()
  DOCUMENT_CLOSED ()
  GEOMETRY_ALL_DELETED ()
  At this point, all geometry has been freed and there is nothing left to draw.
  DOCUMENT_LOADED ()
  MANIPULATOR_POSITION_CHANGED ()
  TEXTURE_MATRIX_TRANSFORM ()
  ENVIRONMENT_LOADING_DONE ()
  ENVIRONMENT_ROOT_TRANSFORM_CHANGED ()
  DISPLAY_FORCE_UPDATE_BOUNDINGBOXES ()
  NAVIGATION_POSITION ()
  DISPLAY_SET_NEAR_CLIP ()
  APPLICATION_VIEW_POSITION_AND_SIZE_CHANGED ()
  DISPLAY_VERTICAL_FOV_CHANGED ()
  DISPLAY_SET_PROJECTION_MODE ()
  SAVE_SCREENSHOT ()
  Saves a screenshot to the given filename.
  SAVE_SCREENSHOT_AT_RESOLUTION ()
  Saves a screenshot to the given filename and with the given dimensions.
  SAVE_SCREENSHOT_PARAMETERS ()
  SAVE_SCREENSHOT_FOR_SHOT ()
  SAVE_VIEWPORT ()
  SHUTDOWN ()
  DEBUG_PRINT_SCENE ()
  Prints out the model and draw hierarchy.
  DISPLAY_ONE_TO_ONE ()
  DISPLAY_SET_ONE_TO_ONE_DISTANCE ()
  DISPLAY_SET_VIEWPORT_SPLIT ()
  APPLICATION_LOAD_PREFERENCES ()
  DISPLAY_SET_SHADING_MODE ()
  DISPLAY_SET_TRANSPARENCY_TECHNIQUE ()
  VIEWER_LAYOUT ()
  ENVIRONMENT_BACKPLATE_PARAMETERS_CHANGED ()
  ENVIRONMENT_BACKDROP_IMAGE_CHANGED ()
  APPEARANCE_PARAMETER_CHANGE ()

Member Function Documentation

DisplayInterpreter.DisplayInterpreter.__init__ ( )
DisplayInterpreter.DisplayInterpreter.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.

Reimplemented in RenderInterpreter.RenderInterpreter, and ViewerInterpreter.ViewerInterpreter.

DisplayInterpreter.DisplayInterpreter.onNodeBoundingBoxValid ( )

NodeBoundingBoxListener callback set on the environment and model subroot.

When the bounding box of this root changes, we need to update the bounding box used for setting the clip planes.

DisplayInterpreter.DisplayInterpreter.configureEventMapping ( )

Abstract - to be implemented by the subclasses.

Configures the event mapping table with the events handled by this interpreter, and their respective actions

Reimplemented from MessageInterpreter.MessageInterpreter.

Reimplemented in ViewerInterpreter.ViewerInterpreter.

DisplayInterpreter.DisplayInterpreter.resize ( )
DisplayInterpreter.DisplayInterpreter.getDisplay ( )
DisplayInterpreter.DisplayInterpreter.setDisplay ( )
DisplayInterpreter.DisplayInterpreter.getModelAndEnvironmentSubRoot ( )
DisplayInterpreter.DisplayInterpreter.getModelSubRoot ( )
DisplayInterpreter.DisplayInterpreter.getDrawRoot ( )
DisplayInterpreter.DisplayInterpreter.getOrthoDrawRoot ( )
DisplayInterpreter.DisplayInterpreter.getBackplateDrawRoot ( )
DisplayInterpreter.DisplayInterpreter.getEnvironmentSubRoot ( )
DisplayInterpreter.DisplayInterpreter.getDefaultNearClipDistance ( )
DisplayInterpreter.DisplayInterpreter.getDefaultFarClipDistance ( )
DisplayInterpreter.DisplayInterpreter.onNodeDeleted ( )

Sends GEOMETRY_ALL_DELETED once all the nodes monitored from APPLICATION_CLOSE_SCENE have been deleted.

DisplayInterpreter.DisplayInterpreter.SET_DRAW_ROOT ( )
DisplayInterpreter.DisplayInterpreter.SET_ORTHO_DRAW_ROOT ( )
DisplayInterpreter.DisplayInterpreter.SET_3D_UI_ROOT ( )
DisplayInterpreter.DisplayInterpreter.SET_BACKPLATE_DRAW_ROOT ( )
DisplayInterpreter.DisplayInterpreter.SET_DISPLAY ( )
DisplayInterpreter.DisplayInterpreter.APPLICATION_CLOSE_SCENE ( )

Override so we can clear our Preference List.

Reimplemented in ViewerInterpreter.ViewerInterpreter.

DisplayInterpreter.DisplayInterpreter.DISPLAY_RESET ( )

Clear display before closing scene, to avoid crashes when different threads modify same data.

DisplayInterpreter.DisplayInterpreter.DISPLAY_RESETED ( )
DisplayInterpreter.DisplayInterpreter.DOCUMENT_CLOSED ( )
DisplayInterpreter.DisplayInterpreter.GEOMETRY_ALL_DELETED ( )

At this point, all geometry has been freed and there is nothing left to draw.

Reset the display.

DisplayInterpreter.DisplayInterpreter.DOCUMENT_LOADED ( )
DisplayInterpreter.DisplayInterpreter.MANIPULATOR_POSITION_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.TEXTURE_MATRIX_TRANSFORM ( )
DisplayInterpreter.DisplayInterpreter.ENVIRONMENT_LOADING_DONE ( )
DisplayInterpreter.DisplayInterpreter.ENVIRONMENT_ROOT_TRANSFORM_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_FORCE_UPDATE_BOUNDINGBOXES ( )
DisplayInterpreter.DisplayInterpreter.NAVIGATION_POSITION ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_NEAR_CLIP ( )
DisplayInterpreter.DisplayInterpreter.APPLICATION_VIEW_POSITION_AND_SIZE_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_VERTICAL_FOV_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_PROJECTION_MODE ( )
DisplayInterpreter.DisplayInterpreter.SAVE_SCREENSHOT ( )

Saves a screenshot to the given filename.

DisplayInterpreter.DisplayInterpreter.SAVE_SCREENSHOT_AT_RESOLUTION ( )

Saves a screenshot to the given filename and with the given dimensions.

The aspect ratio of the screen will always be respected. If either height or width are < 0, we will save at the current resolution of the interactive window. The image is saved using the default density of 72 DPI.

DisplayInterpreter.DisplayInterpreter.SAVE_SCREENSHOT_PARAMETERS ( )
DisplayInterpreter.DisplayInterpreter.SAVE_SCREENSHOT_FOR_SHOT ( )
DisplayInterpreter.DisplayInterpreter.SAVE_VIEWPORT ( )
DisplayInterpreter.DisplayInterpreter.SHUTDOWN ( )
DisplayInterpreter.DisplayInterpreter.DEBUG_PRINT_SCENE ( )

Prints out the model and draw hierarchy.

Only available in debug mode.

DisplayInterpreter.DisplayInterpreter.DISPLAY_ONE_TO_ONE ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_ONE_TO_ONE_DISTANCE ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_VIEWPORT_SPLIT ( )
DisplayInterpreter.DisplayInterpreter.APPLICATION_LOAD_PREFERENCES ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_SHADING_MODE ( )
DisplayInterpreter.DisplayInterpreter.DISPLAY_SET_TRANSPARENCY_TECHNIQUE ( )
DisplayInterpreter.DisplayInterpreter.VIEWER_LAYOUT ( )
DisplayInterpreter.DisplayInterpreter.ENVIRONMENT_BACKPLATE_PARAMETERS_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.ENVIRONMENT_BACKDROP_IMAGE_CHANGED ( )
DisplayInterpreter.DisplayInterpreter.APPEARANCE_PARAMETER_CHANGE ( )

DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter
DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter DisplayInterpreter.DisplayInterpreter