public class DwCoordinateTransform extends Object
Modifier and Type | Field and Description |
---|---|
processing.core.PMatrix3D |
mat_projmodelview |
processing.core.PMatrix3D |
mat_projmodelview_inv |
processing.opengl.PGraphics3D |
pg |
float[] |
screen |
float[] |
world |
Constructor and Description |
---|
DwCoordinateTransform() |
Modifier and Type | Method and Description |
---|---|
void |
screenToWorld(float[] src_screen,
float[] dst_world) |
void |
screenToWorld(float x,
float y,
float z,
float[] dst_world) |
void |
transformToScreen(DwParticle3D particle,
float[] dst_screen) |
void |
useCurrentTransformationMatrix(processing.opengl.PGraphics3D pg) |
void |
worldToScreen(float[] src_world,
float[] dst_screen) |
void |
worldToScreen(float x,
float y,
float z,
float[] dst_screen) |
public processing.opengl.PGraphics3D pg
public float[] world
public float[] screen
public processing.core.PMatrix3D mat_projmodelview
public processing.core.PMatrix3D mat_projmodelview_inv
public void useCurrentTransformationMatrix(processing.opengl.PGraphics3D pg)
public void transformToScreen(DwParticle3D particle, float[] dst_screen)
public void worldToScreen(float x, float y, float z, float[] dst_screen)
public void worldToScreen(float[] src_world, float[] dst_screen)
public void screenToWorld(float[] src_screen, float[] dst_world)
public void screenToWorld(float x, float y, float z, float[] dst_world)
Processing library PixelFlow by Thomas Diewald. (c) 2017