plastimatch
Loading...
Searching...
No Matches
thumbnail.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _thumbnail_h_
5#define _thumbnail_h_
6
7#include "plmbase_config.h"
8#include "itk_image_type.h"
9#include "plm_image.h"
10
12public:
14 float origin[3];
15 float center[3];
16 float spacing[3];
17 plm_long dim[3];
18
19 int axis;
22 float slice_loc;
24
25public:
26 Thumbnail ();
27 void set_input_image (const Plm_image::Pointer& pli);
28 void set_axis (int axis);
29 void set_slice_loc (float slice_loc);
30 void set_thumbnail_dim (int thumb_dim);
31 void set_thumbnail_spacing (float thumb_spacing);
32 FloatImageType::Pointer make_thumbnail ();
33private:
34 void set_internal_geometry (void);
35
36};
37
38#endif
std::shared_ptr< Self > Pointer
Definition plm_image.h:29
Definition thumbnail.h:11
Plm_image::Pointer pli
Definition thumbnail.h:13
int thumbnail_dim
Definition thumbnail.h:20
float thumbnail_spacing
Definition thumbnail.h:21
int axis
Definition thumbnail.h:19
bool slice_loc_was_set
Definition thumbnail.h:23
float slice_loc
Definition thumbnail.h:22
#define PLMBASE_API
Definition plmbase_config.h:19