| Bsoft 2.0.5 Bernard's software package

Functions | Variables
tcltk_bmarker.cpp File Reference

A shared object to manage markers in micrograph parameter files in TCL/Tk. More...

`#include <tk.h>`
`#include "tcltk_bmarker.h"`
`#include "mg_img_proc.h"`
`#include "mg_extract.h"`
`#include "mg_tomography.h"`
`#include "mg_tomo_track.h"`
`#include "rwmg.h"`
`#include "linked_list.h"`
`#include "timer.h"`
`#include "utilities.h"`
`#include <sys/stat.h>`

Go to the source code of this file.

## Functions
Tcl_Obj * | marker_count (Bproject *project)
Tcl_Obj * | marker_count (Bfield *field)
Tcl_Obj * | marker_count (Bmicrograph *mg)
Tcl_Obj * | marker_count (Breconstruction *rec)
Tcl_Obj * | marker_ids (Bproject *project, double fom_cut)
Tcl_Obj * | marker_ids (Bfield *field, double fom_cut)
Tcl_Obj * | marker_ids (Bmicrograph *mg, double fom_cut)
Tcl_Obj * | marker_ids (Breconstruction *rec, double fom_cut)
Tcl_Obj * | marker_list (Bproject *project)
Tcl_Obj * | marker_list (Bfield *field)
Tcl_Obj * | marker_list (Bmicrograph *mg)
Tcl_Obj * | marker_list (Breconstruction *rec)
Tcl_Obj * | marker_location (Bmarker *mark)
Tcl_Obj * | marker_residual (Bproject *project)
Tcl_Obj * | marker_residual (Bmarker *mark)
Tcl_Obj * | marker_fom (Bmarker *mark)
Tcl_Obj * | marker_fom_maximum (Bmarker *mark)
Tcl_Obj * | marker_select (Bmarker *marklist, double rad, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_select_rectangle (Bmarker *marklist, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_get_selection_flag (Bmarker *marklist, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_set_selection_flag (Bmarker *marklist, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_clear_selection_flag (Bmarker *marklist, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_move (Bmarker *marklist, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_create (Bmicrograph *mg, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_create (Breconstruction *rec, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_center (Bmarker *mark, Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_generate_from_seed (Bproject *project)
Tcl_Obj * | marker_find (Bmicrograph *mg, Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_snap (Bmicrograph *mg, Bimage *p, long mid, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_extract (Bmicrograph *mg, Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_extract (Breconstruction *rec, Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_delete (Bproject *project, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_delete (Bfield *field, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_delete (Bmicrograph *mg, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_delete (Breconstruction *rec, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_edge (Bmarker *mark, Bimage *p, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | marker_accept (Bmarker *mark, int objc, Tcl_Obj *CONST objv[])
int | do_tomo_transfer_seed (Bproject *project, int objc, Tcl_Obj *CONST objv[])
int | do_tomo_findaxis (Bproject *project, int objc, Tcl_Obj *CONST objv[])
int | do_tomo_track (Bproject *project, int objc, Tcl_Obj *CONST objv[])
int | do_tomo_refine (Bproject *project, int objc, Tcl_Obj *CONST objv[])
int | do_tomo_refine_one (Bproject *project, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * | do_marker (Bproject *project, int objc, Tcl_Obj *CONST objv[])
int | marker_create (Bmarker *mark, int objc, Tcl_Obj *CONST objv[])

## Variables
int | verbose
Bimage * | imglist

## Detailed Description

A shared object to manage markers in micrograph parameter files in TCL/Tk.

Author
  Bernard Heymann

Date
  Created: 20030813
  Modified: 20160617

Definition in file tcltk_bmarker.cpp.

## Function Documentation

## ◆ do_marker()

Tcl_Obj* do_marker | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 240 of file tcltk_bmarker.cpp.

## ◆ do_tomo_findaxis()

int do_tomo_findaxis | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 97 of file tcltk_bmarker.cpp.

## ◆ do_tomo_refine()

int do_tomo_refine | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 145 of file tcltk_bmarker.cpp.

## ◆ do_tomo_refine_one()

int do_tomo_refine_one | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 178 of file tcltk_bmarker.cpp.

## ◆ do_tomo_track()

int do_tomo_track | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 120 of file tcltk_bmarker.cpp.

## ◆ do_tomo_transfer_seed()

int do_tomo_transfer_seed | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 68 of file tcltk_bmarker.cpp.

## ◆ marker_accept()

Tcl_Obj * marker_accept | ( | Bmarker * | mark,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1249 of file tcltk_bmarker.cpp.

## ◆ marker_center()

Tcl_Obj * marker_center | ( | Bmarker * | mark,
|  | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 898 of file tcltk_bmarker.cpp.

## ◆ marker_clear_selection_flag()

Tcl_Obj * marker_clear_selection_flag | ( | Bmarker * | marklist,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 779 of file tcltk_bmarker.cpp.

## ◆ marker_count() [1/4]

Tcl_Obj * marker_count | ( | Bproject * | project | ) |

Definition at line 388 of file tcltk_bmarker.cpp.

## ◆ marker_count() [2/4]

Tcl_Obj * marker_count | ( | Bfield * | field | ) |

Definition at line 412 of file tcltk_bmarker.cpp.

## ◆ marker_count() [3/4]

Tcl_Obj * marker_count | ( | Bmicrograph * | mg | ) |

Definition at line 428 of file tcltk_bmarker.cpp.

## ◆ marker_count() [4/4]

Tcl_Obj * marker_count | ( | Breconstruction * | rec | ) |

Definition at line 442 of file tcltk_bmarker.cpp.

## ◆ marker_create() [1/3]

Tcl_Obj * marker_create | ( | Bmicrograph * | mg,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 848 of file tcltk_bmarker.cpp.

## ◆ marker_create() [2/3]

Tcl_Obj * marker_create | ( | Breconstruction * | rec,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 873 of file tcltk_bmarker.cpp.

## ◆ marker_create() [3/3]

int marker_create | ( | Bmarker * | mark,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 829 of file tcltk_bmarker.cpp.

## ◆ marker_delete() [1/4]

Tcl_Obj * marker_delete | ( | Bproject * | project,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1043 of file tcltk_bmarker.cpp.

## ◆ marker_delete() [2/4]

Tcl_Obj * marker_delete | ( | Bfield * | field,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1107 of file tcltk_bmarker.cpp.

## ◆ marker_delete() [3/4]

Tcl_Obj * marker_delete | ( | Bmicrograph * | mg,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1150 of file tcltk_bmarker.cpp.

## ◆ marker_delete() [4/4]

Tcl_Obj * marker_delete | ( | Breconstruction * | rec,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1188 of file tcltk_bmarker.cpp.

## ◆ marker_edge()

Tcl_Obj * marker_edge | ( | Bmarker * | mark,
|  | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1223 of file tcltk_bmarker.cpp.

## ◆ marker_extract() [1/2]

Tcl_Obj * marker_extract | ( | Bmicrograph * | mg,
|  | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 989 of file tcltk_bmarker.cpp.

## ◆ marker_extract() [2/2]

Tcl_Obj * marker_extract | ( | Breconstruction * | rec,
|  | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 1016 of file tcltk_bmarker.cpp.

## ◆ marker_find()

Tcl_Obj * marker_find | ( | Bmicrograph * | mg,
|  | Bimage * | p,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 930 of file tcltk_bmarker.cpp.

## ◆ marker_fom()

Tcl_Obj * marker_fom | ( | Bmarker * | mark | ) |

Definition at line 651 of file tcltk_bmarker.cpp.

## ◆ marker_fom_maximum()

Tcl_Obj * marker_fom_maximum | ( | Bmarker * | mark | ) |

Definition at line 664 of file tcltk_bmarker.cpp.

## ◆ marker_generate_from_seed()

Tcl_Obj * marker_generate_from_seed | ( | Bproject * | project | ) |

Definition at line 909 of file tcltk_bmarker.cpp.

## ◆ marker_get_selection_flag()

Tcl_Obj * marker_get_selection_flag | ( | Bmarker * | marklist,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 740 of file tcltk_bmarker.cpp.

## ◆ marker_ids() [1/4]

Tcl_Obj * marker_ids | ( | Bproject * | project,
|  | double | fom_cut
| ) |  |

Definition at line 456 of file tcltk_bmarker.cpp.

## ◆ marker_ids() [2/4]

Tcl_Obj * marker_ids | ( | Bfield * | field,
|  | double | fom_cut
| ) |  |

Definition at line 486 of file tcltk_bmarker.cpp.

## ◆ marker_ids() [3/4]

Tcl_Obj * marker_ids | ( | Bmicrograph * | mg,
|  | double | fom_cut
| ) |  |

Definition at line 505 of file tcltk_bmarker.cpp.

## ◆ marker_ids() [4/4]

Tcl_Obj * marker_ids | ( | Breconstruction * | rec,
|  | double | fom_cut
| ) |  |

Definition at line 520 of file tcltk_bmarker.cpp.

## ◆ marker_list() [1/4]

Tcl_Obj * marker_list | ( | Bproject * | project | ) |

Definition at line 535 of file tcltk_bmarker.cpp.

## ◆ marker_list() [2/4]

Tcl_Obj * marker_list | ( | Bfield * | field | ) |

Definition at line 564 of file tcltk_bmarker.cpp.

## ◆ marker_list() [3/4]

Tcl_Obj * marker_list | ( | Bmicrograph * | mg | ) |

Definition at line 581 of file tcltk_bmarker.cpp.

## ◆ marker_list() [4/4]

Tcl_Obj * marker_list | ( | Breconstruction * | rec | ) |

Definition at line 596 of file tcltk_bmarker.cpp.

## ◆ marker_location()

Tcl_Obj * marker_location | ( | Bmarker * | mark | ) |

Definition at line 611 of file tcltk_bmarker.cpp.

## ◆ marker_move()

Tcl_Obj * marker_move | ( | Bmarker * | marklist,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 801 of file tcltk_bmarker.cpp.

## ◆ marker_residual() [1/2]

Tcl_Obj * marker_residual | ( | Bproject * | project | ) |

Definition at line 627 of file tcltk_bmarker.cpp.

## ◆ marker_residual() [2/2]

Tcl_Obj * marker_residual | ( | Bmarker * | mark | ) |

Definition at line 638 of file tcltk_bmarker.cpp.

## ◆ marker_select()

Tcl_Obj * marker_select | ( | Bmarker * | marklist,
|  | double | rad,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 678 of file tcltk_bmarker.cpp.

## ◆ marker_select_rectangle()

Tcl_Obj * marker_select_rectangle | ( | Bmarker * | marklist,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 710 of file tcltk_bmarker.cpp.

## ◆ marker_set_selection_flag()

Tcl_Obj * marker_set_selection_flag | ( | Bmarker * | marklist,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 759 of file tcltk_bmarker.cpp.

## ◆ marker_snap()

Tcl_Obj * marker_snap | ( | Bmicrograph * | mg,
|  | Bimage * | p,
|  | long | mid,
|  | int | objc,
|  | Tcl_Obj *CONST | objv[]
| ) |  |

Definition at line 955 of file tcltk_bmarker.cpp.

## Variable Documentation

## ◆ imglist

Bimage* imglist

Definition at line 30 of file bshow.cpp.

## ◆ verbose

int verbose