plastimatch
Loading...
Searching...
No Matches
slice_list.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _slice_list_h_
5#define _slice_list_h_
6
7#include "plmbase_config.h"
8
10class Slice_list_private;
11
13public:
14 Slice_list_private *d_ptr;
15
16public:
17 Slice_list ();
18 ~Slice_list ();
19 const Plm_image_header* get_image_header () const;
20 void set_image_header (const Plm_image_header& pih);
21 void set_image_header (ShortImageType::Pointer img);
22
23 void reset_slice_uids ();
24 const char* get_slice_uid (int index) const;
25 void set_slice_uid (int index, const char* slice_uid);
26 bool slice_list_complete () const;
27 void set_slice_list_complete ();
28
29 int num_slices ();
30 int get_slice_index (float z) const;
31};
32
33#endif
The Plm_image_header class defines the geometry of an image. It defines image origin,...
Definition plm_image_header.h:24
Definition slice_list.h:12
Slice_list_private * d_ptr
Definition slice_list.h:14
void get_image_header(plm_long dim[3], float offset[3], float spacing[3], T image)
Definition itk_image.cxx:58
#define PLMBASE_API
Definition plmbase_config.h:19