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 ();
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
void set_axis(int axis)
Definition thumbnail.cxx:50
void set_slice_loc(float slice_loc)
Definition thumbnail.cxx:44
void set_thumbnail_dim(int thumb_dim)
Definition thumbnail.cxx:59
FloatImageType::Pointer make_thumbnail()
Definition thumbnail.cxx:71
plm_long dim[3]
Definition thumbnail.h:17
float spacing[3]
Definition thumbnail.h:16
Plm_image::Pointer pli
Definition thumbnail.h:13
int thumbnail_dim
Definition thumbnail.h:20
void set_input_image(const Plm_image::Pointer &pli)
Definition thumbnail.cxx:38
float thumbnail_spacing
Definition thumbnail.h:21
Thumbnail()
Definition thumbnail.cxx:14
int axis
Definition thumbnail.h:19
float center[3]
Definition thumbnail.h:15
bool slice_loc_was_set
Definition thumbnail.h:23
void set_thumbnail_spacing(float thumb_spacing)
Definition thumbnail.cxx:65
float origin[3]
Definition thumbnail.h:14
float slice_loc
Definition thumbnail.h:22
#define PLMBASE_API
Definition plmbase_config.h:19