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

VrmlDisplayDevice.C File Reference

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include "VrmlDisplayDevice.h"
#include "Matrix4.h"
#include "DispCmds.h"
#include "Inform.h"
#include "utilities.h"

Go to the source code of this file.

Defines

#define DEFAULT_RADIUS   0.002
#define DASH_LENGTH   0.02

Functions

Matrix4 convert_endpoints_to_matrix (float *a, float *b)


Define Documentation

#define DASH_LENGTH   0.02
 

Definition at line 33 of file VrmlDisplayDevice.C.

#define DEFAULT_RADIUS   0.002
 

Definition at line 32 of file VrmlDisplayDevice.C.


Function Documentation

Matrix4 convert_endpoints_to_matrix float *    a,
float *    b
[static]
 

Definition at line 70 of file VrmlDisplayDevice.C.

References distance, mat, Matrix4::multmatrix, Matrix4::rot, Matrix4::translate, vec_sub, and VMD_PI.

Referenced by VrmlDisplayDevice::cone, and VrmlDisplayDevice::cylinder.


Generated on Sat May 26 01:48:55 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002