|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodeanticode.syphon.SyphonClient
public class SyphonClient
Syphon client class. It receives textures from a Syphon server.
Field Summary | |
---|---|
processing.core.PGraphics |
tempDest
|
Constructor Summary | |
---|---|
SyphonClient(processing.core.PApplet parent,
java.lang.String serverName)
Constructor that binds this client to the specified named server. |
Method Summary | |
---|---|
boolean |
available()
Returns true if a new frame is available. |
java.util.Dictionary<java.lang.String,java.lang.String> |
description()
Returns a description of the server. |
processing.core.PGraphics |
getGraphics(processing.core.PGraphics dest)
Copies the new frame to a PGraphics object. |
processing.core.PImage |
getImage(processing.core.PImage dest)
|
processing.core.PImage |
getImage(processing.core.PImage dest,
boolean loadPixels)
Copies the new frame to a PImage object. |
void |
stop()
Stops the client. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public processing.core.PGraphics tempDest
Constructor Detail |
---|
public SyphonClient(processing.core.PApplet parent, java.lang.String serverName)
parent
- serverName
- Method Detail |
---|
public java.util.Dictionary<java.lang.String,java.lang.String> description()
public boolean available()
public processing.core.PGraphics getGraphics(processing.core.PGraphics dest)
dest
- public processing.core.PImage getImage(processing.core.PImage dest)
public processing.core.PImage getImage(processing.core.PImage dest, boolean loadPixels)
dest
- public void stop()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |