public class Cube extends Object implements AxisConstants, Comparable<Cube>
Modifier and Type | Field and Description |
---|---|
static int |
OUTSIDE_CANVAS |
static double |
RES_THRESHOLD |
static int |
RESOLUTION_SUFFICIENT |
static int |
RESOLUTION_UNSUFFICIENT |
Constructor and Description |
---|
Cube(VolumeOctree oct,
String dir,
int x,
int y,
int z,
int l) |
Modifier and Type | Method and Description |
---|---|
int |
checkResolution(Canvas3D canvas,
Transform3D volToIP) |
void |
collectCubes(List<Cube> cubes,
int axis)
axis One of X_AXIS, Y_AXIS or Z_AXIS
|
int |
compareTo(Cube other) |
void |
createChildren() |
Cube |
createCube(VolumeOctree oct,
String dir,
int x,
int y,
int z,
int l) |
Cube[] |
getChildren() |
void |
hideSelf() |
void |
hideSubtree() |
void |
prepareForAxis(int axis,
Point3d eyePosInLocal) |
String |
toString() |
void |
update(Canvas3D canvas,
Transform3D volToIP) |
public static final int RESOLUTION_SUFFICIENT
public static final int RESOLUTION_UNSUFFICIENT
public static final int OUTSIDE_CANVAS
public static final double RES_THRESHOLD
public Cube(VolumeOctree oct, String dir, int x, int y, int z, int l)
public Cube createCube(VolumeOctree oct, String dir, int x, int y, int z, int l)
public Cube[] getChildren()
public void prepareForAxis(int axis, Point3d eyePosInLocal)
public void collectCubes(List<Cube> cubes, int axis)
public void hideSelf()
public void hideSubtree()
public void update(Canvas3D canvas, Transform3D volToIP)
public int checkResolution(Canvas3D canvas, Transform3D volToIP)
public void createChildren()
public int compareTo(Cube other)
compareTo
in interface Comparable<Cube>
Copyright © 2015–2021 Fiji. All rights reserved.