Public Member Functions | |
VisVideo (Node n, Vector3f position) | |
void | add (VisNode node) |
Package Functions | |
void | renderSelf () |
void | handleEvent (VisMouseEvent evt) |
void | closeSelf () |
Package Attributes | |
final float | SCALE = 15f |
VideoTexture | tex = null |
VideoFetcher | fetcher |
String | url |
boolean | playing = true |
holds it's own audio source if the stream has audio tracks.
Definition at line 27 of file VisVideo.java.
org.hfbk.vis.visnode.VisVideo.VisVideo | ( | Node | n, | |
Vector3f | position | |||
) |
creates a new video panel, start fetching the frame data.
Definition at line 44 of file VisVideo.java.
References org.hfbk.vis.visnode.VisVideo.fetcher, and org.dronus.graph.Node.text.
void org.hfbk.vis.visnode.VisVideo.add | ( | VisNode | node | ) |
ignore childs
Reimplemented from org.hfbk.vis.visnode.VisNode.
Definition at line 52 of file VisVideo.java.
void org.hfbk.vis.visnode.VisVideo.renderSelf | ( | ) | [package, virtual] |
render this movie panel.
Implements org.hfbk.vis.visnode.VisNode.
Definition at line 57 of file VisVideo.java.
References org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisVideo.fetcher, org.hfbk.vid.AVStreamingThread.getAudioSource(), org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisNodeMousable.h, org.dronus.gl.Texture.height, org.dronus.gl.Texture.imageheight, org.dronus.gl.Texture.imagewidth, org.hfbk.vis.visnode.VisVideo.playing, org.hfbk.vis.visnode.VisNode.radius, org.hfbk.vid.VideoTexture.render(), org.hfbk.vis.visnode.VisVideo.SCALE, org.hfbk.vid.VideoFetcher.streamer, org.hfbk.vid.VideoTexture.streamer, org.hfbk.vis.visnode.VisVideo.tex, org.hfbk.vis.visnode.VisNode.traverse(), org.hfbk.vis.visnode.VisNodeMousable.w, and org.dronus.gl.Texture.width.
Here is the call graph for this function:
void org.hfbk.vis.visnode.VisVideo.handleEvent | ( | VisMouseEvent | evt | ) | [package] |
on click we toggle the running state (pause, play)
Reimplemented from org.hfbk.vis.visnode.VisNodeDraggable.
Definition at line 91 of file VisVideo.java.
References org.hfbk.vis.visnode.VisVideo.playing, org.hfbk.vid.AVStreamingThread.setPlaying(), org.hfbk.vid.VideoTexture.streamer, and org.hfbk.vis.visnode.VisVideo.tex.
Here is the call graph for this function:
void org.hfbk.vis.visnode.VisVideo.closeSelf | ( | ) | [package] |
close VideoTexture to stop streaming.
Reimplemented from org.hfbk.vis.visnode.VisNode.
Definition at line 100 of file VisVideo.java.
References org.hfbk.vid.VideoTexture.close(), and org.hfbk.vis.visnode.VisVideo.tex.
Here is the call graph for this function:
final float org.hfbk.vis.visnode.VisVideo.SCALE = 15f [package] |
Definition at line 29 of file VisVideo.java.
Referenced by org.hfbk.vis.visnode.VisVideo.renderSelf().
VideoTexture org.hfbk.vis.visnode.VisVideo.tex = null [package] |
Definition at line 31 of file VisVideo.java.
Referenced by org.hfbk.vis.visnode.VisVideo.closeSelf(), org.hfbk.vis.visnode.VisVideo.handleEvent(), and org.hfbk.vis.visnode.VisVideo.renderSelf().
Definition at line 32 of file VisVideo.java.
Referenced by org.hfbk.vis.visnode.VisVideo.renderSelf(), and org.hfbk.vis.visnode.VisVideo.VisVideo().
String org.hfbk.vis.visnode.VisVideo.url [package] |
a related url. this is akward for this abstract class but currently most of VisNodes uses an url in some kind, we can process it more conveniently if defined in superclass.
Reimplemented from org.hfbk.vis.visnode.VisNode.
Definition at line 34 of file VisVideo.java.
boolean org.hfbk.vis.visnode.VisVideo.playing = true [package] |
if video is playing
Definition at line 39 of file VisVideo.java.
Referenced by org.hfbk.vis.visnode.VisVideo.handleEvent(), and org.hfbk.vis.visnode.VisVideo.renderSelf().