Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
igtl_transform.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   OpenIGTLink Library
00004   Module:    $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlutil/igtl_transform.h $
00005   Language:  C
00006   Date:      $Date: 2009-11-13 11:37:44 -0500 (Fri, 13 Nov 2009) $
00007   Version:   $Revision: 5335 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010 
00011   This software is distributed WITHOUT ANY WARRANTY; without even
00012   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00013   PURPOSE.  See the above copyright notices for more information.
00014 
00015 =========================================================================*/
00016 
00017 #ifndef __IGTL_TRANSFORM_H
00018 #define __IGTL_TRANSFORM_H
00019 
00020 #include "igtl_win32header.h"
00021 #include "igtl_util.h"
00022 
00023 #define IGTL_TRANSFORM_SIZE   48
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 /*
00030 typedef igtl_float32[12] transform;
00031 */
00032 
00033 /*
00034  * Byte order conversion for the header structure
00035  *
00036  * This function converts endianness of each member variable
00037  * in igtl_image_header from host byte order to network byte order,
00038  * or vice versa.
00039  */
00040 
00041 void igtl_export igtl_transform_convert_byte_order(igtl_float32* transform);
00042 
00043 
00044 /*
00045  * CRC calculation
00046  *
00047  * This function calculates CRC of transform data.
00048  *
00049  */
00050 
00051 igtl_uint64 igtl_export igtl_transform_get_crc(igtl_float32* transform);
00052 
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056 #endif /*__IGTL_TRANSFORM_H*/
00057 
00058 

Generated at Sat Dec 3 2011 08:54:20 for OpenIGTLink by doxygen 1.7.4 written by Dimitri van Heesch, © 1997-2000