#include <VolMapCreate.h>
Inheritance diagram for VolMapCreateMask:
Public Methods | |
VolMapCreateMask (VMDApp *app, AtomSel *sel, float res, float the_atomradius) | |
Protected Methods | |
int | compute_init () |
This creates a "mask", i.e. a map that is either 1 or 0 and can be multiplied to another map in order to isolate a particular region in space. Currently, the mask is created by painting a sphere of radius 5 around each selected atom. More... | |
int | compute_frame (int frame, float *voldata) |
|
Definition at line 100 of file VolMapCreate.h. References VolMapCreate::app, and VolMapCreate::sel. |
|
Implements VolMapCreate. Definition at line 463 of file VolMapCreate.C. References VolMapCreate::app, VolumetricData::cell_axes, AtomSel::change, AtomSel::coordinates, VolMapCreate::delta, AtomSel::firstsel, GRIDSIZEX, AtomSel::lastsel, MAX, MIN, MoleculeList::mol_from_id, VMDApp::moleculeList, AtomSel::molid, n, NULL, AtomSel::on, VolumetricData::origin, VolMapCreate::sel, VolMapCreate::volmap, AtomSel::which_frame, VolumetricData::xsize, VolumetricData::ysize, and VolumetricData::zsize. |
|
This creates a "mask", i.e. a map that is either 1 or 0 and can be multiplied to another map in order to isolate a particular region in space. Currently, the mask is created by painting a sphere of radius 5 around each selected atom.
Reimplemented from VolMapCreate. Definition at line 454 of file VolMapCreate.C. References AtomSel::cmdStr, VolMapCreate::compute_init, VolMapCreate::sel, VolumetricData::set_name, and VolMapCreate::volmap. |