plastimatch
Loading...
Searching...
No Matches
Itk_volume_header Class Reference

#include <itk_volume_header.h>

Public Member Functions

 Itk_volume_header ()
 
 Itk_volume_header (float origin[3], float spacing[3], plm_long dim[3])
 
 Itk_volume_header (float origin[3], float spacing[3], plm_long dim[3], float direction_cosines[9])
 
int Size (int d) const
 
void set_origin (float origin[3])
 
void set_spacing (float spacing[3])
 
void set_dim (plm_long dim[3])
 
void set_from_gpuit (float gpuit_origin[3], float gpuit_spacing[3], plm_long gpuit_dim[3], float gpuit_direction_cosines[9])
 
void set_from_gpuit_bspline (Bspline_xform *bxf)
 
template<class T >
void set_from_itk_image (const T image)
 
void get_origin (float origin[3])
 
void get_spacing (float spacing[3])
 
void get_dim (plm_long dim[3])
 
void get_direction_cosines (float direction_cosines[9])
 
void print (void) const
 
void get_image_center (float center[3])
 

Static Public Member Functions

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

Public Attributes

RegionType m_region
 
OriginType m_origin
 
SpacingType m_spacing
 
DirectionType m_direction
 

Constructor & Destructor Documentation

◆ Itk_volume_header() [1/3]

Itk_volume_header::Itk_volume_header ( )
inline

◆ Itk_volume_header() [2/3]

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

◆ Itk_volume_header() [3/3]

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

Member Function Documentation

◆ clone()

static void Itk_volume_header::clone ( Itk_volume_header * dest,
Itk_volume_header * src )
inlinestatic

◆ compare()

int Itk_volume_header::compare ( Itk_volume_header * pli1,
Itk_volume_header * pli2 )
static

◆ get_dim()

void Itk_volume_header::get_dim ( plm_long dim[3])

◆ get_direction_cosines()

void Itk_volume_header::get_direction_cosines ( float direction_cosines[9])

◆ get_image_center()

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

◆ get_origin()

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

◆ get_spacing()

void Itk_volume_header::get_spacing ( float spacing[3])

◆ print()

void Itk_volume_header::print ( void ) const

◆ set_dim()

void Itk_volume_header::set_dim ( plm_long dim[3])

◆ set_from_gpuit()

void Itk_volume_header::set_from_gpuit ( float gpuit_origin[3],
float gpuit_spacing[3],
plm_long gpuit_dim[3],
float gpuit_direction_cosines[9] )

◆ set_from_gpuit_bspline()

void Itk_volume_header::set_from_gpuit_bspline ( Bspline_xform * bxf)

◆ set_from_itk_image()

template<class T >
void Itk_volume_header::set_from_itk_image ( const T image)
inline

◆ set_origin()

void Itk_volume_header::set_origin ( float origin[3])

◆ set_spacing()

void Itk_volume_header::set_spacing ( float spacing[3])

◆ Size()

int Itk_volume_header::Size ( int d) const
inline

Member Data Documentation

◆ m_direction

DirectionType Itk_volume_header::m_direction

◆ m_origin

OriginType Itk_volume_header::m_origin

◆ m_region

RegionType Itk_volume_header::m_region

◆ m_spacing

SpacingType Itk_volume_header::m_spacing

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