![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions to color models. More...
#include "rwmodel.h"
#include "model_poly.h"
#include "model_shell.h"
#include "model_views.h"
#include "model_util.h"
#include "Color.h"
#include "utilities.h"
Functions | |
int | model_color_uniformly (Bmodel *model, RGBA< float > color) |
Colors model components uniformly. More... | |
int | model_color_selected (Bmodel *model, RGBA< float > color) |
Colors selected model components. More... | |
int | model_color_by_order (Bmodel *model) |
Colors model components in order from red to blue. More... | |
int | model_color_by_density (Bmodel *model) |
Colors model components by density. More... | |
int | model_color_by_fom (Bmodel *model) |
Colors model components by fom. More... | |
int | model_color_by_selection (Bmodel *model) |
Colors model components by the selection number. More... | |
int | model_color_selected_types (Bmodel *model, RGBA< float > rgba) |
Colors model components by fom. More... | |
int | model_color_curvature (Bmodel *model) |
Colors model vertices and links as a function of curvature. More... | |
int | model_color_chiral_vertices (Bmodel *model) |
Colors model vertices as a function of chirality. More... | |
Variables | |
int | verbose |
Functions to color models.
int model_color_by_density | ( | Bmodel * | model | ) |
Colors model components by density.
*model | model to color. |
Color assignments are: density = 0 blue density = 0.5 green density = 1 red
int model_color_by_fom | ( | Bmodel * | model | ) |
Colors model components by fom.
*model | model to color. |
Color assignments are: FOM = 0 blue FOM = 0.5 green FOM = 1 red
int model_color_by_order | ( | Bmodel * | model | ) |
Colors model components in order from red to blue.
*model | model to color. |
int model_color_by_selection | ( | Bmodel * | model | ) |
Colors model components by the selection number.
*model | model to color. |
Color assignments are: FOM = 0 blue FOM = 0.5 green FOM = 1 red
int model_color_chiral_vertices | ( | Bmodel * | model | ) |
Colors model vertices as a function of chirality.
*model | model to color. |
Chiral vertices are colored blue for + and red for - handedness.
int model_color_curvature | ( | Bmodel * | model | ) |
Colors model vertices and links as a function of curvature.
*model | model to color. |
Colors selected model components.
*model | model to color. |
color | 4-value color vector ([0,1]). |
Colors model components by fom.
*model | model to color. |
rgba | RGBA color. |
Color assignments are: FOM = 0 blue FOM = 0.5 green FOM = 1 red
Colors model components uniformly.
*model | model to color. |
color | 4-value color vector ([0,1]). |
Both selected and non-selected elements are colored.
|
extern |