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

RayShadeDisplayDevice.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the           
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 /***************************************************************************
00009  * RCS INFORMATION:
00010  *
00011  *      $RCSfile: RayShadeDisplayDevice.h,v $
00012  *      $Author: johns $        $Locker:  $                $State: Exp $
00013  *      $Revision: 1.31 $      $Date: 2020/02/26 07:21:45 $
00014  *
00015  ***************************************************************************/
00021 #ifndef RAYSHADEDISPLAYDEVICE
00022 #define RAYSHADEDISPLAYDEVICE
00023 
00024 #include <stdio.h>
00025 #include "FileRenderer.h"
00026 
00028 class RayShadeDisplayDevice : public FileRenderer {
00029 private:
00030   void write_cindexmaterial(int, int);    
00031   void write_colormaterial(float *, int); 
00032   float scale_fix(float);                 
00033   
00034 protected:
00036   void comment(const char *);
00037   void cone(float *, float *, float, int); 
00038   void cylinder(float *, float *, float,int filled);
00039   void line(float *, float *);
00040   void point(float *);
00041   void sphere(float *);
00042   void triangle(const float *, const float *, const float *,
00043                 const float *, const float *, const float *);
00044    
00045 public: 
00046   RayShadeDisplayDevice();
00047   virtual ~RayShadeDisplayDevice(void);
00048   void write_header(void);
00049   void write_trailer(void);
00050 }; 
00051 
00052 #endif
00053 

Generated on Wed Apr 24 02:43:20 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002