Uses of Interface
net.imglib2.mesh.Mesh
-
Packages that use Mesh Package Description net.imglib2.mesh net.imglib2.mesh.alg net.imglib2.mesh.alg.hull net.imglib2.mesh.alg.zslicer net.imglib2.mesh.impl.naive Implementations ofMeshthat are based on arrays of floats and doubles usinggnu.trove.list.array.net.imglib2.mesh.impl.nio Mesh implemented usingBufferobjects.net.imglib2.mesh.io.ply net.imglib2.mesh.io.stl net.imglib2.mesh.util General utils to manipulate and interrogate meshes.net.imglib2.mesh.view -
-
Uses of Mesh in net.imglib2.mesh
Methods in net.imglib2.mesh that return Mesh Modifier and Type Method Description static MeshMeshes. boundingBoxMesh(Mesh input)Computes and returns an oriented bounding boxMeshstatic <T extends BooleanType<T>>
MeshMeshes. marchingCubes(RandomAccessibleInterval<T> source)Creates mesh e.g.static <T extends RealType<T>>
MeshMeshes. marchingCubes(RandomAccessibleInterval<T> source, double isoLevel)Creates mesh e.g.MeshTriangle. mesh()The mesh to which the triangle belongs.MeshTriangles. mesh()The mesh to which the collection of triangles belongs.MeshVertex. mesh()The mesh to which the vertex belongs.MeshVertices. mesh()The mesh to which the collection of vertices belongs.static MeshMeshes. simplify(Mesh mesh, float target_percent, float agressiveness)Simplifies a given mesh.Methods in net.imglib2.mesh with parameters of type Mesh Modifier and Type Method Description static RealIntervalMeshes. boundingBox(Mesh mesh)Computes and returns an oriented bounding boxRealIntervalstatic MeshMeshes. boundingBoxMesh(Mesh input)Computes and returns an oriented bounding boxMeshstatic voidMeshes. calculateNormals(Mesh src, Mesh dest)Calculates the normals for a mesh.static RealPointMeshes. center(Mesh m)Finds the center of a mesh using vertices.static RealPointMeshStats. centroid(Mesh input)Returns the centroid of the mesh, that is the center of gravity of its volume.static doubleMeshStats. compactness(Mesh mesh)Returns the compactness of the mesh.static Iterable<BufferMesh>Meshes. connectedComponents(Mesh mesh)Returns an iterable over the connected components of the specified mesh.static doubleMeshStats. convexHullSurfaceArea(Mesh mesh)Computes the surface area of the convex hull of the specified mesh.static longMeshStats. convexHullVerticesCount(Mesh input)Describes the number of vertices on the surface of the convex hull ofMesh.static doubleMeshStats. convexHullVolume(Mesh mesh)Computes the volume of the convex hull of the specified mesh.static doubleMeshStats. convexity(Mesh mesh)Returns the convexity of a mesh.static doubleMeshStats. convexity(Mesh mesh, Mesh convexHull)Returns the convexity of a mesh.static voidMeshes. copy(Mesh src, Mesh dest)Copies a mesh into another mesh.static RealMatrixMeshStats. elongation(Mesh input)Describes the elogation of aMesh.static doubleMeshStats. mainElongation(Mesh input)Describes the elongation of the two larger principle axes of the minimum box containing aMesh.static doubleMeshStats. medianElongation(Mesh input)Describes the elongation of the two smaller principle axes of the minimum box containing aMesh.static intMeshes. nConnectedComponents(Mesh mesh)Returns the number of connected components in the specified mesh.static BufferMeshMeshes. removeDuplicateVertices(Mesh mesh, int precision)Creates a new mesh from a given mesh without any duplicate vertices.static voidMeshes. scale(Mesh mesh, double[] scale)Scales the vertices position by the amount specified by the array.static MeshMeshes. simplify(Mesh mesh, float target_percent, float agressiveness)Simplifies a given mesh.static doubleMeshStats. solidity(Mesh mesh)Returns the solidity of a mesh.static doubleMeshStats. solidity(Mesh mesh, Mesh convexHull)Returns the solidity of a mesh.static doubleMeshStats. spareness(Mesh input)Describes the spareness of aMesh.static doubleMeshStats. sphericity(Mesh mesh)Returns the sphericity of a mesh.static doubleMeshStats. surfaceArea(Mesh mesh)Returns the surface area of a mesh.static voidMeshes. translate(Mesh mesh, double[] translate)Translates the vertices position by the amount specified by the array.static voidMeshes. translateScale(Mesh mesh, double[] translate, double[] scale)Translates the vertices position by the amount specified by the array, then scales the coordinates.static longMeshStats. verticesCount(Mesh input)Describes the number of vertices on the surface of aMesh.static doubleMeshStats. volume(Mesh mesh)Computes the volume of the specified mesh.Method parameters in net.imglib2.mesh with type arguments of type Mesh Modifier and Type Method Description static BufferMeshMeshes. merge(Iterable<Mesh> meshes) -
Uses of Mesh in net.imglib2.mesh.alg
Methods in net.imglib2.mesh.alg that return Mesh Modifier and Type Method Description static <T extends BooleanType<T>>
MeshMarchingCubesBooleanType. calculate(RandomAccessibleInterval<T> input)Generates aMeshsurface from aRandomAccessibleInterval, containing all points with data valuetruestatic <T extends RealType<T>>
MeshMarchingCubesRealType. calculate(RandomAccessibleInterval<T> input, double isoLevel)Generates aMeshsurface from aRandomAccessibleInterval, containing all points with data valueisolevelstatic <T extends BooleanType<T>>
MeshMarchingCubesBooleanType. compute(RandomAccessibleInterval<T> input, Mesh output)static <T extends RealType<T>>
MeshMarchingCubesRealType. compute(RandomAccessibleInterval<T> input, double isoLevel, Mesh output)MeshSimplifyMesh. simplify(float target_percent, double agressiveness)Begins the simplification process.Methods in net.imglib2.mesh.alg with parameters of type Mesh Modifier and Type Method Description static RealMatrixInertiaTensor. calculate(Mesh input)Computes the inertia tensor.static BufferMeshRemoveDuplicateVertices. calculate(Mesh mesh, int precision)static <T extends BooleanType<T>>
MeshMarchingCubesBooleanType. compute(RandomAccessibleInterval<T> input, Mesh output)static <T extends RealType<T>>
MeshMarchingCubesRealType. compute(RandomAccessibleInterval<T> input, double isoLevel, Mesh output)static EllipsoidFitter.EllipsoidEllipsoidFitter. fit(Mesh mesh)Fit an ellipsoid to the convex-Hull of a 3D mesh.static EllipsoidFitter.EllipsoidEllipsoidFitter. fitOnConvexHull(Mesh mesh)Fit an ellipsoid to a 3D mesh, assuming it is the convex-Hull.static Iterable<BufferMesh>MeshConnectedComponents. iterable(Mesh mesh)static Iterator<BufferMesh>MeshConnectedComponents. iterator(Mesh mesh)static intMeshConnectedComponents. n(Mesh mesh)Returns the number of connected components in this mesh.static BufferMeshTaubinSmoothing. smooth(Mesh mesh)Smooth the specified mesh using the Taubin smoothing algorithm, with default parameters.static BufferMeshTaubinSmoothing. smooth(Mesh mesh, int iters, double passBand)Smooth the specified mesh using the Taubin smoothing algorithm, using cotangent weights.static BufferMeshTaubinSmoothing. smooth(Mesh mesh, int iters, double lambda, double mu, TaubinSmoothing.TaubinWeightType weightType)Smooth the specified mesh using the Taubin smoothing algorithm.static Img<BitType>Voxelization. voxelize(Mesh mesh, int width, int height, int depth)Voxelizesmeshstatic Img<BitType>Voxelization. voxelize(Mesh mesh, Dimensions dims)Voxelizesmeshstatic <B extends BooleanType<B>>
voidVoxelization. voxelize(Mesh mesh, RandomAccessibleInterval<B> out)VoxelizesmeshConstructors in net.imglib2.mesh.alg with parameters of type Mesh Constructor Description Interior(Mesh mesh, double scale)Interior(Mesh mesh, RealInterval boundingBox, double scale)MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal)MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal, RealInterval boundingBox)MeshIterable(RandomAccessible<T> ra, Mesh mesh, double[] calibration)Creates an iterable for the pixels of the specified image inside the specified mesh.MeshIterable(RandomAccessible<T> ra, Mesh mesh, double[] calibration, RealInterval boundingBox)Creates an iterable for the pixels of the specified image inside the specified mesh.MollerTrumbore(Mesh mesh)SimplifyMesh(Mesh mesh) -
Uses of Mesh in net.imglib2.mesh.alg.hull
Methods in net.imglib2.mesh.alg.hull with parameters of type Mesh Modifier and Type Method Description static NaiveDoubleMeshConvexHull. calculate(Mesh input)Computes the convex hull of aMeshstatic doubleConvexHull. calculateEpsilon(Mesh input)Computes the tolerance (epsilon) of the Mesh. -
Uses of Mesh in net.imglib2.mesh.alg.zslicer
Methods in net.imglib2.mesh.alg.zslicer with parameters of type Mesh Modifier and Type Method Description static SliceZSlicer. slice(Mesh mesh, double z, double zScale)Slice a mesh by a Z-plane.static List<Slice>ZSlicer. slices(Mesh mesh, double[] zs, double zScale) -
Uses of Mesh in net.imglib2.mesh.impl.naive
Classes in net.imglib2.mesh.impl.naive that implement Mesh Modifier and Type Class Description classNaiveDoubleMeshclassNaiveFloatMeshMethods in net.imglib2.mesh.impl.naive that return Mesh Modifier and Type Method Description MeshNaiveDoubleMesh.Triangles. mesh()MeshNaiveDoubleMesh.Vertices. mesh()MeshNaiveFloatMesh.Triangles. mesh()MeshNaiveFloatMesh.Vertices. mesh() -
Uses of Mesh in net.imglib2.mesh.impl.nio
Classes in net.imglib2.mesh.impl.nio that implement Mesh Modifier and Type Class Description classBufferMeshMesh implemented usingBufferobjects.Methods in net.imglib2.mesh.impl.nio that return Mesh Modifier and Type Method Description MeshBufferMesh.Triangles. mesh()MeshBufferMesh.Vertices. mesh() -
Uses of Mesh in net.imglib2.mesh.io.ply
Methods in net.imglib2.mesh.io.ply with parameters of type Mesh Modifier and Type Method Description static voidPLYMeshIO. read(File plyFile, Mesh mesh)static voidPLYMeshIO. read(InputStream plyIS, Mesh mesh)static voidPLYMeshIO. save(Mesh data, String destination)static byte[]PLYMeshIO. writeAscii(Mesh mesh)static byte[]PLYMeshIO. writeBinary(Mesh mesh) -
Uses of Mesh in net.imglib2.mesh.io.stl
Methods in net.imglib2.mesh.io.stl that return Mesh Modifier and Type Method Description static MeshSTLMeshIO. open(String source)Methods in net.imglib2.mesh.io.stl with parameters of type Mesh Modifier and Type Method Description static voidSTLMeshIO. read(Mesh mesh, byte[] data)static voidSTLMeshIO. read(Mesh mesh, File stlFile)static voidSTLMeshIO. save(Mesh data, String destination)static byte[]STLMeshIO. write(Mesh mesh)Writes the facets into a byte[] that can then be saved into a file -
Uses of Mesh in net.imglib2.mesh.util
Methods in net.imglib2.mesh.util that return Mesh Modifier and Type Method Description static MeshIcosahedron. core()Methods in net.imglib2.mesh.util with parameters of type Mesh Modifier and Type Method Description static BufferMeshIcosahedron. refine(Mesh core)Creates a new, finer icosahedron, based on the one specified, by subdividing each triangle into 4 smaller triangle, with vertices still on the icosahedron.static StringMeshUtil. triangleStr(Mesh mesh, long id)Produces a string representation of a triangle. -
Uses of Mesh in net.imglib2.mesh.view
Classes in net.imglib2.mesh.view that implement Mesh Modifier and Type Class Description classTranslateMeshRead-only view of a mesh where vertices are translated by a fixed amount.Methods in net.imglib2.mesh.view that return Mesh Modifier and Type Method Description static MeshTranslateMesh. translate(Mesh in, RealLocalizable t)Methods in net.imglib2.mesh.view with parameters of type Mesh Modifier and Type Method Description static MeshTranslateMesh. translate(Mesh in, RealLocalizable t)
-