plastimatch
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Volume_header Class Reference

#include <volume_header.h>

Public Member Functions

 Volume_header ()
 
 Volume_header (plm_long dim[3], float origin[3], float spacing[3])
 
 Volume_header (plm_long dim[3], float origin[3], float spacing[3], float direction_cosines[9])
 
 Volume_header (const Volume_header *)
 
 Volume_header (const Volume::Pointer &vol)
 
 Volume_header (const Plm_image_header *pih)
 
 Volume_header (const Plm_image::Pointer &img)
 
 ~Volume_header ()
 
void set_dim (const plm_long dim[3])
 
plm_longget_dim ()
 
const plm_longget_dim () const
 
void set_origin (const float origin[3])
 
void get_origin (float origin[3])
 
floatget_origin ()
 
const floatget_origin () const
 
void set_spacing (const float spacing[3])
 
floatget_spacing ()
 
const floatget_spacing () const
 
void set_direction_cosines (const float direction_cosines[9])
 
void set_direction_cosines (const Direction_cosines &dc)
 
void set_direction_cosines_identity ()
 
Direction_cosinesget_direction_cosines ()
 
const Direction_cosinesget_direction_cosines () const
 
const floatget_direction_cosines_matrix () const
 
void set (const plm_long dim[3], const float origin[3], const float spacing[3], const float dc[9])
 
void set (const plm_long dim[3], const float origin[3], const float spacing[3], const Direction_cosines &dc)
 
void set (const Plm_image_header *img)
 
void set_from_bxf (Bspline_xform *bxf)
 
void clone (const Volume_header *src)
 
void get_image_center (float center[3])
 
void print (void) const
 

Static Public Member Functions

static void clone (Volume_header *dest, Volume_header *src)
 
static int compare (Volume_header *pli1, Volume_header *pli2)
 

Public Attributes

Volume_header_private * d_ptr
 

Constructor & Destructor Documentation

◆ Volume_header() [1/7]

Volume_header::Volume_header ( )

◆ Volume_header() [2/7]

Volume_header::Volume_header ( plm_long  dim[3],
float  origin[3],
float  spacing[3] 
)

◆ Volume_header() [3/7]

Volume_header::Volume_header ( plm_long  dim[3],
float  origin[3],
float  spacing[3],
float  direction_cosines[9] 
)

◆ Volume_header() [4/7]

Volume_header::Volume_header ( const Volume_header vh)

◆ Volume_header() [5/7]

Volume_header::Volume_header ( const Volume::Pointer &  vol)

◆ Volume_header() [6/7]

Volume_header::Volume_header ( const Plm_image_header pih)

◆ Volume_header() [7/7]

Volume_header::Volume_header ( const Plm_image::Pointer &  img)

◆ ~Volume_header()

Volume_header::~Volume_header ( )

Member Function Documentation

◆ clone() [1/2]

void Volume_header::clone ( const Volume_header src)

◆ clone() [2/2]

void Volume_header::clone ( Volume_header dest,
Volume_header src 
)
static

◆ compare()

int Volume_header::compare ( Volume_header pli1,
Volume_header pli2 
)
static

◆ get_dim() [1/2]

plm_long * Volume_header::get_dim ( )

◆ get_dim() [2/2]

const plm_long * Volume_header::get_dim ( ) const

◆ get_direction_cosines() [1/2]

Direction_cosines & Volume_header::get_direction_cosines ( )

◆ get_direction_cosines() [2/2]

const Direction_cosines & Volume_header::get_direction_cosines ( ) const

◆ get_direction_cosines_matrix()

const float * Volume_header::get_direction_cosines_matrix ( ) const

◆ get_image_center()

void Volume_header::get_image_center ( float  center[3])

◆ get_origin() [1/3]

float * Volume_header::get_origin ( )

◆ get_origin() [2/3]

const float * Volume_header::get_origin ( ) const

◆ get_origin() [3/3]

void Volume_header::get_origin ( float  origin[3])

◆ get_spacing() [1/2]

float * Volume_header::get_spacing ( )

◆ get_spacing() [2/2]

const float * Volume_header::get_spacing ( ) const

◆ print()

void Volume_header::print ( void  ) const

◆ set() [1/3]

void Volume_header::set ( const Plm_image_header img)

◆ set() [2/3]

void Volume_header::set ( const plm_long  dim[3],
const float  origin[3],
const float  spacing[3],
const Direction_cosines dc 
)

◆ set() [3/3]

void Volume_header::set ( const plm_long  dim[3],
const float  origin[3],
const float  spacing[3],
const float  dc[9] 
)

◆ set_dim()

void Volume_header::set_dim ( const plm_long  dim[3])

◆ set_direction_cosines() [1/2]

void Volume_header::set_direction_cosines ( const Direction_cosines dc)

◆ set_direction_cosines() [2/2]

void Volume_header::set_direction_cosines ( const float  direction_cosines[9])

◆ set_direction_cosines_identity()

void Volume_header::set_direction_cosines_identity ( )

◆ set_from_bxf()

void Volume_header::set_from_bxf ( Bspline_xform bxf)

◆ set_origin()

void Volume_header::set_origin ( const float  origin[3])

◆ set_spacing()

void Volume_header::set_spacing ( const float  spacing[3])

Member Data Documentation

◆ d_ptr

Volume_header_private* Volume_header::d_ptr

The documentation for this class was generated from the following files: