public class HomographyCameraConfig extends Object implements CameraConfig
| Constructor and Description |
|---|
HomographyCameraConfig() |
HomographyCameraConfig(float f,
float g) |
HomographyCameraConfig(float fx,
float fy,
float cx,
float cy,
float k1,
float k2,
float p1,
float p2) |
| Modifier and Type | Method and Description |
|---|---|
String |
asciiHeader()
Header for ascii input.
|
void |
readASCII(Scanner in)
Read internal state from in.
|
Touch |
transformTouch(Touch point) |
void |
writeASCII(PrintWriter out)
Write the content of this as ascii to out.
|
public HomographyCameraConfig()
public HomographyCameraConfig(float f, float g)
public HomographyCameraConfig(float fx, float fy, float cx, float cy, float k1, float k2, float p1, float p2)
public Touch transformTouch(Touch point)
transformTouch in interface CameraConfigpublic String asciiHeader()
ReadableASCIIasciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIpublic void readASCII(Scanner in) throws IOException
ReadableASCIIreadASCII in interface ReadableASCIIin - source to read from.IOException - an error reading inputpublic void writeASCII(PrintWriter out) throws IOException
WriteableASCIIwriteASCII in interface WriteableASCIIout - sink to write toIOException - an error writing to out