|
Bsoft 2.1.4
Bernard's software package
|
Library routines to read and write Chimera BILD model parameters. More...
#include "rwmodel.h"#include "model_neighbors.h"#include "model_poly.h"#include "Color.h"#include "string_util.h"#include "utilities.h"#include "timer.h"#include <fstream>Functions | |
| Bcomponent * | component_add_if_not_exist (Vector3< double > loc, Bcomponent **comp, int &number) |
| Bmodel * | read_model_bild (Bstring *file_list) |
| Reads Chimera BILD model parameters. More... | |
| void | bild_color (ofstream &fbld, RGB< float > rgb) |
| void | bild_color (ofstream &fbld, RGBA< float > rgba) |
| void | bild_sphere (ofstream &fbld, Vector3< double > loc, double radius) |
| void | bild_cylinder (ofstream &fbld, Vector3< double > start, Vector3< double > end, double radius) |
| void | bild_polygon_start (ofstream &fbld, Vector3< double > vertex) |
| void | bild_polygon_add (ofstream &fbld, Vector3< double > vertex) |
| void | bild_polygon_end (ofstream &fbld, Vector3< double > vertex) |
| void | bild_arrow (ofstream &fbld, Vector3< double > start, Vector3< double > end, double cylrad, double conerad, double rho) |
| int | write_model_bild (Bstring &filename, Bmodel *model, int splt) |
| Writes Chimera BILD model parameters. More... | |
| int | model_to_bild_orientations (Bstring &filename, Bmodel *model, int vec_type, int color_type) |
| Converts a model into a representation with views. More... | |
| int | model_to_bild_view_sphere (Bstring &filename, Bmodel *model, int color_type) |
| Converts a model into a representation with views. More... | |
| int | model_to_bild_force_vectors (Bstring &filename, Bmodel *model, int color_type) |
| Converts a model into a representation with views. More... | |
| int | model_to_bild_view_polygons (Bstring &filename, Bmodel *model, int order, int color_type) |
| Converts a model into a representation with view polygons. More... | |
| int | model_to_bild_polygons (Bstring &filename, Bmodel *model, int color_type) |
| Converts a model into a bild polygon representation. More... | |
| int | model_to_bild_neighbor_planes (Bstring &filename, Bmodel *model, int color_type) |
| Converts a model into a bild neighbor plane representation. More... | |
Variables | |
| int | verbose |
Library routines to read and write Chimera BILD model parameters.
| void bild_arrow | ( | ofstream & | fbld, |
| Vector3< double > | start, | ||
| Vector3< double > | end, | ||
| double | cylrad, | ||
| double | conerad, | ||
| double | rho | ||
| ) |
| void bild_color | ( | ofstream & | fbld, |
| RGB< float > | rgb | ||
| ) |
| void bild_color | ( | ofstream & | fbld, |
| RGBA< float > | rgba | ||
| ) |
| void bild_cylinder | ( | ofstream & | fbld, |
| Vector3< double > | start, | ||
| Vector3< double > | end, | ||
| double | radius | ||
| ) |
| void bild_polygon_add | ( | ofstream & | fbld, |
| Vector3< double > | vertex | ||
| ) |
| void bild_polygon_end | ( | ofstream & | fbld, |
| Vector3< double > | vertex | ||
| ) |
| void bild_polygon_start | ( | ofstream & | fbld, |
| Vector3< double > | vertex | ||
| ) |
| void bild_sphere | ( | ofstream & | fbld, |
| Vector3< double > | loc, | ||
| double | radius | ||
| ) |
| Bcomponent * component_add_if_not_exist | ( | Vector3< double > | loc, |
| Bcomponent ** | comp, | ||
| int & | number | ||
| ) |
Converts a model into a representation with views.
| &filename | bild format file name. |
| *model | model structure. |
| color_type | flag to color components. |
A sphere is drawn for every component with a cylinder indicating its view.
Converts a model into a bild neighbor plane representation.
| &filename | bild format file name. |
| *model | model structure. |
| color_type | flag to color planes. |
Color scheme types:
1 spectrum/rainbow.
2 fom.
Converts a model into a representation with views.
| &filename | bild format file name. |
| *model | model structure. |
| vec_type | 0=views, 1=vectors, 2=velocity vectors. |
| color_type | flag to color components. |
A sphere is drawn for every component with a cylinder indicating its view.
Converts a model into a bild polygon representation.
| &filename | bild format file name. |
| *model | model structure. |
| color_type | flag to color polygons. |
Color scheme types:
1 spectrum/rainbow.
2 fom.
Converts a model into a representation with view polygons.
| &filename | bild format file name. |
| *model | model structure. |
| order | polygon order. |
| color_type | flag to color components. |
A sphere is drawn for every component with a cylinder indicating its view.
Converts a model into a representation with views.
| &filename | bild format file name. |
| *model | model structure. |
| color_type | flag to color components. |
A sphere is drawn for every component with a cylinder indicating its view.
Reads Chimera BILD model parameters.
| *file_list | list of model parameter file names. |
Writes Chimera BILD model parameters.
| &filename | model parameter file name. |
| *model | model parameters. |
| splt | flag to split into separate models. |
|
extern |