public class RayCastMesh extends Object
Constructor and Description |
---|
RayCastMesh() |
Modifier and Type | Method and Description |
---|---|
static DeformableMesh3D |
fiveTriangleSphere() |
static void |
main(String[] args) |
static DeformableMesh3D |
rayCastMesh(Interceptable object,
double[] origin,
int divisions) |
static DeformableMesh3D |
rayCastMesh(List<Interceptable> objects,
double[] origin,
int divisions)
Checks for interceptsion of all of the included objects.
|
static DeformableMesh3D |
sixTriangleSphere() |
static DeformableMesh3D |
sphereRayCastMesh(int divisions) |
static DeformableMesh3D |
sphericalRayCastBinaryStack(MeshImageStack stack,
int divisions) |
static void |
subDivideMesh(DeformableMesh3D mesh)
Quadruple the number of triangles in a mesh.
|
public static DeformableMesh3D fiveTriangleSphere()
public static DeformableMesh3D rayCastMesh(Interceptable object, double[] origin, int divisions)
public static DeformableMesh3D rayCastMesh(List<Interceptable> objects, double[] origin, int divisions)
objects
- origin
- divisions
- public static DeformableMesh3D sixTriangleSphere()
public static DeformableMesh3D sphereRayCastMesh(int divisions)
public static void subDivideMesh(DeformableMesh3D mesh)
mesh
- public static void main(String[] args)
public static DeformableMesh3D sphericalRayCastBinaryStack(MeshImageStack stack, int divisions)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.