the Chimera Interactor detects all changes to Chimera's state through triggers and addHandlers
Methods
|
|
|
|
ApplyRemoteChanges
|
ApplyRemoteChanges ( self )
take any objects in the incoming queue and apply them to Chimera
|
|
CollaboratoryTriggerCallback
|
CollaboratoryTriggerCallback (
self,
triggerName,
closure,
data,
)
Main event-collection machinery for the Collaboratory
|
|
ExportLocalChanges
|
ExportLocalChanges ( self )
track our local changes and send them to the hub
|
|
__init__
|
__init__ ( self, parent )
|
|
addHandlers
|
addHandlers ( self )
|
|
appQuitCallback
|
appQuitCallback (
self,
triggerName,
closure,
data,
)
|
|
checkForStatusUpdate
|
checkForStatusUpdate ( self )
Helper function to see if a status message needs to be displayed.
Status messages cannot directly be displayed from the Collaboratory
because of threading issues. This function is called from
CollaboratoryTriggerCallback several times.
|
|
clip_plane_points
|
clip_plane_points (
self,
window_x,
window_y,
)
This code takes the x and y coordinates of the cursor location on the screen, and converts them into
Near and Far clip plane points in chimera space
|
|
deleteHandlers
|
deleteHandlers ( self )
|
|
registerExtension
|
registerExtension (
self,
name,
obj,
)
|
|
setUpdateStatus
|
setUpdateStatus ( self, update )
|
|
sortFunc
|
sortFunc (
self,
a,
b,
)
sorts triggers by "dependency order"
|