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

DispCmdSquare Struct Reference

draw a square, given 3 of four points. More...

#include <DispCmds.h>

List of all members.

Public Methods

void putdata (float *p1, float *p2, float *p3, VMDDisplayList *)

Public Attributes

float pos1 [3]
float pos2 [3]
float pos3 [3]
float pos4 [3]
float norml [3]


Detailed Description

draw a square, given 3 of four points.

Definition at line 280 of file DispCmds.h.


Member Function Documentation

void DispCmdSquare::putdata float *    p1,
float *    p2,
float *    p3,
VMDDisplayList  
 

Definition at line 354 of file DispCmds.C.

References VMDDisplayList::append, cross_prod, DSQUARE, norml, NULL, pos1, pos2, pos3, pos4, and vec_normalize.


Member Data Documentation

float DispCmdSquare::norml[3]
 

Definition at line 282 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdSquare::pos1[3]
 

Definition at line 281 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdSquare::pos2[3]
 

Definition at line 281 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdSquare::pos3[3]
 

Definition at line 281 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

float DispCmdSquare::pos4[3]
 

Definition at line 281 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