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
 
uint16_t nx_cam
 
uint16_t ny_cam
 
bool swap_endian
 
uint16_t depth
 
size_t group_size
 
int dwell_time
 
std::vector< int > u
 
std::vector< int > v
 

Detailed Description

Definition at line 43 of file Camera.h.

Constructor & Destructor Documentation

◆ Camera_BASE()

CAMERA::Camera_BASE::Camera_BASE ( )
inline

Definition at line 59 of file Camera.h.

59  : model(MERLIN),
61  nx_cam(256),
62  ny_cam(256),
63  swap_endian(true),
64  depth(1),
65  group_size(1),
66  dwell_time(1000){};
size_t group_size
Definition: Camera.h:52
uint16_t ny_cam
Definition: Camera.h:49
Camera_type type
Definition: Camera.h:47
Camera_model model
Definition: Camera.h:46
uint16_t depth
Definition: Camera.h:51
uint16_t nx_cam
Definition: Camera.h:48
@ MERLIN
Definition: Camera.h:31
@ FRAME_BASED
Definition: Camera.h:39

Member Function Documentation

◆ init_uv_default()

void Camera_BASE::init_uv_default ( )

Definition at line 21 of file Camera.cpp.

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

Member Data Documentation

◆ depth

uint16_t CAMERA::Camera_BASE::depth

Definition at line 51 of file Camera.h.

◆ dwell_time

int CAMERA::Camera_BASE::dwell_time

Definition at line 53 of file Camera.h.

◆ group_size

size_t CAMERA::Camera_BASE::group_size

Definition at line 52 of file Camera.h.

◆ model

Camera_model CAMERA::Camera_BASE::model

Definition at line 46 of file Camera.h.

◆ nx_cam

uint16_t CAMERA::Camera_BASE::nx_cam

Definition at line 48 of file Camera.h.

◆ ny_cam

uint16_t CAMERA::Camera_BASE::ny_cam

Definition at line 49 of file Camera.h.

◆ swap_endian

bool CAMERA::Camera_BASE::swap_endian

Definition at line 50 of file Camera.h.

◆ type

Camera_type CAMERA::Camera_BASE::type

Definition at line 47 of file Camera.h.

◆ u

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

Definition at line 55 of file Camera.h.

◆ v

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

Definition at line 56 of file Camera.h.


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