Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

xim.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002    Major portions of this software are copyrighted by the Medical College
00003    of Wisconsin, 1994-2000, and are released under the Gnu General Public
00004    License, Version 2.  See the file README.Copyright for details.
00005 ******************************************************************************/
00006    
00007 #ifndef _MCW_XIM_HEADER_
00008 #define _MCW_XIM_HEADER_
00009 
00010 #include <stdio.h>
00011 #include <stdlib.h>
00012 #include <string.h>
00013 
00014 #include <X11/X.h>
00015 #include <X11/Intrinsic.h>
00016 
00017 #include "mrilib.h"
00018 #include "display.h"
00019 
00020 extern void MCW_kill_XImage( XImage * ) ;
00021 extern XImage * mri_to_XImage( MCW_DC * , MRI_IMAGE * ) ;
00022 extern XImage * resize_XImage( MCW_DC * , XImage * , int , int ) ;
00023 extern MRI_IMAGE * XImage_to_mri( MCW_DC * , XImage * , int ) ;
00024 
00025 extern XImage * pixar_to_XImage( MCW_DC * , int,int , Pixel * ) ;
00026 extern XImage * rgb_to_XImage( MCW_DC * , MRI_IMAGE * ) ;
00027 
00028 #define X2M_USE_CMAP  (1<<0)  /* masks for XImage_to_mri() 3rd arg */
00029 #define X2M_FORCE_RGB (1<<1)
00030 
00031 extern void ISQ_snapfile( Widget w ) ;  /* 25 Jun 2003 */
00032 extern MRI_IMAGE * SNAP_grab_image( Widget , MCW_DC * ) ;
00033 
00034 
00035 #endif /* _MCW_XIM_HEADER_ */
 

Powered by Plone

This site conforms to the following standards: