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

DepthSortObject Class Reference

Class for storage and re-ordering of depth-sorted geometry as needed for PSDisplayDevice. More...

#include <DepthSortObj.h>

List of all members.

Public Methods

 DepthSortObject ()
int operator> (const DepthSortObject &cmp)
int operator< (const DepthSortObject &cmp)

Public Attributes

float * points
 vertices used to draw points, lines, quads, etc. More...

float light_scale
 shading factor, also used to store text scale factor. More...

int npoints
 number of points (1, 2, 3, or 4 for quads). More...

int color
 color index. More...

float dist
 distance from eye. More...

char * text
 text to print, if a text object. More...


Detailed Description

Class for storage and re-ordering of depth-sorted geometry as needed for PSDisplayDevice.

Definition at line 37 of file DepthSortObj.h.


Constructor & Destructor Documentation

DepthSortObject::DepthSortObject   [inline]
 

Definition at line 46 of file DepthSortObj.h.

References color, light_scale, npoints, NULL, and text.


Member Function Documentation

int DepthSortObject::operator< const DepthSortObject &    cmp [inline]
 

Definition at line 52 of file DepthSortObj.h.

References dist.

int DepthSortObject::operator> const DepthSortObject &    cmp [inline]
 

Definition at line 48 of file DepthSortObj.h.

References dist.


Member Data Documentation

int DepthSortObject::color
 

color index.

Definition at line 42 of file DepthSortObj.h.

Referenced by DepthSortObject, and PSDisplayDevice::render.

float DepthSortObject::dist
 

distance from eye.

Definition at line 43 of file DepthSortObj.h.

Referenced by operator<, operator>, and PSDisplayDevice::render.

float DepthSortObject::light_scale
 

shading factor, also used to store text scale factor.

Definition at line 40 of file DepthSortObj.h.

Referenced by DepthSortObject, and PSDisplayDevice::render.

int DepthSortObject::npoints
 

number of points (1, 2, 3, or 4 for quads).

Definition at line 41 of file DepthSortObj.h.

Referenced by DepthSortObject, and PSDisplayDevice::render.

float* DepthSortObject::points
 

vertices used to draw points, lines, quads, etc.

Definition at line 39 of file DepthSortObj.h.

Referenced by PSDisplayDevice::render.

char* DepthSortObject::text
 

text to print, if a text object.

Definition at line 44 of file DepthSortObj.h.

Referenced by DepthSortObject, and PSDisplayDevice::render.


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