OrsEvent

eventCallback

class OrsEvent.eventCallback.EventCallback
classmethod addCallbackAddedPlaneToPlaneCollectionEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackAddedPlaneToPlaneCollectionEvent

classmethod addCallbackChannelMarkSliceModifiedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • tIndexOfSlice: T index of the loaded slice
  • zIndexOfSlice: Z index of the loaded slice

When the callback is no longer required it should be removed with removeCallbackChannelMarkSliceModifiedEvent

classmethod addCallbackChannelSliceLoadedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • tIndexOfSlice: T index of the loaded slice
  • zIndexOfSlice: Z index of the loaded slice

When the callback is no longer required it should be removed with removeCallbackChannelSliceLoadedEvent

classmethod addCallbackChildNodeAddedOrRemovedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • guidOfChild: guid of child object being added or removed
  • isBeingAdded: True if child is being added, False otherwise

When the callback is no longer required it should be removed with removeCallbackChildNodeAddedOrRemovedEvent

classmethod addCallbackControlPointSelectionEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • oldIndex: index of control point being unselected
  • newIndex: index of control point being selected

When the callback is no longer required it should be removed with removeCallbackControlPointSelectionEvent

classmethod addCallbackDisplayDrawEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackDisplayDrawEvent

classmethod addCallbackDisplayFitEvent(anORSObject, callbackid, function)

Callback triggered when a display is fit to any object

Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackDisplayDrawEvent

classmethod addCallbackDisplayPlaneChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • oldViewMode: old view mode
  • newViewMode: new view mode

When the callback is no longer required it should be removed with removeCallbackDisplayPlaneChangedEvent

classmethod addCallbackDisplayViewModeChangeEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • oldViewMode: old view mode
  • newViewMode: new view mode

When the callback is no longer required it should be removed with removeCallbackDisplayViewModeChangeEvent

classmethod addCallbackHighlightEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • highlighted: True if object is being highlighted, False otherwise
  • displayguid: GUID of display

When the callback is no longer required it should be removed with removeCallbackHighlightEvent

classmethod addCallbackInvalidateDeviceEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackInvalidateDeviceEvent

classmethod addCallbackLeveling2DChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackLeveling2DChangedEvent

classmethod addCallbackLeveling3DChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackLeveling3DChangedEvent

classmethod addCallbackMeshOpacityChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have an extra attribute:

  • opacityFactor: the opacity factor (a float between 0 and 1)

When the callback is no longer required it should be removed with removeCallbackMeshOpacityChangedEvent

