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

RayShadeDisplayDevice.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2011 The Board of Trustees of the           
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: RayShadeDisplayDevice.h,v $
00013  *      $Author: johns $        $Locker:  $                $State: Exp $
00014  *      $Revision: 1.26 $      $Date: 2011/02/23 05:38:55 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * FileRenderer type for the RayShade raytracer
00020  *
00021  ***************************************************************************/
00022 #ifndef RAYSHADEDISPLAYDEVICE
00023 #define RAYSHADEDISPLAYDEVICE
00024 
00025 #include <stdio.h>
00026 #include "FileRenderer.h"
00027 
00029 class RayShadeDisplayDevice : public FileRenderer {
00030 private:
00031   char *ray_filename;                     
00032   void write_cindexmaterial(int, int);    
00033   void write_colormaterial(float *, int); 
00034   float scale_fix(float);                 
00035   
00036 protected:
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 triangle(const float *, const float *, const float *,
00045                 const float *, const float *, const float *);
00046    
00047 public: 
00048   RayShadeDisplayDevice();
00049   virtual ~RayShadeDisplayDevice(void);
00050   void write_header(void);
00051   void write_trailer(void);
00052 }; 
00053 
00054 #endif
00055 

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