public final class RenderBoxHelper extends Object
| Constructor and Description |
|---|
RenderBoxHelper() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
project(double[] point)
Project a point.
|
void |
project(double[] point,
double[] projection)
Project a point.
|
void |
renderBox(RealInterval sourceInterval,
AffineTransform3D transform,
GeneralPath front,
GeneralPath back,
GeneralPath intersection) |
double[] |
reproject(double x,
double y,
double z)
Reproject a point
|
void |
setDepth(double depth) |
void |
setOrigin(double x,
double y) |
void |
setPerspectiveProjection(boolean b) |
void |
setScale(double scale) |
public void setPerspectiveProjection(boolean b)
public void setScale(double scale)
public void setDepth(double depth)
public void setOrigin(double x,
double y)
public void project(double[] point,
double[] projection)
point - point to projectprojection - projected point is stored herepublic double[] project(double[] point)
point - point to projectpublic double[] reproject(double x,
double y,
double z)
x - projected xy - projected yz - z plane to which to reprojectpublic void renderBox(RealInterval sourceInterval, AffineTransform3D transform, GeneralPath front, GeneralPath back, GeneralPath intersection)
Copyright © 2015–2021 Fiji. All rights reserved.