Skip to content, Skip to search

Changes

TrakEM2 Scripting

314 bytes added, 03:25, 6 April 2011
Generate 3D mesh for an AreaTree
</source>
The [http://pacific.mpi-cbg.de/javadoc/ini/trakem2/display/AreaTree.html AreaTree]'s generateMesh returns a [http://pacific.mpi-cbg.de/javadoc/ini/trakem2/display/Tree.MeshData.html MeshData] object with the list of vertices and the list of colors of each vertex. The <i>generateTriangles</i> method of an [http://pacific.mpi-cbg.de/javadoc/ini/trakem2/display/AreaTree.html AreaTree ] returns a list of [http://download.java.net/media/java3d/javadoc/1.5.2-latest/javax/vecmath/Point3f.html Point3f ] that are ready for creating a [http://pacific.mpi-cbg.de/javadoc/customnode/CustomLineMesh .html CustomLineMesh] (in PAIRWISE mode) to represent the skeleton.
= Save the project while running a task =
Emailconfirmed, uploaders
653
edits