Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Source
igtlutil
igtl_transform.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: OpenIGTLink Library
4
Module: $HeadURL: http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlutil/igtl_transform.h $
5
Language: C
6
Date: $Date: 2009-11-13 11:37:44 -0500 (Fri, 13 Nov 2009) $
7
Version: $Revision: 5335 $
8
9
Copyright (c) Insight Software Consortium. All rights reserved.
10
11
This software is distributed WITHOUT ANY WARRANTY; without even
12
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
PURPOSE. See the above copyright notices for more information.
14
15
=========================================================================*/
16
17
#ifndef __IGTL_TRANSFORM_H
18
#define __IGTL_TRANSFORM_H
19
20
#include "
igtl_win32header.h
"
21
#include "
igtl_util.h
"
22
23
#define IGTL_TRANSFORM_SIZE 48
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
/*
30
typedef igtl_float32[12] transform;
31
*/
32
33
/*
34
* Byte order conversion for the header structure
35
*
36
* This function converts endianness of each member variable
37
* in igtl_image_header from host byte order to network byte order,
38
* or vice versa.
39
*/
40
41
void
igtl_export
igtl_transform_convert_byte_order
(igtl_float32* transform);
42
43
44
/*
45
* CRC calculation
46
*
47
* This function calculates CRC of transform data.
48
*
49
*/
50
51
igtl_uint64
igtl_export
igtl_transform_get_crc
(igtl_float32* transform);
52
53
#ifdef __cplusplus
54
}
55
#endif
56
#endif
/*__IGTL_TRANSFORM_H*/
57
58
Generated at Thu Mar 20 2014 16:32:06 for OpenIGTLink by
1.8.1.2 written by
Dimitri van Heesch
, © 1997-2000