00001 //## begin module%3728CC9D00A0.cm preserve=no 00002 // %X% %Q% %Z% %W% 00003 //## end module%3728CC9D00A0.cm 00004 00005 //## begin module%3728CC9D00A0.cp preserve=no 00006 //## end module%3728CC9D00A0.cp 00007 00008 //## Module: OpenGLInterface%3728CC9D00A0; Pseudo Package specification 00009 //## Source file: C:\project\mpk\code\OpenGL\OpenGLInterface.h 00010 00011 #ifndef OpenGLInterface_h 00012 #define OpenGLInterface_h 1 00013 00014 //## begin module%3728CC9D00A0.additionalIncludes preserve=no 00015 //## end module%3728CC9D00A0.additionalIncludes 00016 00017 //## begin module%3728CC9D00A0.includes preserve=yes 00018 //## end module%3728CC9D00A0.includes 00019 00020 //## begin module%3728CC9D00A0.additionalDeclarations preserve=yes 00021 //## end module%3728CC9D00A0.additionalDeclarations 00022 00023 00024 //## begin OpenGLInterface%3728CC9D00A0.preface preserve=yes 00025 //## end OpenGLInterface%3728CC9D00A0.preface 00026 00027 //## Class: OpenGLInterface%3728CC9D00A0; Abstract 00028 // Abstract base class for open GL objects 00029 //## Category: OpenGL%3728CC7F0370 00030 //## Persistence: Transient 00031 //## Cardinality/Multiplicity: n 00032 00033 class OpenGLInterface 00034 { 00035 //## begin OpenGLInterface%3728CC9D00A0.initialDeclarations preserve=yes 00036 //## end OpenGLInterface%3728CC9D00A0.initialDeclarations 00037 00038 public: 00039 //## Constructors (specified) 00040 //## Operation: OpenGLInterface%950480125 00041 OpenGLInterface (); 00042 00043 //## Destructor (generated) 00044 virtual ~OpenGLInterface(); 00045 00046 00047 //## Other Operations (specified) 00048 //## Operation: GLDraw%925420846 00049 // this is the operation the allows an object to be drawn 00050 // in an OpenGL window 00051 virtual void GLDraw () const; 00052 00053 //## Operation: DrawExplicit%950474926 00054 virtual bool DrawExplicit () const = 0; 00055 00056 // Additional Public Declarations 00057 //## begin OpenGLInterface%3728CC9D00A0.public preserve=yes 00058 //## end OpenGLInterface%3728CC9D00A0.public 00059 00060 protected: 00061 00062 //## Other Operations (specified) 00063 //## Operation: CreateDisplayList%950220877 00064 void CreateDisplayList () const; 00065 00066 // Data Members for Class Attributes 00067 00068 //## Attribute: displayListNumber%38A338DA01B8 00069 //## begin OpenGLInterface::displayListNumber%38A338DA01B8.attr preserve=no protected: int {UAM} -1 00070 mutable int displayListNumber; 00071 //## end OpenGLInterface::displayListNumber%38A338DA01B8.attr 00072 00073 // Additional Protected Declarations 00074 //## begin OpenGLInterface%3728CC9D00A0.protected preserve=yes 00075 //## end OpenGLInterface%3728CC9D00A0.protected 00076 00077 private: 00078 // Additional Private Declarations 00079 //## begin OpenGLInterface%3728CC9D00A0.private preserve=yes 00080 //## end OpenGLInterface%3728CC9D00A0.private 00081 00082 private: //## implementation 00083 // Additional Implementation Declarations 00084 //## begin OpenGLInterface%3728CC9D00A0.implementation preserve=yes 00085 //## end OpenGLInterface%3728CC9D00A0.implementation 00086 00087 }; 00088 00089 //## begin OpenGLInterface%3728CC9D00A0.postscript preserve=yes 00090 //## end OpenGLInterface%3728CC9D00A0.postscript 00091 00092 // Class OpenGLInterface 00093 00094 //## begin module%3728CC9D00A0.epilog preserve=yes 00095 //## end module%3728CC9D00A0.epilog 00096 00097 00098 #endif