~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-tools/tinatool/draw/drawTv_cmap.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  *
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  *
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-tools/tinatool/draw/drawTv_cmap.h,v $
 37  * Date    :  $Date: 2003/10/01 16:02:47 $
 38  * Version :  $Revision: 1.2 $
 39  * CVS Id  :  $Id: drawTv_cmap.h,v 1.2 2003/10/01 16:02:47 tony Exp $
 40  *
 41  * Author  : Legacy TINA
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #ifndef TINATOOL_DRAW_TV_CMAP_HDR
 49 #define TINATOOL_DRAW_TV_CMAP_HDR
 50 
 51 #include <tina/sys/sysDef.h>
 52 #include <tinatool/draw/draw_TvDef.h>
 53 
 54 #ifdef __cplusplus
 55 extern "C" {
 56 #endif /* __cplusplus */
 57 
 58 void    cmap_data_anag_fill(Cmap_data_visible * cmap_data_visible, int nlevels, int ngreys, int ncolors, int base);
 59 void    cmap_data_false_fill(Cmap_data_visible * cmap_data_visible, int nlevels, int base);
 60 void    cmap_data_color_fill(Cmap_data_visible * cmap_data_visible, Rgb * rgbs, int ncolors, int base);
 61 int tv_cmap_gamma_get(Tv *tv);
 62 void tv_cmap_gamma_set(Tv *tv, double newgam);
 63 void    cmap_data_grey_fill(Cmap_data_visible * cmap_data_visible, int ngreys, int base);
 64 void    cmap_data_named_color_fill(Cmap_data_visible * cmap_data_visible, char **color_names, int ncolors, int base);
 65 void    cmap_data_overlay_fill(Cmap_data_visible * cmap_data_visible, int noverlays);
 66 void    cmap_print(Cmap_data_visible * cmap_data_visible);
 67 int     ndefault_colors_set(int ndefault_colors_val);
 68 int     ndefault_colors_get(void);
 69 int     number_of_tina_colors(Cmap_model model, int nplanes);
 70 void    tina_colors_print(Tina_color * tina_colors, int size);
 71 void    tina_colors_set(Cmap_data_visible * cmap_data_visible, int ncolors);
 72 Cmap_data_visible *tv_generic_cmap_create(Tv * tv, int base, int ngreys, int anaglyph, Rgb * rgbs, int ncolors, int noverlay);
 73 Bool    tv_anag_cmap_create(Tv * tv, int base);
 74 Bool    tv_cmap_create(Tv * tv);
 75 Bool    tv_grey_cmap_create(Tv * tv, int base);
 76 Bool    tv_standard_cmap_create(Tv * tv, int base);
 77 Bool    tv_false_cmap_create(Tv * tv, int base);
 78 void    tv_cmap_create_fn_set(Tv * tv, Bool(*cmap_create_fn) (   ));
 79 void    tv_cmap_install(Tv * tv, void *cmap);
 80 void    tv_cmap_lookup_print(Tv * tv);
 81 
 82 #ifdef __cplusplus
 83 }
 84 #endif /* __cplusplus */
 85 #endif
 86 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.