Woolz Image Processing  Version 1.7.5
WlzExtFFNodeEle.c File Reference

Functions for reading and writting Woolz objects to and from the the two part .node/.ele tetrahedral mesh file format used by Jonathan Shewchuk in Stellar. More...

Functions

WlzErrorNum WlzEffNodeEleFileNames (char **fileBody, char **nodeFileName, char **eleFileName, const char *gvnFileName)
 Builds the node/ele file names from the given file name. These strings should be free'd using AlcFree() when no longer required. More...
 
WlzObjectWlzEffReadObjNodeEle (const char *gvnFileName, WlzErrorNum *dstErr)
 Reads a Woolz object from a pair of files using the node/ele format. The given file name is used to generate the '.node' and '.ele' filenames. More...
 
WlzErrorNum WlzEffWriteObjNodeEle (const char *gvnFileName, WlzObject *obj)
 Writes the given Woolz object to a pair of files using the node/ele two part mesh file format. The given file name is used to generate the '.node' and '.ele' filenames. More...
 

Detailed Description

Functions for reading and writting Woolz objects to and from the the two part .node/.ele tetrahedral mesh file format used by Jonathan Shewchuk in Stellar.

Author
Bill Hill
Date
September 2009
Version
Id
132b74217bdd49978009e619c39c438aca43c3e0
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. The file formats are as follows:

        .node Files
        <n nodes> <dimension> <n attributes> <n boundary markers>
        1 <x_1> <y_1> <z_1>
        ...
        <n nodes> <x_n> <y_n> <z_n>

        .ele files
        <n elements> <n nodes per element> [n attributes>
        1 <n_i> <n_j> <n_k> ... <n_n> [<a_1>  ... <a_n>]
        ...
        <n elmements> <n_o> <n_p> <n_q> ... <n_n> [<a_1>  ... <a_n>]

Blank lines and comments are allowed with comments being the remainder of any record floowing a '#'.

Todo:
Bug:
None known.