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

ArtDisplayDevice.h

Go to the documentation of this file.
00001 #ifndef ARTDISPLAYDEVICE_H
00002 #define ARTDISPLAYDEVICE_H
00003 
00004 /***************************************************************************
00005  *cr                                                                       
00006  *cr            (C) Copyright 1995-2011 The Board of Trustees of the           
00007  *cr                        University of Illinois                       
00008  *cr                         All Rights Reserved                        
00009  *cr                                                                   
00010  ***************************************************************************/
00011 
00012 /***************************************************************************
00013  * RCS INFORMATION:
00014  *
00015  *      $RCSfile: ArtDisplayDevice.h,v $
00016  *      $Author: johns $        $Locker:  $             $State: Exp $
00017  *      $Revision: 1.23 $       $Date: 2011/02/23 05:42:19 $
00018  *
00019  ***************************************************************************
00020  * DESCRIPTION: 
00021  *   Writes to the ART raytracer.  This is available from gondwana.ecr.mu.oz.au
00022  * as part of the vort package.
00023  *
00024  ***************************************************************************/
00025 
00026 
00027 #include <stdio.h>
00028 #include "FileRenderer.h"
00029 
00031 class ArtDisplayDevice : public FileRenderer {
00032 private:
00033   char *art_filename; 
00034   int Initialized;    
00035 
00036 protected:
00037   // assorted graphics functions
00038   void comment(const char *);
00039   void cone(float *, float *, float); 
00040   void cylinder(float *, float *, float,int filled);
00041   void line(float *, float *);
00042   void point(float *);
00043   void sphere(float *);
00044   void square(float *, float *, float *, float *, float *);
00045   void triangle(const float *, const float *, const float *,
00046                 const float *, const float *, const float *);
00047 
00048 public: 
00049   ArtDisplayDevice();
00050   virtual ~ArtDisplayDevice(void);
00051   void write_header(void);
00052   void write_trailer(void);
00053 }; 
00054 
00055 #endif
00056 

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