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

DispCmdCylinder Struct Reference

draw a cylinder between two endpoints. More...

#include <DispCmds.h>

List of all members.

Public Methods

 DispCmdCylinder (void)
void putdata (const float *, const float *, float, int, int filled, VMDDisplayList *)

Public Attributes

float rot [2]
 cache the angle computation. More...

int lastres


Detailed Description

draw a cylinder between two endpoints.

Definition at line 455 of file DispCmds.h.


Constructor & Destructor Documentation

DispCmdCylinder::DispCmdCylinder void   
 

Definition at line 779 of file DispCmds.C.

References lastres.


Member Function Documentation

void DispCmdCylinder::putdata const float *   ,
const float *   ,
float   ,
int   ,
int    filled,
VMDDisplayList  
 

Definition at line 783 of file DispCmds.C.

References VMDDisplayList::append, cross_prod, DCYLINDER, dot_prod, lastres, n, NULL, rot, size, vec_normalize, vec_sub, and VMD_TWOPI.


Member Data Documentation

int DispCmdCylinder::lastres
 

Definition at line 458 of file DispCmds.h.

Referenced by DispCmdCylinder, and putdata.

float DispCmdCylinder::rot[2]
 

cache the angle computation.

Definition at line 457 of file DispCmds.h.

Referenced by putdata.


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