riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
Public Member Functions | Public Attributes | List of all members
CAMERA::Camera_BASE Class Reference

#include <Camera.h>

Inheritance diagram for CAMERA::Camera_BASE:
[legend]

Public Member Functions

void init_uv_default ()
 
 Camera_BASE ()
 

Public Attributes

Camera_model model
 
Camera_type type
 
int nx_cam
 
int ny_cam
 
bool swap_endian
 
int depth
 
int dwell_time
 
std::vector< int > u
 
std::vector< int > v
 

Detailed Description

Definition at line 40 of file Camera.h.

Constructor & Destructor Documentation

◆ Camera_BASE()

CAMERA::Camera_BASE::Camera_BASE ( )
inline

Definition at line 54 of file Camera.h.

54  : model(MERLIN),
56  nx_cam(256),
57  ny_cam(256),
58  swap_endian(true),
59  depth(1),
60  dwell_time(1000){};
Camera_type type
Definition: Camera.h:44
Camera_model model
Definition: Camera.h:43
@ MERLIN
Definition: Camera.h:29
@ FRAME_BASED
Definition: Camera.h:36

Member Function Documentation

◆ init_uv_default()

void Camera_BASE::init_uv_default ( )

Definition at line 20 of file Camera.cpp.

21 {
22  u.resize(nx_cam);
23  v.resize(ny_cam);
24 
25  for (int i = 0; i < nx_cam; i++)
26  {
27  u[i] = i;
28  }
29 
30  for (int i = 0; i < ny_cam; i++)
31  {
32  v[i] = i;
33  }
34 };
std::vector< int > v
Definition: Camera.h:51
std::vector< int > u
Definition: Camera.h:50

Member Data Documentation

◆ depth

int CAMERA::Camera_BASE::depth

Definition at line 48 of file Camera.h.

◆ dwell_time

int CAMERA::Camera_BASE::dwell_time

Definition at line 49 of file Camera.h.

◆ model

Camera_model CAMERA::Camera_BASE::model

Definition at line 43 of file Camera.h.

◆ nx_cam

int CAMERA::Camera_BASE::nx_cam

Definition at line 45 of file Camera.h.

◆ ny_cam

int CAMERA::Camera_BASE::ny_cam

Definition at line 46 of file Camera.h.

◆ swap_endian

bool CAMERA::Camera_BASE::swap_endian

Definition at line 47 of file Camera.h.

◆ type

Camera_type CAMERA::Camera_BASE::type

Definition at line 44 of file Camera.h.

◆ u

std::vector<int> CAMERA::Camera_BASE::u

Definition at line 50 of file Camera.h.

◆ v

std::vector<int> CAMERA::Camera_BASE::v

Definition at line 51 of file Camera.h.


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