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

VolumetricData.h File Reference

Go to the source code of this file.

Compounds

class  VolumetricData
 Volumetric data class for potential maps, electron density maps, etc. More...


Defines

#define VOXEL_GRADIENT_FAST_IDX(v, index, grad)
 fast but unsafe macro for querying volume gradients. More...

#define VOXEL_GRADIENT_FAST(v, x, y, z, grad)
 fast but unsafe macro for querying volume gradients. More...


Define Documentation

#define VOXEL_GRADIENT_FAST v,
x,
y,
z,
grad   
 

Value:

{ int index = ((z)*v->xsize*v->ysize + (y)*v->xsize + (x)) * 3; \
    (grad)[0] = v->gradient[index    ]; \
    (grad)[1] = v->gradient[index + 1]; \
    (grad)[2] = v->gradient[index + 2]; \
  }
fast but unsafe macro for querying volume gradients.

Definition at line 120 of file VolumetricData.h.

Referenced by IsoSurface::DoCellGeneral, and IsoSurface::DoGridPosNorms.

#define VOXEL_GRADIENT_FAST_IDX v,
index,
grad   
 

Value:

{ (grad)[0] = v->gradient[index    ]; \
    (grad)[1] = v->gradient[index + 1]; \
    (grad)[2] = v->gradient[index + 2]; \
  }
fast but unsafe macro for querying volume gradients.

Definition at line 113 of file VolumetricData.h.


Generated on Wed May 23 01:50:51 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002