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

VrmlDisplayDevice.C File Reference

FileRenderer subclass to export molecular graphics to a VRML file. More...

#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)


Detailed Description

FileRenderer subclass to export molecular graphics to a VRML file.

List of VRML viewers at NIST: http://cic.nist.gov/vrml/vbdetect.html

Definition in file VrmlDisplayDevice.C.


Define Documentation

#define DASH_LENGTH   0.02
 

Definition at line 36 of file VrmlDisplayDevice.C.

#define DEFAULT_RADIUS   0.002
 

Definition at line 35 of file VrmlDisplayDevice.C.


Function Documentation

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

Definition at line 73 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 Thu Mar 28 02:44:55 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002