4#ifndef _volume_header_h_
5#define _volume_header_h_
15class Volume_header_private;
25 float direction_cosines[9]);
33 void set_dim (
const plm_long dim[3]);
37 void set_origin (
const float origin[3]);
38 void get_origin (
float origin[3]);
40 const float* get_origin ()
const;
42 void set_spacing (
const float spacing[3]);
43 float* get_spacing ();
44 const float* get_spacing ()
const;
46 void set_direction_cosines (
const float direction_cosines[9]);
48 void set_direction_cosines_identity ();
51 const float * get_direction_cosines_matrix ()
const;
53 void set (
const plm_long dim[3],
const float origin[3],
54 const float spacing[3],
const float dc[9]);
55 void set (
const plm_long dim[3],
const float origin[3],
65 void get_image_center (
float center[3]);
66 void print (
void)
const;
Definition direction_cosines.h:23
The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located a...
Definition volume.h:38
#define PLMBASE_API
Definition plmbase_config.h:19
int compare(const void *a, const void *b)
Definition simplify_points.cxx:19