L3D
Class Streaming

java.lang.Object
  extended by L3D.Streaming

public class Streaming
extends Object


Field Summary
static String address
           
static L3D_UDP udp
           
 
Constructor Summary
Streaming()
           
Streaming(int _port)
           
Streaming(int _port, String ip)
           
Streaming(String ip)
           
 
Method Summary
static int blue(int col)
           
static byte colorByte(int col)
           
static int green(int col)
           
static int red(int col)
           
static void sendData(String _address, byte[] data)
           
static byte[] serializeCube(int[][][] cube)
           
static void setPort(int _port)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

udp

public static L3D_UDP udp

address

public static String address
Constructor Detail

Streaming

public Streaming()

Streaming

public Streaming(int _port)

Streaming

public Streaming(String ip)

Streaming

public Streaming(int _port,
                 String ip)
Method Detail

serializeCube

public static byte[] serializeCube(int[][][] cube)

sendData

public static void sendData(String _address,
                            byte[] data)

colorByte

public static byte colorByte(int col)

red

public static int red(int col)

green

public static int green(int col)

blue

public static int blue(int col)

setPort

public static void setPort(int _port)


Processing library L3D by Alex Hornstein. (c) 2015