plastimatch
Loading...
Searching...
No Matches
geometry_chooser.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _geometry_chooser_h_
5#define _geometry_chooser_h_
6
7#include "plmutil_config.h"
8#include "itk_image_type.h"
9#include "plm_int.h"
10
12class Geometry_chooser_private;
14
31public:
34public:
35 Geometry_chooser_private *d_ptr;
36public:
37
40
42 void set_reference_image (const char* image_fn);
44 template<class T> void set_reference_image (const T& image);
47 void set_compare_image (const char* image_fn);
49 void set_compare_image (const UCharImageType::Pointer image);
50 void set_compare_image (const FloatImageType::Pointer image);
53 void set_fixed_image (const char* image_fn);
54 void set_fixed_image (const std::string& image_fn);
56 template<class T> void set_fixed_image (const T& image);
58 void set_fixed_image (const Plm_image_header pih);
60 void set_dim (const plm_long dim[3]);
62 void set_origin (const float origin[3]);
64 void set_spacing (const float spacing[3]);
66 void set_direction_cosines (const Direction_cosines& direction_cosines);
68
71
72 const Plm_image_header *get_geometry ();
74};
75
76#endif
Definition direction_cosines.h:23
The Geometry_chooser class provides a convenient method for choosing the right output geometry for a ...
Definition geometry_chooser.h:30
Geometry_chooser_private * d_ptr
Definition geometry_chooser.h:35
The Plm_image_header class defines the geometry of an image. It defines image origin,...
Definition plm_image_header.h:24
#define PLMUTIL_API
Definition plmutil_config.h:26