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

DispCmdVolumeTexture Struct Reference

tell OpenGL to cache a 3D texture with the given unique ID. Memory for the texture is retained by the caller, not copied into the display list. More...

#include <DispCmds.h>

List of all members.

Public Methods

void putdata (unsigned long texID, const int size[3], unsigned char *texptr, const float vp0[3], const float vp1[3], const float vp2[3], const float vp3[3], VMDDisplayList *)

Public Attributes

unsigned char * texmap
 3-D texture map. More...

unsigned long ID
 serial number for this 3-D texture. More...

unsigned xsize
unsigned ysize
unsigned zsize
float v0 [3]
 origin for texgen plane equation. More...

float v1 [3]
 X axis for texgen plane equation. More...

float v2 [3]
 Y axis for texgen plane equation. More...

float v3 [3]
 Z axis for texgen plane equation. More...


Detailed Description

tell OpenGL to cache a 3D texture with the given unique ID. Memory for the texture is retained by the caller, not copied into the display list.

Definition at line 501 of file DispCmds.h.


Member Function Documentation

void DispCmdVolumeTexture::putdata unsigned long    texID,
const int    size[3],
unsigned char *    texptr,
const float    vp0[3],
const float    vp1[3],
const float    vp2[3],
const float    vp3[3],
VMDDisplayList  
 

Definition at line 957 of file DispCmds.C.

References VMDDisplayList::append, DVOLUMETEXTURE, ID, NULL, size, texmap, v0, v1, v2, v3, xsize, ysize, and zsize.


Member Data Documentation

unsigned long DispCmdVolumeTexture::ID
 

serial number for this 3-D texture.

Definition at line 506 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

unsigned char* DispCmdVolumeTexture::texmap
 

3-D texture map.

Definition at line 505 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdVolumeTexture::v0[3]
 

origin for texgen plane equation.

Definition at line 510 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdVolumeTexture::v1[3]
 

X axis for texgen plane equation.

Definition at line 511 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdVolumeTexture::v2[3]
 

Y axis for texgen plane equation.

Definition at line 512 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdVolumeTexture::v3[3]
 

Z axis for texgen plane equation.

Definition at line 513 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

unsigned DispCmdVolumeTexture::xsize
 

Definition at line 507 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

unsigned DispCmdVolumeTexture::ysize
 

Definition at line 508 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

unsigned DispCmdVolumeTexture::zsize
 

Definition at line 509 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.


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