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

GelatoDisplayDevice.C File Reference

#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "GelatoDisplayDevice.h"
#include "DispCmds.h"
#include "config.h"
#include "Hershey.h"

Go to the source code of this file.

Defines

#define DEFAULT_RADIUS   0.0025f
#define DASH_LENGTH   0.02f

Functions

int intersectlines2D (float *p1, float *t1, float *p2, float *t2, float *p)
 Helper functions for calculating the NURBS patch parameters for cylinders and other surfaces of revolution. More...

int fullcirclearc (float r, float *U, float *Pw)
 calculate knot vectors for a complete circle. More...


Define Documentation

#define DASH_LENGTH   0.02f
 

Definition at line 35 of file GelatoDisplayDevice.C.

Referenced by GelatoDisplayDevice::line.

#define DEFAULT_RADIUS   0.0025f
 

Definition at line 34 of file GelatoDisplayDevice.C.

Referenced by GelatoDisplayDevice::line, GelatoDisplayDevice::point, GelatoDisplayDevice::sphere, and GelatoDisplayDevice::text.


Function Documentation

int fullcirclearc float    r,
float *    U,
float *    Pw
[static]
 

calculate knot vectors for a complete circle.

Definition at line 69 of file GelatoDisplayDevice.C.

References intersectlines2D, and VMD_TWOPI.

int intersectlines2D float *    p1,
float *    t1,
float *    p2,
float *    t2,
float *    p
[static]
 

Helper functions for calculating the NURBS patch parameters for cylinders and other surfaces of revolution.

Definition at line 41 of file GelatoDisplayDevice.C.

Referenced by fullcirclearc.


Generated on Tue Dec 10 02:46:50 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002