module Threaded_viewer:Viewer that run in separate thread (so you can use it from OCaml toplevel interpreter).sig
..end
Remark that due to some subtle blocking the viewer usually doesn't
appear immediately after create
call. If you don't get viewer
just send anything (including call
) to OCaml toplevel and viewer
window will appear.
typeframe_handler =
OsgViewer.Viewer.t -> unit
frame_handler
will be called after each frametype
t = {
|
thread : |
|
channel : |
val create : unit -> t
val call : t -> (OsgViewer.Viewer.t -> 'a) -> 'a
val set_frame_handler : t ->
frame_handler -> unit
val stop : t -> unit
val wait : t -> unit