Xmipp  v3.23.11-Nereus
Public Member Functions | Public Attributes | List of all members

#include <project_xray.h>

Collaboration diagram for XrayProjPhantom:
Collaboration graph
[legend]

Public Member Functions

void read (const ParametersProjectionTomography &prm)
 
void read (const FileName &fnVol)
 

Public Attributes

Image< double > iniVol
 Phantom Xmipp volume. More...
 
MultidimArray< double > rotVol
 

Detailed Description

Project program Side information. This class contains side necessary information for the Project program. This information can be obtained from the parameters and is basically the Xmipp volume or phantom description plus a flag saying which of the two is valid.

Definition at line 61 of file project_xray.h.

Member Function Documentation

◆ read() [1/2]

void XrayProjPhantom::read ( const ParametersProjectionTomography prm)

Produce Project Side information. This function produce the side information from the project program parameters. Basically it loads the phantom.

Definition at line 424 of file project_xray.cpp.

426 {
427  read(prm.fnPhantom);
428 }
void read(const ParametersProjectionTomography &prm)

◆ read() [2/2]

void XrayProjPhantom::read ( const FileName fnVol)

Read the phantom the volume

Parameters
fnVolVolume filename

Definition at line 430 of file project_xray.cpp.

431 {
432  // iniVol.readMapped(prm.fnPhantom);
433  iniVol.read(fnVol);
434  // MULTIDIM_ARRAY(iniVol).setXmippOrigin();
435  // rotVol.resizeNoCopy(MULTIDIM_ARRAY(iniVol));
436 
437 }
Image< double > iniVol
Phantom Xmipp volume.
Definition: project_xray.h:65
int read(const FileName &name, DataMode datamode=DATA, size_t select_img=ALL_IMAGES, bool mapData=false, int mode=WRITE_READONLY)

Member Data Documentation

◆ iniVol

Image<double> XrayProjPhantom::iniVol

Phantom Xmipp volume.

Definition at line 65 of file project_xray.h.

◆ rotVol

MultidimArray<double> XrayProjPhantom::rotVol

Definition at line 66 of file project_xray.h.


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