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: ArtDisplayDevice.h,v $ 00012 * $Author: johns $ $Locker: $ $State: Exp $ 00013 * $Revision: 1.31 $ $Date: 2020年02月26日 03:51:30 $ 00014 * 00015 ***************************************************************************/ 00035 #ifndef ARTDISPLAYDEVICE_H 00036 #define ARTDISPLAYDEVICE_H 00037 00038 #include <stdio.h> 00039 #include "FileRenderer.h" 00040 00042 class ArtDisplayDevice : public FileRenderer { 00043 private: 00044 int Initialized; 00045 00046 protected: 00047 // assorted graphics functions 00048 void comment(const char *); 00049 void cone(float *, float *, float, int); 00050 void cylinder(float *, float *, float,int filled); 00051 void line(float *, float *); 00052 void point(float *); 00053 void sphere(float *); 00054 void square(float *, float *, float *, float *, float *); 00055 void triangle(const float *, const float *, const float *, 00056 const float *, const float *, const float *); 00057 00058 public: 00059 ArtDisplayDevice(); 00060 virtual ~ArtDisplayDevice(void); 00061 void write_header(void); 00062 void write_trailer(void); 00063 }; 00064 00065 #endif 00066