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

#include <rpl_volume.h>

Public Types

typedef Rpl_volume Self
 
typedef std::shared_ptr< SelfPointer
 

Public Member Functions

 Rpl_volume ()
 
 ~Rpl_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 step_length)
 
void clone_geometry (const Rpl_volume *rv)
 
void set_ray_trace_start (Rpl_volume_ray_trace_start rvrtt)
 
Aperture::Pointerget_aperture ()
 
const Aperture::Pointerget_aperture () const
 
void set_aperture (Aperture::Pointer &ap)
 
Volumeget_vol ()
 
const Volumeget_vol () const
 
Proj_volumeget_proj_volume ()
 
void set_ct_volume (Plm_image::Pointer &ct_volume)
 
const Proj_volumeget_proj_volume () const
 
const plm_long * get_image_dim ()
 
plm_long get_num_steps ()
 
double get_value (plm_long ap_ij[2], double dist) const
 
double get_value (double ap_ij[2], double dist) const
 
double get_value (const double *xyz) const
 
void set_ct (const Plm_image::Pointer &ct_volume)
 
Plm_image::Pointer get_ct ()
 
void set_ct_limit (Volume_limit *ct_limit)
 
Volume_limitget_ct_limit ()
 
Ray_dataget_ray_data ()
 
const Ray_dataget_ray_data () const
 
void set_ray_data (Ray_data *ray)
 
void set_front_clipping_plane (double front_clip)
 
double get_front_clipping_plane () const
 
void set_back_clipping_plane (double back_clip)
 
double get_back_clipping_plane () const
 
double get_step_length () const
 
void compute_rpl_ct_density ()
 
void compute_rpl_HU ()
 
void compute_rpl_void ()
 
void compute_rpl (bool use_aperture, Ray_trace_callback callback)
 
void compute_rpl_sample (bool use_aperture)
 
void compute_rpl_accum (bool use_aperture)
 
void compute_rpl_range_length_rgc ()
 
void compute_rpl_PrSTRP_no_rgc ()
 
double compute_farthest_penetrating_ray_on_nrm (float range)
 
void compute_wed_volume (Volume *wed_vol, Volume *in_vol, float background)
 
void compute_dew_volume (Volume *wed_vol, Volume *dew_vol, float background)
 
void compute_proj_wed_volume (Volume *proj_wed_vol, float background)
 
void compute_volume_aperture (Aperture::Pointer ap)
 
void apply_beam_modifiers ()
 
void save (const char *filename)
 
void save (const std::string &filename)
 
void load_rpl (const char *filename)
 
void load_rpl (const std::string &filename)
 
void load_img (const char *filename)
 
void load_img (const std::string &filename)
 
void compute_ray_data ()
 

Static Public Member Functions

static Rpl_volume::Pointer New ()
 
static Rpl_volume::Pointer New (Rpl_volume *t)
 
template<class U1 >
static Rpl_volume::Pointer New (const U1 &u1)
 
template<class U1 , class U2 >
static Rpl_volume::Pointer New (const U1 &u1, const U2 &u2)
 
template<class U1 , class U2 , class U3 >
static Rpl_volume::Pointer New (const U1 &u1, const U2 &u2, const U3 &u3)
 
template<class U1 , class U2 , class U3 , class U4 , class U5 , class U6 >
static Rpl_volume::Pointer New (const U1 &u1, const U2 &u2, const U3 &u3, const U4 &u4, const U5 &u5, const U6 &u6)
 

Public Attributes

Rpl_volume_private * d_ptr
 

Protected Member Functions

void rpl_ray_trace (Volume *ct_vol, Ray_data *ray_data, Ray_trace_callback callback, Volume_limit *vol_limit, const double *src, double rc_thk, int *ires)
 
void save_img (const char *filename)
 
void save_img (const std::string &filename)
 

Member Typedef Documentation

◆ Pointer

typedef std::shared_ptr<Self> Rpl_volume::Pointer

◆ Self

Constructor & Destructor Documentation

◆ Rpl_volume()

Rpl_volume::Rpl_volume ( )

◆ ~Rpl_volume()

Rpl_volume::~Rpl_volume ( )

Member Function Documentation

◆ apply_beam_modifiers()

void Rpl_volume::apply_beam_modifiers ( )

◆ clone_geometry()

void Rpl_volume::clone_geometry ( const Rpl_volume * rv)

◆ compute_dew_volume()

void Rpl_volume::compute_dew_volume ( Volume * wed_vol,
Volume * dew_vol,
float background )

◆ compute_farthest_penetrating_ray_on_nrm()

double Rpl_volume::compute_farthest_penetrating_ray_on_nrm ( float range)

◆ compute_proj_wed_volume()

void Rpl_volume::compute_proj_wed_volume ( Volume * proj_wed_vol,
float background )

◆ compute_ray_data()

void Rpl_volume::compute_ray_data ( )

◆ compute_rpl()

void Rpl_volume::compute_rpl ( bool use_aperture,
Ray_trace_callback callback )

◆ compute_rpl_accum()

void Rpl_volume::compute_rpl_accum ( bool use_aperture)

◆ compute_rpl_ct_density()

void Rpl_volume::compute_rpl_ct_density ( )

◆ compute_rpl_HU()

void Rpl_volume::compute_rpl_HU ( )

◆ compute_rpl_PrSTRP_no_rgc()

void Rpl_volume::compute_rpl_PrSTRP_no_rgc ( )

