Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

QuickSurf Class Reference

#include <QuickSurf.h>

List of all members.

Public Methods

 QuickSurf (int forcecpuonly=0)
 ~QuickSurf (void)
void free_gpu_memory (void)
 experimental mechanism to free GPU memory when needed for other things like OptiX ray tracing. More...

int calc_surf (AtomSel *atomSel, DrawMolecule *mymol, const float *atompos, const float *atomradii, int quality, float radscale, float gridspacing, float isovalue, const int *colidx, const float *cmap, VMDDisplayList *cmdList)
VolumetricDatacalc_density_map (AtomSel *atomSel, DrawMolecule *mymol, const float *atompos, const float *atomradii, int quality, float radscale, float gridspacing)


Constructor & Destructor Documentation

QuickSurf::QuickSurf int    forcecpuonly = 0
 

Definition at line 1118 of file QuickSurf.C.

References IsoSurface::clear, NULL, and wkf_timer_create.

QuickSurf::~QuickSurf void   
 

Definition at line 1738 of file QuickSurf.C.

References free_gpu_memory, NULL, and wkf_timer_destroy.


Member Function Documentation

VolumetricData * QuickSurf::calc_density_map AtomSel   atomSel,
DrawMolecule   mymol,
const float *    atompos,
const float *    atomradii,
int    quality,
float    radscale,
float    gridspacing
 

Definition at line 1632 of file QuickSurf.C.

References calc_surf, gridspacing, and NULL.

Referenced by calc_cc, mdff_cc, mdff_sim, and vmd_measure_volinterior.

int QuickSurf::calc_surf AtomSel   atomSel,
DrawMolecule   mymol,
const float *    atompos,
const float *    atomradii,
int    quality,
float    radscale,
float    gridspacing,
float    isovalue,
const int *    colidx,
const float *    cmap,
VMDDisplayList   cmdList
 

Definition at line 1166 of file QuickSurf.C.

References DrawMolecule::app, ResizeArray::append, ResizeArray::append3, atoms, CUDAQuickSurf::calc_surf, VMDApp::cpucaps, dot_prod, AtomSel::firstsel, free_gpu_memory, BaseMolecule::get_radii_minmax, gridspacing, AtomSel::lastsel, MAX, minmax_selected_3fv_aligned, NULL, ResizeArray::num, ResizeArray< Residue * >::num, AtomSel::num_atoms, AtomSel::on, PROFILE_POP_RANGE, PROFILE_PUSH_RANGE, BaseMolecule::residueList, CUDAQuickSurf::RGB3F, CUDAQuickSurf::RGB4U, AtomSel::selected, vec_add, vec_copy, vec_scale, vec_sub, vmd_gaussdensity_opt, vmd_gaussdensity_threaded, VMD_PI, volsz, CUDAQuickSurf::VolTexFormat, wkf_timer_start, and wkf_timer_timenow.

Referenced by calc_density_map.

void QuickSurf::free_gpu_memory void   
 

experimental mechanism to free GPU memory when needed for other things like OptiX ray tracing.

Definition at line 1156 of file QuickSurf.C.

References NULL.

Referenced by calc_surf, OptiXDisplayDevice::write_header, and ~QuickSurf.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:47:19 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002