public class RenderFrame2D extends Object
Constructor and Description |
---|
RenderFrame2D() |
Modifier and Type | Method and Description |
---|---|
void |
addCloseListener(Runnable r) |
JPanel |
buildPanel() |
static RenderFrame2D |
createRenderingMeshFrame() |
double |
interpolateLineWidth(double back,
double front,
double depth) |
static void |
main(String[] args) |
void |
render() |
void |
renderConnections(deformablemesh.gui.render2d.RenderFrame2D.Camera camera,
List<Connection3D> list,
Color color) |
void |
renderMeshes(deformablemesh.gui.render2d.RenderFrame2D.Camera camera) |
void |
renderTriangles(deformablemesh.gui.render2d.RenderFrame2D.Camera camera,
List<Triangle3D> list,
Color color) |
void |
rotateViewPhi(double dphi) |
void |
rotateViewTheta(double dtheta) |
void |
setDefaultView() |
void |
setFrame(int frame)
Only meshes existing in the current frame are rendered.
|
void |
setTracks(List<Track> tracks) |
void |
setViews(double[] direction,
double[] approximatelyUp) |
void |
stopRunning() |
public void setFrame(int frame)
frame
- public void renderConnections(deformablemesh.gui.render2d.RenderFrame2D.Camera camera, List<Connection3D> list, Color color)
public double interpolateLineWidth(double back, double front, double depth)
public void setDefaultView()
public void rotateViewPhi(double dphi)
public void rotateViewTheta(double dtheta)
public void setViews(double[] direction, double[] approximatelyUp)
public JPanel buildPanel()
public void stopRunning()
public void addCloseListener(Runnable r)
public static RenderFrame2D createRenderingMeshFrame()
public static void main(String[] args) throws IOException
IOException
public void render()
public void renderMeshes(deformablemesh.gui.render2d.RenderFrame2D.Camera camera)
public void renderTriangles(deformablemesh.gui.render2d.RenderFrame2D.Camera camera, List<Triangle3D> list, Color color)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.