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

VolumeTexture Class Reference

#include <VolumeTexture.h>

List of all members.

Public Methods

 VolumeTexture ()
 ~VolumeTexture ()
void setGridData (VolumetricData *)
void generatePosTexture ()
 color voxels by their position. More...

void generateIndexTexture ()
 color voxels by their index. More...

void generateChargeTexture (float datamin, float datamax)
void generateHSVTexture (float datamin, float datamax)
void generateColorScaleTexture (float datamin, float datamax, const Scene *)
void generateContourLineTexture (float densityperline, float linewidth)
unsigned long getTextureID () const
const int * getTextureSize () const
unsigned char * getTextureMap () const
void calculateTexgenPlanes (float v0[4], float v1[4], float v2[4], float v3[4]) const


Constructor & Destructor Documentation

VolumeTexture::VolumeTexture  
 

Definition at line 33 of file VolumeTexture.C.

References NULL.

VolumeTexture::~VolumeTexture  
 

Definition at line 39 of file VolumeTexture.C.

References vmd_dealloc.


Member Function Documentation

void VolumeTexture::calculateTexgenPlanes float    v0[4],
float    v1[4],
float    v2[4],
float    v3[4]
const
 

void VolumeTexture::generateChargeTexture float    datamin,
float    datamax
 

Definition at line 172 of file VolumeTexture.C.

References VolumetricData::data, nextpower2, num, VolumetricData::xsize, VolumetricData::ysize, z, and VolumetricData::zsize.

void VolumeTexture::generateColorScaleTexture float    datamin,
float    datamax,
const Scene  
 

Definition at line 293 of file VolumeTexture.C.

References Scene::color_value, VolumetricData::data, data, MAPCLRS, MAPCOLOR, mask, nextpower2, num, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, wkf_timerhandle, VolumetricData::xsize, VolumetricData::ysize, z, and VolumetricData::zsize.

void VolumeTexture::generateContourLineTexture float    densityperline,
float    linewidth
 

Definition at line 383 of file VolumeTexture.C.

References VolumetricData::datarange, nextpower2, num, VolumetricData::voxel_value_interpolate, VolumetricData::xsize, VolumetricData::ysize, z, and VolumetricData::zsize.

void VolumeTexture::generateHSVTexture float    datamin,
float    datamax
 

Definition at line 230 of file VolumeTexture.C.

References VolumetricData::data, HSItoRGB, nextpower2, num, VolumetricData::xsize, VolumetricData::ysize, z, and VolumetricData::zsize.

void VolumeTexture::generateIndexTexture  
 

color voxels by their index.

Definition at line 138 of file VolumeTexture.C.

References HSItoRGB, num, and z.

void VolumeTexture::generatePosTexture  
 

color voxels by their position.

Definition at line 77 of file VolumeTexture.C.

References num, and z.

unsigned long VolumeTexture::getTextureID   const [inline]
 

Definition at line 67 of file VolumeTexture.h.

unsigned char* VolumeTexture::getTextureMap   const [inline]
 

Definition at line 74 of file VolumeTexture.h.

const int* VolumeTexture::getTextureSize   const [inline]
 

Definition at line 70 of file VolumeTexture.h.

void VolumeTexture::setGridData VolumetricData  
 

Definition at line 44 of file VolumeTexture.C.

References NULL, and vmd_dealloc.


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