00001 //## begin module%3728CD150118.cm preserve=no 00002 // %X% %Q% %Z% %W% 00003 //## end module%3728CD150118.cm 00004 00005 //## begin module%3728CD150118.cp preserve=no 00006 //## end module%3728CD150118.cp 00007 00008 //## Module: GL_Sphere%3728CD150118; Pseudo Package specification 00009 //## Source file: C:\project\mpk\code\OpenGL\GL_Sphere.h 00010 00011 #ifndef GL_Sphere_h 00012 #define GL_Sphere_h 1 00013 00014 //## begin module%3728CD150118.additionalIncludes preserve=no 00015 //## end module%3728CD150118.additionalIncludes 00016 00017 //## begin module%3728CD150118.includes preserve=yes 00018 //## end module%3728CD150118.includes 00019 00020 // MPK_Sphere 00021 #include "geometry\MPK_Sphere.h" 00022 // OpenGLInterface 00023 #include "OpenGL\OpenGLInterface.h" 00024 //## begin module%3728CD150118.additionalDeclarations preserve=yes 00025 //## end module%3728CD150118.additionalDeclarations 00026 00027 00028 //## begin GL_Sphere%3728CD150118.preface preserve=yes 00029 //## end GL_Sphere%3728CD150118.preface 00030 00031 //## Class: GL_Sphere%3728CD150118 00032 // this is the sphere class that has a GL_Draw method for 00033 // displaying in systems using OpenGL. 00034 //## Category: OpenGL%3728CC7F0370 00035 //## Persistence: Transient 00036 //## Cardinality/Multiplicity: n 00037 00038 class GL_Sphere : public MPK_Sphere, //## Inherits: <unnamed>%3728CD2400AA 00039 public OpenGLInterface //## Inherits: <unnamed>%3728CD2703C0 00040 { 00041 //## begin GL_Sphere%3728CD150118.initialDeclarations preserve=yes 00042 //## end GL_Sphere%3728CD150118.initialDeclarations 00043 00044 public: 00045 //## Constructors (specified) 00046 //## Operation: GL_Sphere%925420848 00047 GL_Sphere (FrameManager* frameManager); 00048 00049 //## Operation: GL_Sphere%925852816 00050 GL_Sphere (const GL_Sphere& right); 00051 00052 //## Destructor (generated) 00053 virtual ~GL_Sphere(); 00054 00055 00056 //## Other Operations (specified) 00057 //## Operation: Clone%925852815 00058 virtual Entity* Clone () const; 00059 00060 // Additional Public Declarations 00061 //## begin GL_Sphere%3728CD150118.public preserve=yes 00062 //## end GL_Sphere%3728CD150118.public 00063 00064 protected: 00065 00066 //## Other Operations (specified) 00067 //## Operation: DrawExplicit%950474931 00068 virtual bool DrawExplicit () const; 00069 00070 // Data Members for Class Attributes 00071 00072 //## Attribute: slices%3728D087014A 00073 //## begin GL_Sphere::slices%3728D087014A.attr preserve=no protected: unsigned int {UA} 00074 unsigned int slices; 00075 //## end GL_Sphere::slices%3728D087014A.attr 00076 00077 //## Attribute: stacks%3728D08F0316 00078 //## begin GL_Sphere::stacks%3728D08F0316.attr preserve=no protected: unsigned int {UA} 00079 unsigned int stacks; 00080 //## end GL_Sphere::stacks%3728D08F0316.attr 00081 00082 // Additional Protected Declarations 00083 //## begin GL_Sphere%3728CD150118.protected preserve=yes 00084 //## end GL_Sphere%3728CD150118.protected 00085 00086 private: 00087 // Additional Private Declarations 00088 //## begin GL_Sphere%3728CD150118.private preserve=yes 00089 //## end GL_Sphere%3728CD150118.private 00090 00091 private: //## implementation 00092 // Additional Implementation Declarations 00093 //## begin GL_Sphere%3728CD150118.implementation preserve=yes 00094 //## end GL_Sphere%3728CD150118.implementation 00095 00096 }; 00097 00098 //## begin GL_Sphere%3728CD150118.postscript preserve=yes 00099 //## end GL_Sphere%3728CD150118.postscript 00100 00101 // Class GL_Sphere 00102 00103 //## begin module%3728CD150118.epilog preserve=yes 00104 //## end module%3728CD150118.epilog 00105 00106 00107 #endif