Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

bitlist.h

Go to the documentation of this file.
00001 #ifndef DEF_BITLIST 00002 #define DEF_BITLIST 00003 00004 /* ---------------------------------------------------------------------------- 00005 @COPYRIGHT : 00006 Copyright 1993,1994,1995 David MacDonald, 00007 McConnell Brain Imaging Centre, 00008 Montreal Neurological Institute, McGill University. 00009 Permission to use, copy, modify, and distribute this 00010 software and its documentation for any purpose and without 00011 fee is hereby granted, provided that the above copyright 00012 notice appear in all copies. The author and McGill University 00013 make no representations about the suitability of this 00014 software for any purpose. It is provided "as is" without 00015 express or implied warranty. 00016 ---------------------------------------------------------------------------- */ 00017 00018 /* ----------------------------- MNI Header ----------------------------------- 00019 @NAME : bitlist.h 00020 @INPUT : 00021 @OUTPUT : 00022 @RETURNS : 00023 @DESCRIPTION: A header file for routines that manipulate bitlists, which 00024 : are simply arrays of individually addressable bits. 00025 @METHOD : 00026 @GLOBALS : 00027 @CALLS : 00028 @CREATED : David MacDonald 00029 @MODIFIED : 00030 ---------------------------------------------------------------------------- */ 00031 00032 00033 #include <volume_io.h> 00034 00035 typedef unsigned int bitlist_type; 00036 00037 #define BITS_PER_BITLIST_WORD 32 00038 #define BITS_PER_BITLIST_WORD_MINUS_1 31 00039 #define LOG_BITS_PER_BITLIST_WORD 5 00040 00041 typedef struct 00042 { 00043 int n_words; 00044 bitlist_type *bits; 00045 } bitlist_struct; 00046 00047 typedef struct 00048 { 00049 int nx, ny, nz; 00050 int n_z_words; 00051 bitlist_type ***bits; 00052 } bitlist_3d_struct; 00053 00054 #endif

Generated on Wed Jul 28 09:10:56 2004 for BICPL by doxygen 1.3.7