Bsoft  2.1.0
Bernard's software package
model_mask.h
Go to the documentation of this file.
1 
9 #include "rwimg.h"
10 #include "rwmodel.h"
11 
12 // Function prototypes
14  Vector3<double> origin, Vector3<double> sam, double edge);
16  Vector3<double> origin, Vector3<double> sam, int curv_flag, int fast);
18  Vector3<double> origin, Vector3<double> sam, double shell_width, int curv_flag, int fast);
20  Vector3<double> origin, Vector3<double> sam);
26  Vector3<double> sam, double dang, Bsymmetry* sym);
27 
model_create_mask
Bimage * model_create_mask(Bmodel *model, Vector3< long > size, Vector3< double > origin, Vector3< double > sam, double edge)
Calculates a mask of the components and links of a model structure.
Definition: model_mask.cpp:35
rwmodel.h
Header file for reading and writing atomic model files.
model_from_multilevel_mask
Bmodel * model_from_multilevel_mask(Bimage *p)
Generates components at the center of mass of each mask level.
Definition: model_mask.cpp:453
Vector3< long >
Bsymmetry
Definition: symmetry.h:38
img_add_model_to_mask
int img_add_model_to_mask(Bimage *p, Bmodel *model)
Adds to the mask the component locations.
Definition: model_mask.cpp:406
img_extract_segments_using_model
Bimage * img_extract_segments_using_model(Bimage *p, Bmodel *model, int multi_level)
Extracts segmentss from a multi-level mask around points defined by a model.
Definition: model_mask.cpp:335
Bimage
General image parameter class.
Definition: Bimage.h:177
Bmodel
Definition: rwmodel.h:119
model_create_level_mask
Bimage * model_create_level_mask(Bmodel *model, Vector3< long > size, Vector3< double > origin, Vector3< double > sam)
Calculates a mask with one level per model.
Definition: model_mask.cpp:286
model
Bmodel * model
Definition: bshow.cpp:34
rwimg.h
Header file for 2D and 3D image I/O.
model_create_shell_mask
Bimage * model_create_shell_mask(Bmodel *model, Vector3< long > size, Vector3< double > origin, Vector3< double > sam, double shell_width, int curv_flag, int fast)
Calculates a shell mask covering a model structure.
Definition: model_mask.cpp:192
model_create_projected_mask
Bimage * model_create_projected_mask(Bmodel *model, Vector3< long > size, Vector3< double > ori, Vector3< double > sam, double dang, Bsymmetry *sym)
Calculates a set of 2D masks for the projections of a model structure.
Definition: model_mask.cpp:532
model_create_hull_mask
Bimage * model_create_hull_mask(Bmodel *model, Vector3< long > size, Vector3< double > origin, Vector3< double > sam, int curv_flag, int fast)
Calculates a mask based on the periphery of a model structure.
Definition: model_mask.cpp:104