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

The Proj_volume class represents a three-dimensional volume on a uniform non-orthogonal grid. The grid is regular within a rectangular frustum, the geometry of which is specified by a projection matrix. More...

#include <proj_volume.h>

Public Member Functions

 Proj_volume ()
 
 ~Proj_volume ()
 
void set_geometry (const double src[3], const double iso[3], const double vup[3], double sid, const plm_long image_dim[2], const double image_center[2], const double image_spacing[2], const double clipping_dist[2], const double step_length)
 
void set_clipping_dist (const double clipping_dist[2])
 
const plm_long * get_image_dim ()
 
plm_long get_image_dim (int dim)
 
plm_long get_num_steps ()
 
const double * get_incr_c ()
 
const double * get_incr_r ()
 
Proj_matrixget_proj_matrix ()
 
const double * get_nrm ()
 
const double * get_src () const
 
const double * get_iso ()
 
const double * get_clipping_dist ()
 
double get_step_length () const
 
const double * get_ul_room ()
 
Volumeget_vol ()
 
const Volumeget_vol () const
 
void allocate ()
 
void save_img (const char *filename)
 
void save_img (const std::string &filename)
 
void save_header (const char *filename)
 
void save_header (const std::string &filename)
 
void save_projv (const char *filename)
 
void save_projv (const std::string &filename)
 
void load_img (const char *filename)
 
void load_img (const std::string &filename)
 
void load_header (const char *filename)
 
void load_header (const std::string &filename)
 
void load_projv (const char *filename)
 
void load_projv (const std::string &filename)
 
void project_h (double *ij, const double *xyz) const
 
void project (double *ij, const double *xyz) const
 
void debug ()
 

Public Attributes

Proj_volume_private * d_ptr
 

Detailed Description

The Proj_volume class represents a three-dimensional volume on a uniform non-orthogonal grid. The grid is regular within a rectangular frustum, the geometry of which is specified by a projection matrix.

Constructor & Destructor Documentation

◆ Proj_volume()

Proj_volume::Proj_volume ( )

◆ ~Proj_volume()

Proj_volume::~Proj_volume ( )

Member Function Documentation

◆ allocate()

void Proj_volume::allocate ( )

◆ debug()

void Proj_volume::debug ( )

◆ get_clipping_dist()

const double * Proj_volume::get_clipping_dist ( )

◆ get_image_dim() [1/2]

const plm_long * Proj_volume::get_image_dim ( )

◆ get_image_dim() [2/2]

plm_long Proj_volume::get_image_dim ( int dim)

◆ get_incr_c()

const double * Proj_volume::get_incr_c ( )

◆ get_incr_r()

const double * Proj_volume::get_incr_r ( )

◆ get_iso()

const double * Proj_volume::get_iso ( )

◆ get_nrm()

const double * Proj_volume::get_nrm ( )

◆ get_num_steps()

plm_long Proj_volume::get_num_steps ( )

◆ get_proj_matrix()

Proj_matrix * Proj_volume::get_proj_matrix ( )

◆ get_src()

const double * Proj_volume::get_src ( ) const

◆ get_step_length()

double Proj_volume::get_step_length ( ) const

◆ get_ul_room()

const double * Proj_volume::get_ul_room ( )

◆ get_vol() [1/2]

Volume * Proj_volume::get_vol ( )

◆ get_vol() [2/2]

const Volume * Proj_volume::get_vol ( ) const

◆ load_header() [1/2]

void Proj_volume::load_header ( const char * filename)

◆ load_header() [2/2]

void Proj_volume::load_header ( const std::string & filename)

◆ load_img() [1/2]

void Proj_volume::load_img ( const char * filename)

◆ load_img() [2/2]

void Proj_volume::load_img ( const std::string & filename)

◆ load_projv() [1/2]

void Proj_volume::load_projv ( const char * filename)

◆ load_projv() [2/2]

void Proj_volume::load_projv ( const std::string & filename)

◆ project()

void Proj_volume::project ( double * ij,
const double * xyz ) const

◆ project_h()

void Proj_volume::project_h ( double * ij,
const double * xyz ) const

◆ save_header() [1/2]

void Proj_volume::save_header ( const char * filename)

◆ save_header() [2/2]

void Proj_volume::save_header ( const std::string & filename)

◆ save_img() [1/2]

void Proj_volume::save_img ( const char * filename)

◆ save_img() [2/2]

void Proj_volume::save_img ( const std::string & filename)

◆ save_projv() [1/2]

void Proj_volume::save_projv ( const char * filename)

◆ save_projv() [2/2]

void Proj_volume::save_projv ( const std::string & filename)

◆ set_clipping_dist()

void Proj_volume::set_clipping_dist ( const double clipping_dist[2])

◆ set_geometry()

void Proj_volume::set_geometry ( const double src[3],
const double iso[3],
const double vup[3],
double sid,
const plm_long image_dim[2],
const double image_center[2],
const double image_spacing[2],
const double clipping_dist[2],
const double step_length )

Member Data Documentation

◆ d_ptr

Proj_volume_private* Proj_volume::d_ptr

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