public class ViewVolumeRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
ViewVolumeRenderer.OrderedViewVolume |
Modifier and Type | Field and Description |
---|---|
protected double |
size |
Constructor and Description |
---|
ViewVolumeRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
draw(DrawContext dc,
Matrix modelview,
Matrix projection,
java.awt.Rectangle viewport) |
protected void |
drawAxes(DrawContext dc,
Matrix modelview) |
protected void |
drawClipVolume(DrawContext dc,
Matrix modelview,
Matrix projection,
java.awt.Rectangle viewport) |
protected static void |
drawLine(DrawContext dc,
Vec4 a,
Vec4 b) |
protected static void |
drawQuad(DrawContext dc,
Vec4 ll,
Vec4 lr,
Vec4 ur,
Vec4 ul) |
protected static void |
drawTriangle(DrawContext dc,
Vec4 a,
Vec4 b,
Vec4 c) |
protected static void |
drawVolume(DrawContext dc,
Matrix modelview,
Matrix projection,
java.awt.Rectangle viewport) |
double |
getSize() |
void |
render(DrawContext dc,
Matrix modelview,
Matrix projection,
java.awt.Rectangle viewport) |
void |
setSize(double size) |
protected static Vec4 |
worldPointFromScreenPoint(DrawContext dc,
java.awt.Rectangle viewport,
Matrix modelview,
Matrix projection,
Vec4 screenPoint) |
protected void draw(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
protected void drawAxes(DrawContext dc, Matrix modelview)
protected void drawClipVolume(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
protected static void drawLine(DrawContext dc, Vec4 a, Vec4 b)
protected static void drawQuad(DrawContext dc, Vec4 ll, Vec4 lr, Vec4 ur, Vec4 ul)
protected static void drawTriangle(DrawContext dc, Vec4 a, Vec4 b, Vec4 c)
protected static void drawVolume(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
public double getSize()
public void render(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
public void setSize(double size)
protected static Vec4 worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)