classmethod addCallbackMeshScalarValuesUpdated(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackMeshScalarValuesUpdated

classmethod addCallbackObjectDeletedEvent(anORSObject, callbackid, function)
Parameters:
  • anORSObject – object being subscribed to
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackObjectDeletedEvent

classmethod addCallbackOverlayOpacityChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have an extra attribute:

  • opacityFactor: the opacity factor (a float between 0 and 1)

When the callback is no longer required it should be removed with removeCallbackOverlayOpacityChangedEvent

classmethod addCallbackPickEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have these extra attributes:

  • uValue: a float for the U value of the pick point
  • vValue: a float for the V value of the pick point
  • wValue: a float for the W value of the pick point
  • uModelValue: a float for the U model value of the pick point
  • vModelValue: a float for the V model value of the pick point
  • wModelValue: a float for the W model value of the pick point
  • xOrigin: a float for the X value of the pick point origin
  • yOrigin: a float for the Y value of the pick point origin
  • zOrigin: a float for the Z value of the pick point origin
  • x: a float for the X value of the pick point
  • y: a float for the Y value of the pick point
  • z: a float for the Z value of the pick point

When the callback is no longer required it should be removed with removeCallbackPickEvent

classmethod addCallbackPostAddObjectToGroupEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have an extra attribute:

  • guid: GUID of object being added to group

When the callback is no longer required it should be removed with removeCallbackPostAddObjectToGroupEvent

classmethod addCallbackPostPresentEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • directXDC: DirectX device context
  • displayguid: GUID of display where object is presented

When the callback is no longer required it should be removed with removeCallbackPostPresentEvent

classmethod addCallbackPostRemoveObjectFromGroupEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • guid: GUID of object being removed from group
  • index: index of object being removed from group

When the callback is no longer required it should be removed with removeCallbackPostRemoveObjectFromGroupEvent

classmethod addCallbackPostRenderEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • directXDC: DirectX device context
  • displayguid: GUID of display where object is rendered

When the callback is no longer required it should be removed with removeCallbackPostRenderEvent

classmethod addCallbackPreAddObjectToGroupEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have an extra attribute:

  • guid: GUID of object being added to group

When the callback is no longer required it should be removed with removeCallbackPreAddObjectToGroupEvent

classmethod addCallbackPrePresentEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • directXDC: DirectX device context
  • displayguid: GUID of display where object is presented

When the callback is no longer required it should be removed with removeCallbackPrePresentEvent

classmethod addCallbackPreRemoveObjectFromGroupEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • guid: GUID of object being removed from group
  • index: index of object being removed from group

When the callback is no longer required it should be removed with removeCallbackPreRemoveObjectFromGroupEvent

classmethod addCallbackPreRenderEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two extra attributes:

  • directXDC: DirectX device context
  • displayguid: GUID of display where object is rendered

When the callback is no longer required it should be removed with removeCallbackPreRenderEvent

classmethod addCallbackPropagateDataDirtyEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackPropagateDataDirtyEvent

classmethod addCallbackPropagateDirtyEvent(anORSObject, callbackid, function, dirtyFlags=None)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.
  • dirtyFlags – Dirty Flags of interest (str or list).

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackPropagateDirtyEvent

classmethod addCallbackPropagateGeometryDirtyEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackPropagateGeometryDirtyEvent

classmethod addCallbackPropagatePropertyDirtyEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackPropagatePropertyDirtyEvent

classmethod addCallbackPropagateVisibilityDirtyEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackPropagateVisibilityDirtyEvent

classmethod addCallbackRangeSelectionlevelingChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackRangeSelectionlevelingChangedEvent

classmethod addCallbackRemovedPlaneToPlaneCollectionEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackRemovedPlaneToPlaneCollectionEvent

classmethod addCallbackSetCameraEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackSetCameraEvent

classmethod addCallbackSetPlaneToPlaneCollectionEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackSetPlaneToPlaneCollectionEvent

classmethod addCallbackTitleChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackTitleChangedEvent

classmethod addCallbackUpdateViewSizeEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackUpdateViewSizeEvent

classmethod addCallbackVisualBoxChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackVisualBoxChangedEvent

classmethod addCallbackVisualPlaneChangedEvent(anORSObject, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeCallbackVisualPlaneChangedEvent

classmethod addCallbackVisualPlaneEnabledEvent(aVisualPlane, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have one extra attributes:

  • True if the plane

When the callback is no longer required it should be removed with removeCallbackVisualPlaneEnabledEvent

classmethod addClassCallbackObjectDeletedEvent(classProgID, callbackid, function)
Parameters:
  • classProgID
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackObjectDeletedEvent

classmethod addClassCallbackObjectPublishedEvent(classProgID, callbackid, function)
Parameters:
  • classProgID
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackObjectPublishedEvent

classmethod addClassCallbackPropagateDataDirtyEvent(classProgID, callbackid, function)
Parameters:
  • classProgID
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackPropagateDataDirtyEvent

classmethod addClassCallbackPropagateDirtyEvent(classProgID, callbackid, function, dirtyFlags=None)
Parameters:
  • classProgID
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.
  • dirtyFlags – Dirty Flags of interest (str or list).

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackPropagateDirtyEvent

classmethod addClassCallbackPropagateGeometryDirtyEvent(classProgID, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackPropagateGeometryDirtyEvent

classmethod addClassCallbackPropagatePropertyDirtyEvent(classProgID, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackPropagatePropertyDirtyEvent

classmethod addClassCallbackPropagateVisibilityDirtyEvent(classProgID, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeClassCallbackPropagateVisibilityDirtyEvent

classmethod addClassCallbackVisibilityChangedEvent(classProgID, callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have two attributes:

  • viewGUID: if the View is none, then the visibility changed in all views, otherwise, the visibility changed in the one view
  • isVisualVisible: true if the VisualObject is visible

When the callback is no longer required it should be removed with removeClassCallbackVisibilityChangedEvent

classmethod addGlobalCallbackChannelLoadedEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackChannelLoadedEvent

classmethod addGlobalCallbackChannelModifiedEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackChannelModifiedEvent

classmethod addGlobalCallbackCreateDatasetGroup(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackCreateDatasetGroup

classmethod addGlobalCallbackDeleteDatasetGroup(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackDeleteDatasetGroup

classmethod addGlobalCallbackDisplayPostRenderEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackDisplayPostRenderEvent

classmethod addGlobalCallbackDisplayPreRenderEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackDisplayPreRenderEvent

classmethod addGlobalCallbackDisplayViewModeChangeEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackDisplayViewModeChangeEvent

classmethod addGlobalCallbackLayoutUpdatedEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackLayoutUpdatedEvent

classmethod addGlobalCallbackOrsViewSizeChangeEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackLayoutUpdatedEvent

classmethod addGlobalCallbackPreferencesChangedEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackPreferencesChangedEvent

classmethod addGlobalCallbackProgressHasBeenCancelledEvent(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackProgressHasBeenCancelledEvent

classmethod addGlobalCallbackUpdateDatasetGroup(callbackid, function)
Parameters:
  • callbackid – callback id, should be unique
  • function – function called when callback is triggered. Function must have a single eventData argument.

EventData will have no extra attributes. When the callback is no longer required it should be removed with removeGlobalCallbackUpdateDatasetGroup

classmethod removeCallbackAddedPlaneToPlaneCollectionEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackAddedPlaneToPlaneCollectionEvent
classmethod removeCallbackChannelMarkSliceModifiedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackChannelSliceLoadedEvent
classmethod removeCallbackChannelSliceLoadedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackChannelSliceLoadedEvent
classmethod removeCallbackChildNodeAddedOrRemovedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackChildNodeAddedOrRemovedEvent
classmethod removeCallbackControlPointSelectionEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackControlPointSelectionEvent
classmethod removeCallbackDisplayDrawEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayDrawEvent
classmethod removeCallbackDisplayFitEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayFitEvent
classmethod removeCallbackDisplayPlaneChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayPlaneChangedEvent
classmethod removeCallbackDisplayViewModeChangeEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayViewModeChangeEvent
classmethod removeCallbackHighlightEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackHighlightEvent
classmethod removeCallbackInvalidateDeviceEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackInvalidateDeviceEvent
classmethod removeCallbackLeveling2DChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackLeveling2DChangedEvent
classmethod removeCallbackLeveling3DChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackLeveling3DChangedEvent
classmethod removeCallbackMeshOpacityChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackMeshOpacityChangedEvent
classmethod removeCallbackMeshScalarValuesUpdated(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackMeshScalarValuesUpdated
classmethod removeCallbackObjectDeletedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackObjectDeletedEvent
classmethod removeCallbackOverlayOpacityChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackOverlayOpacityChangedEvent
classmethod removeCallbackPickEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPickEvent
classmethod removeCallbackPostAddObjectToGroupEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostAddObjectToGroupEvent
classmethod removeCallbackPostPresentEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostPresentEvent
classmethod removeCallbackPostRemoveObjectFromGroupEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostRemoveObjectFromGroupEvent
classmethod removeCallbackPostRenderEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostRenderEvent
classmethod removeCallbackPreAddObjectToGroupEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreAddObjectToGroupEvent
classmethod removeCallbackPrePresentEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPrePresentEvent
classmethod removeCallbackPreRemoveObjectFromGroupEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreRemoveObjectFromGroupEvent
classmethod removeCallbackPreRenderEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreRenderEvent
classmethod removeCallbackPropagateDataDirtyEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateDataDirtyEvent
classmethod removeCallbackPropagateDirtyEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateDirtyEvent
classmethod removeCallbackPropagateGeometryDirtyEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateVisibilityDirtyEvent
classmethod removeCallbackPropagatePropertyDirtyEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagatePropertyDirtyEvent
classmethod removeCallbackRangeSelectionlevelingChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackRangeSelectionlevelingChangedEvent
classmethod removeCallbackRemovedPlaneToPlaneCollectionEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackRemovedPlaneToPlaneCollectionEvent
classmethod removeCallbackSetCameraEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackSetCameraEvent
classmethod removeCallbackSetPlaneToPlaneCollectionEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackSetPlaneToPlaneCollectionEvent
classmethod removeCallbackTitleChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackTitleChangedEvent
classmethod removeCallbackUpdateViewSizeEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackUpdateViewSizeEvent
classmethod removeCallbackVisualBoxChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackVisualBoxChangedEvent
classmethod removeCallbackVisualPlaneChangedEvent(anORSObject, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackVisualPlaneChangedEvent
classmethod removeCallbackVisualPlaneEnabledEvent(aVisualPlane, callbackid)
Parameters:callbackid – callback id, should match a prior call to addCallbackHighlightEvent
classmethod removeClassCallbackObjectDeletedEvent(classProgID, callbackid)
Parameters:
  • classProgID
  • callbackid – callback id, should match a prior call to addClassCallbackObjectDeletedEvent
classmethod removeClassCallbackObjectPublishedEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackObjectDeletedEvent
classmethod removeClassCallbackPropagateDataDirtyEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackPropagateDataDirtyEvent
classmethod removeClassCallbackPropagateDirtyEvent(classProgID, callbackid)
Parameters:
  • classProgID
  • callbackid – callback id, should match a prior call to addClassCallbackPropagateDirtyEvent
classmethod removeClassCallbackPropagateGeometryDirtyEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackPropagateGeometryDirtyEvent
classmethod removeClassCallbackPropagatePropertyDirtyEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackPropagatePropertyDirtyEvent
classmethod removeClassCallbackPropagateVisibilityDirtyEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackPropagateVisibilityDirtyEvent
classmethod removeClassCallbackVisibilityChangedEvent(classProgID, callbackid)
Parameters:callbackid – callback id, should match a prior call to addClassCallbackVisibilityChangedEvent
classmethod removeGlobalCallbackChannelLoadedEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackChannelLoadedEvent
classmethod removeGlobalCallbackChannelModifiedEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackChannelModifiedEvent
classmethod removeGlobalCallbackCreateDatasetGroup(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackCreateDatasetGroup
classmethod removeGlobalCallbackDeleteDatasetGroup(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackDeleteDatasetGroup
classmethod removeGlobalCallbackDisplayPostRenderEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackDisplayPostRenderEvent
classmethod removeGlobalCallbackDisplayPreRenderEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackDisplayPreRenderEvent
classmethod removeGlobalCallbackDisplayViewModeChangeEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackDisplayViewModeChangeEvent
classmethod removeGlobalCallbackLayoutUpdatedEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackLayoutUpdatedEvent
classmethod removeGlobalCallbackPreferencesChangedEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackPreferencesChangedEvent
classmethod removeGlobalCallbackProgressHasBeenCancelledEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackProgressHasBeenCancelledEvent
classmethod removeGlobalCallbackUpdateDatasetGroup(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackUpdateDatasetGroup
classmethod removeGlobalCallbackViewSizeChangeEvent(callbackid)
Parameters:callbackid – callback id, should match a prior call to addGlobalCallbackLayoutUpdatedEvent
classmethod setCallbackAddedPlaneToPlaneCollectionEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackAddedPlaneToPlaneCollectionEvent
classmethod setCallbackChannelMarkSliceModifiedEventEnabled(anORSObject, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addCallbackChannelSliceLoadedEvent
  • enabled
classmethod setCallbackChannelSliceLoadedEventEnabled(anORSObject, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addCallbackChannelSliceLoadedEvent
  • enabled
classmethod setCallbackChildNodeAddedOrRemovedEventEnabled(anORSObject, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addCallbackChildNodeAddedOrRemovedEvent
  • enabled
classmethod setCallbackControlPointSelectionEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackControlPointSelectionEvent
classmethod setCallbackDisplayDrawEventEnabled(anORSObject, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addCallbackDisplayDrawEvent
  • enabled
classmethod setCallbackDisplayFitEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayFitEvent
classmethod setCallbackDisplayPlaneChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayPlaneChangedEvent
classmethod setCallbackDisplayViewModeChangeEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackDisplayViewModeChangeEvent
classmethod setCallbackHighlightEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackHighlightEvent
classmethod setCallbackInvalidateDeviceEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackInvalidateDeviceEvent
classmethod setCallbackLeveling2DChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackLeveling2DChangedEvent
classmethod setCallbackLeveling3DChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackLeveling3DChangedEvent
classmethod setCallbackMeshOpacityChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackMeshOpacityChangedEvent
classmethod setCallbackMeshScalarValuesUpdatedEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackMeshScalarValuesUpdated
classmethod setCallbackObjectDeletedEventEnabled(anORSObject, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addCallbackObjectDeletedEvent
  • enabled
classmethod setCallbackOverlayOpacityChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackOverlayOpacityChangedEvent
classmethod setCallbackPickEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPickEvent
classmethod setCallbackPostAddObjectToGroupEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostAddObjectToGroupEvent
classmethod setCallbackPostPresentEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostPresentEvent
classmethod setCallbackPostRemoveObjectFromGroupEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostRemoveObjectFromGroupEvent
classmethod setCallbackPostRenderEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPostRenderEvent
classmethod setCallbackPreAddObjectToGroupEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreAddObjectToGroupEvent
classmethod setCallbackPrePresentEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPrePresentEvent
classmethod setCallbackPreRemoveObjectFromGroupEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreRemoveObjectFromGroupEvent
classmethod setCallbackPreRenderEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPreRenderEvent
classmethod setCallbackPropagateDataDirtyEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateDataDirtyEvent
classmethod setCallbackPropagateDirtyEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateDirtyEvent
classmethod setCallbackPropagateGeometryDirtyEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateGeometryDirtyEvent
classmethod setCallbackPropagatePropertyDirtyEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagatePropertyDirtyEvent
classmethod setCallbackPropagateVisibilityDirtyEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackPropagateVisibilityDirtyEvent
classmethod setCallbackRangeSelectionlevelingChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackRangeSelectionlevelingChangedEvent
classmethod setCallbackRemovedPlaneToPlaneCollectionEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackRemovedPlaneToPlaneCollectionEvent
classmethod setCallbackSetCameraEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackSetCameraEvent
classmethod setCallbackSetPlaneToPlaneCollectionEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackSetPlaneToPlaneCollectionEvent
classmethod setCallbackTitleChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackTitleChangedEvent
classmethod setCallbackUpdateViewSizeEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackUpdateViewSizeEvent
classmethod setCallbackVisualBoxChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackVisualBoxChangedEvent
classmethod setCallbackVisualPlaneChangedEventEnabled(anORSObject, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackVisualPlaneChangedEvent
classmethod setCallbackVisualPlaneEnabledEventEnabled(aVisualPlane, callbackid, enabled)
Parameters:callbackid – callback id, should match a prior call to addCallbackVisualPlaneEnabledEvent
classmethod setClassCallbackObjectDeletedEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • classProgID
  • callbackid – callback id, should match a prior call to addClassCallbackObjectDeletedEvent
  • enabled
classmethod setClassCallbackObjectPublishedEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackObjectDeletedEvent
  • enabled
classmethod setClassCallbackPropagateDataDirtyEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackPropagateDataDirtyEvent
  • enabled
classmethod setClassCallbackPropagateDirtyEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • classProgID
  • callbackid – callback id, should match a prior call to addClassCallbackPropagateDirtyEvent
  • enabled
classmethod setClassCallbackPropagateGeometryDirtyEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackPropagateGeometryDirtyEvent
  • enabled
classmethod setClassCallbackPropagatePropertyDirtyEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackPropagatePropertyDirtyEvent
  • enabled
classmethod setClassCallbackPropagateVisibilityDirtyEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackPropagateVisibilityDirtyEvent
  • enabled
classmethod setClassCallbackVisibilityChangedEventEnabled(classProgID, callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addClassCallbackVisibilityChangedEvent
  • enabled
classmethod setGlobalCallbackChannelLoadedEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackChannelLoadedEvent
  • enabled
classmethod setGlobalCallbackChannelModifiedEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackChannelModifiedEvent
  • enabled
classmethod setGlobalCallbackCreateDatasetGroupEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackCreateDatasetGroup
  • enabled
classmethod setGlobalCallbackDeleteDatasetGroupEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackDeleteDatasetGroup
  • enabled
classmethod setGlobalCallbackDisplayPostRenderEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackDisplayPostRenderEvent
  • enabled
classmethod setGlobalCallbackDisplayPreRenderEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackDisplayPreRenderEvent
  • enabled
classmethod setGlobalCallbackDisplayViewModeChangeEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackDisplayViewModeChangeEvent
  • enabled
classmethod setGlobalCallbackLayoutUpdatedEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackLayoutUpdatedEvent
  • enabled
classmethod setGlobalCallbackPreferencesChangedEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackPreferencesChangedEvent
  • enabled
classmethod setGlobalCallbackProgressHasBeenCancelledEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackProgressHasBeenCancelledEvent
  • enabled
classmethod setGlobalCallbackUpdateDatasetGroupEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackUpdateDatasetGroup
  • enabled
classmethod setGlobalCallbackViewSizeChangeEventEnabled(callbackid, enabled)
Parameters:
  • callbackid – callback id, should match a prior call to addGlobalCallbackLayoutUpdatedEvent
  • enabled

eventdata

class OrsEvent.eventdata.EventData(anOrsEventData, eventname=None, callbackName='')
getCallbackName()
getEventDisplay() → ORSModel.ors.View
getGlobalCursorPositionAsOrsVector()
getLocalCursorPositionAsOrsVector()
getLongDebugString()
getOriginatorObject()
getShortDebugString()
getViewUnderCursor()
getViewUnderCursorLocalCursorPositionAsOrsVector()
isAction()
isEnterAction()
isExitAction()
isNoAction()