Public web page of
EncodeShape
EncodeShape Project Definition ( v1x01 )
Overview
Translate a 3D shape into a pair of 2D RGB color images.
This program duplicates the results of the C program *rec131072_other_octants_.
Restrictions, Exclusions, Limitations
- Only works on cortical OBJ files used in fluid warp analysis
- Requires input data files of vertex lists and 8 triangle face definitions.
People Affected
Version
1.0
Requirements
- Java 1.4.2 is used to implement this reader
- Duplicate the output of the C program rec131072_other_octants.
Command line Options
Usage: java -jar
EncodeShape vertex.list triangle.list {-writeUcf } {-writeUif output.uif
| Option | Argument | default | description |
| -writeUcf | n/a/ | false | causes a UCF file of the octant to be written. |
| -writeUif | output uif file name | | causes a UIF file containing encoded integer coordinates to be written. |
two arguments are required, vertex.list and triangle.list.
- vertex.list is a an ascii list of coordinates, one vertex per line. There must be exactly 65538 vertices (lines) in this file.
- triangle.list is a list of the indices of the triangles of a surface. Each line defines one triangle by listing the indices of the vertices of the file. There must be exactly 16384 triangles (lines) in this file.
Requirements Change Procedure
- Changes to be mutually agreed upon by __ and __.
- Changes and their date will be entered in a 'requirements change' list.
Requirements Changes
Products
This project will result in the following products:
- An application program whose outputs are not unlike the SGI/Irix program rec131072_other_octants.
Typical Usage
Encode the shape defined by a vertex list, a set of faces, and write both ucf and uif output files.
java -jar EncodeShape.jar -writeUcf testdata/FULLvertex.list testdata/64K_tri0_1oct.list -writeUif FULLvertex.cs.1_ord.uif
Lessons Learned
(filled out after the post-project review)