◆ compute_rpl_range_length_rgc()

void Rpl_volume::compute_rpl_range_length_rgc ( )

◆ compute_rpl_sample()

void Rpl_volume::compute_rpl_sample ( bool use_aperture)

◆ compute_rpl_void()

void Rpl_volume::compute_rpl_void ( )

◆ compute_volume_aperture()

void Rpl_volume::compute_volume_aperture ( Aperture::Pointer ap)

◆ compute_wed_volume()

void Rpl_volume::compute_wed_volume ( Volume * wed_vol,
Volume * in_vol,
float background )

◆ get_aperture() [1/2]

Aperture::Pointer & Rpl_volume::get_aperture ( )

◆ get_aperture() [2/2]

const Aperture::Pointer & Rpl_volume::get_aperture ( ) const

◆ get_back_clipping_plane()

double Rpl_volume::get_back_clipping_plane ( ) const

◆ get_ct()

Plm_image::Pointer Rpl_volume::get_ct ( )

◆ get_ct_limit()

Volume_limit * Rpl_volume::get_ct_limit ( )

◆ get_front_clipping_plane()

double Rpl_volume::get_front_clipping_plane ( ) const

◆ get_image_dim()

const plm_long * Rpl_volume::get_image_dim ( )

◆ get_num_steps()

plm_long Rpl_volume::get_num_steps ( )

◆ get_proj_volume() [1/2]

Proj_volume * Rpl_volume::get_proj_volume ( )

◆ get_proj_volume() [2/2]

const Proj_volume * Rpl_volume::get_proj_volume ( ) const

◆ get_ray_data() [1/2]

Ray_data * Rpl_volume::get_ray_data ( )

◆ get_ray_data() [2/2]

const Ray_data * Rpl_volume::get_ray_data ( ) const

◆ get_step_length()

double Rpl_volume::get_step_length ( ) const

◆ get_value() [1/3]

double Rpl_volume::get_value ( const double * xyz) const

◆ get_value() [2/3]

double Rpl_volume::get_value ( double ap_ij[2],
double dist ) const

◆ get_value() [3/3]

double Rpl_volume::get_value ( plm_long ap_ij[2],
double dist ) const

◆ get_vol() [1/2]

Volume * Rpl_volume::get_vol ( )

◆ get_vol() [2/2]

const Volume * Rpl_volume::get_vol ( ) const

◆ load_img() [1/2]

void Rpl_volume::load_img ( const char * filename)

◆ load_img() [2/2]

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

◆ load_rpl() [1/2]

void Rpl_volume::load_rpl ( const char * filename)

◆ load_rpl() [2/2]

void Rpl_volume::load_rpl ( const std::string & filename)

◆ New() [1/6]

static Rpl_volume::Pointer Rpl_volume::New ( )
inlinestatic

◆ New() [2/6]

template<class U1 >
static Rpl_volume::Pointer Rpl_volume::New ( const U1 & u1)
inlinestatic

◆ New() [3/6]

template<class U1 , class U2 >
static Rpl_volume::Pointer Rpl_volume::New ( const U1 & u1,
const U2 & u2 )
inlinestatic

◆ New() [4/6]

template<class U1 , class U2 , class U3 >
static Rpl_volume::Pointer Rpl_volume::New ( const U1 & u1,
const U2 & u2,
const U3 & u3 )
inlinestatic

◆ New() [5/6]

template<class U1 , class U2 , class U3 , class U4 , class U5 , class U6 >
static Rpl_volume::Pointer Rpl_volume::New ( const U1 & u1,
const U2 & u2,
const U3 & u3,
const U4 & u4,
const U5 & u5,
const U6 & u6 )
inlinestatic

◆ New() [6/6]

static Rpl_volume::Pointer Rpl_volume::New ( Rpl_volume * t)
inlinestatic

◆ rpl_ray_trace()

void Rpl_volume::rpl_ray_trace ( Volume * ct_vol,
Ray_data * ray_data,
Ray_trace_callback callback,
Volume_limit * vol_limit,
const double * src,
double rc_thk,
int * ires )
protected

◆ save() [1/2]

void Rpl_volume::save ( const char * filename)

◆ save() [2/2]

void Rpl_volume::save ( const std::string & filename)

◆ save_img() [1/2]

void Rpl_volume::save_img ( const char * filename)
protected

◆ save_img() [2/2]

void Rpl_volume::save_img ( const std::string & filename)
protected

◆ set_aperture()

void Rpl_volume::set_aperture ( Aperture::Pointer & ap)

◆ set_back_clipping_plane()

void Rpl_volume::set_back_clipping_plane ( double back_clip)

◆ set_ct()

void Rpl_volume::set_ct ( const Plm_image::Pointer & ct_volume)

◆ set_ct_limit()

void Rpl_volume::set_ct_limit ( Volume_limit * ct_limit)

◆ set_ct_volume()

void Rpl_volume::set_ct_volume ( Plm_image::Pointer & ct_volume)

◆ set_front_clipping_plane()

void Rpl_volume::set_front_clipping_plane ( double front_clip)

◆ set_geometry()

void Rpl_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 step_length )

◆ set_ray_data()

void Rpl_volume::set_ray_data ( Ray_data * ray)

◆ set_ray_trace_start()

void Rpl_volume::set_ray_trace_start ( Rpl_volume_ray_trace_start rvrtt)

Member Data Documentation

◆ d_ptr

Rpl_volume_private* Rpl_volume::d_ptr

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