#include <math.h>
#include "utilities.h"
#include "AtomColor.h"
#include "Scene.h"
#include "DrawRingsUtils.h"
Go to the source code of this file.
Functions | |
void | lerp_color_range (float *newcol, float val, float rmin, float rmax, float *mincol, float *maxcol) |
void | hotcold_gradient_lerp (float pucker_sum, float *rgb) |
void | hotcold_gradient (float pucker_sum, float *rgb) |
float | hill_reilly_ring_pucker (SmallRing &ring, float *framepos) |
void | hill_reilly_ring_color (SmallRing &ring, float *framepos, float *rgb) |
void | hill_reilly_ring_colorscale (SmallRing &ring, float *framepos, float vmin, float vmax, const Scene *scene, float *rgb) |
void | vec_incr (float sum[3], const float x, const float y, const float z) |
void | ring_axes (const float *X, const float *Y, const float *Z, int N, float x[3], float y[3], float z[3]) |
void | atom_displ_from_mean_plane (float *X, float *Y, float *Z, float *displ, int N) |
int | cremer_pople_params (int N_ring_atoms, float *displ, float *q, float *phi, int &m, float &Q) |
void | cremer_pople_ring_color (SmallRing &ring, float *framepos, float *rgb) |
void | ribbon_spline (float *pos, const float *const A, const float *const B, const float *const C, const float *const D, const float t) |
|
Definition at line 307 of file DrawRingsUtils.C. References ring_axes. |
|
Definition at line 338 of file DrawRingsUtils.C. References VMD_PI. |
|
Definition at line 395 of file DrawRingsUtils.C. References atom_displ_from_mean_plane, clamp_color, cremer_pople_params, SmallRing::num, and vec_zero. |
|
Definition at line 226 of file DrawRingsUtils.C. References hill_reilly_ring_pucker, and hotcold_gradient. |
|
Definition at line 232 of file DrawRingsUtils.C. References Scene::color_value, hill_reilly_ring_pucker, MAPCLRS, and MAPCOLOR. |
|
Definition at line 102 of file DrawRingsUtils.C. References atom_displ_from_mean_plane, cremer_pople_params, cross_prod, dot_prod, n, SmallRing::num, vec_normalize, vec_sub, and VMD_PI. |
|
Definition at line 71 of file DrawRingsUtils.C. References clamp_color, and vec_zero. Referenced by hill_reilly_ring_color. |
|
Definition at line 41 of file DrawRingsUtils.C. References clamp_color, lerp_color_range, vec_copy, and vec_zero. |
|
Definition at line 33 of file DrawRingsUtils.C. References vec_lerp. Referenced by hotcold_gradient_lerp. |
|
Definition at line 462 of file DrawRingsUtils.C. References vec_copy, and vec_scaled_add. |
|
Definition at line 277 of file DrawRingsUtils.C. References cross_prod, dot_prod, vec_incr, vec_normalize, VMD_PI, and z. Referenced by atom_displ_from_mean_plane. |
|
Definition at line 268 of file DrawRingsUtils.C. References z. |