|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdeadpixel.keystone.CornerPinSurface
public class CornerPinSurface
A simple Corner Pin keystoned surface. The surface is a quad mesh that can be skewed to an abitrary shape by moving its four corners.
Method Summary | |
---|---|
int |
getRes()
|
processing.core.PVector |
getTransformedMouse()
This function will give you the position of the mouse in the surface's coordinate system. |
boolean |
isMouseOver()
Returns true if the mouse is over this surface, false otherwise. |
void |
moveTo(float x,
float y)
|
void |
render(processing.core.PGraphics g,
processing.core.PImage texture)
Renders and applies keystoning to the image using a specific renderer. |
void |
render(processing.core.PImage texture)
Renders and applies keystoning to the image using the parent applet's renderer. |
void |
setControlPointsColor(int newColor)
Sets the control points color |
void |
setGridColor(int newColor)
Sets the grid used for calibration's color |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getRes()
public void render(processing.core.PImage texture)
public void render(processing.core.PGraphics g, processing.core.PImage texture)
public processing.core.PVector getTransformedMouse()
public void setGridColor(int newColor)
public void setControlPointsColor(int newColor)
public boolean isMouseOver()
public void moveTo(float x, float y)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |