tools



for an up-to-date list of iris explorer modules see:
cacr-caltech module repository

no longer updated
iris explorer modules
  • TecTetraReader
    TecTetraReader.mres TecTetraReader.c stringPlus.c
    reads a tec text formated unstructured field of tetrahedrons. the addvar option allows you to add a variable to keep track of each of the different elements in the file (see PyrElementRangeSelect.) indexes describing the tetrahedron vertices are expected to begin from 1 (vs. 0).

  • PyrElementRangeSelect
    PyrElementRangeSelect.mres PyrElementRangeSelect.c
    takes in an iris explorer pyramid as input (as read by TecTetraReader or TecFieldReader, with added var for element tracking purposes) and selects out a specified range of elements, and outputs a new pyramid of these (data variables kept the same).

  • TecFieldReader
    TecFieldReader.mres TecFieldReader.c stringPlus.c
    reads a tec formated unstructured field into a 3d brick (hexaheadron) iris explorer pyramid

  • BrickFieldToUniformLat
    BrickFieldToUniformLat.mres BrickFieldToUniformLat.c
    transforms a brick field as read from the TecFieldReader into a uniform latice. this module is specially usefull for contour cuts and reduced volume rendering.

  • TraceParticle
    TraceParticle.mres TraceParticle.c
    this module traces a particle (path optional) across a vector field in a brick field (as read from TecFieldReade). it outputs an inventor file, which may be read with the ReadGeom module.



  • other tools and scripts
  • tecTetrasToMesh
    tecTetrasToMesh.c
    c program which takes a tec tetrahedron mesh as input and outputs a triangle mesh (or animation of) in inventor format. a color map (as explorer lattice text file) may be also passed to add color to mesh. options:
    -separate: for each tetrahedron group, looks for independent subsets and separates then accordingly
    -uniform: sets uniform color for each subse of mesh (as specified in -separate)
    -colorize: will set color to vertex according to fourth value in data field
    -animate: animates different tetrahedron groups
    -printfield: prints field value as comment for each vertex
    -speed <speed>: sets speed for animation in cycles/second
    -period <period>: sets speed for animation in seconds/cycle
    -colortable <filename>: inputs file name for color table to be used

  • splitchildren
    splitchildren.awk
    awk script that splits an text inventor file containing Separator nodes with meshes within, into n different files. (used with resulting animation from above tecTetrasToMesh)

  • ls2html
    ls2thml
    csh script which converts a directory listing into a fairly nice looking html file. -l flag adds size detail. -lk flag shows size in kb.

  • breackTecElemenets
    breakTecElements.awk
    awk script which parses out different elements in a tec file into separate files. (using key word "ZONE" to find boudaries)

  • changespeed
    changespeed
    csh script (using sed) which changes the speed of an animation in text inventor format (.iv ) which uses a blinker.

  • rgbhex
    rgbhex.java rgbhex.class
    java program which allows a user to pic and rgb color and conver it to hex from decimal and vice versa.

  • stripper
    stripper.c stripper
    c program which takes on large triangular inventor format (.iv ) file containing an indexed face set and outputs triangle strips out of it.



  • download
       
    module ver date mres src tar gz zip
    TecTetraReader v.1.3 22.01.99 TecTetraReader.mres TecTetraReader.c
    stringPlus.c
    TecTetraReader.tar.gz TecTetraReader.zip
    PyrElementRangeSelect v.1.1 22.01.99 PyrElementRangeSelect.mres PyrElementRangeSelect.c PyrElementRangeSelect.tar.gz PyrElementRangeSelect.zip
    TecFieldReader v.1.1 26.02.99 TecFieldReader.mres TecFieldReader.c stringPlus.c TecFieldReader.tar.gz TecFieldReader.zip
    BrickFieldToUniformLat v.1.1 26.02.99 BrickFieldToUniformLat.mres BrickFieldToUniformLat.c fieldHandler.c BrickFieldToUniformLat.tar.gz BrickFieldToUniformLat.zip
    TraceParticle v.1.1 26.02.99 TraceParticle.mres TraceParticle.c fieldHandler.c TraceParticle.tar.gz TraceParticle.zip
    ls2html v.1.1 21.01.99 n/a ls2html ls2html.gz ls2html.zip
    changespeed v.1.1 21.01.99 n/a changespeed changespeed.gz changespeed.zip
    splitchildren v.1.1 21.01.99 n/a splitchildren splitchildren.gz splitchildren.zip
    All v.1.21 22.01.99 n/a n/a All.tar.gz All.zip
     
    to recompile modules run mbuilder, open the appropiate module's .mres, then select build and install menu option. make sure EXPLORERUSERHOME is correctly set (with setenv in unix shells, system properties in nt systems). if you run into any problems contact santiago v lombeyda. (compiled exectuables may be available for some platforms).

    page by santiago v lombeyda   1999 ©