00001 //## begin module%3856BC5F0301.cm preserve=no 00002 // %X% %Q% %Z% %W% 00003 //## end module%3856BC5F0301.cm 00004 00005 //## begin module%3856BC5F0301.cp preserve=no 00006 //## end module%3856BC5F0301.cp 00007 00008 //## Module: MPK_Cylinder%3856BC5F0301; Pseudo Package specification 00009 //## Source file: C:\project\mpk\code\geometry\MPK_Cylinder.h 00010 00011 #ifndef MPK_Cylinder_h 00012 #define MPK_Cylinder_h 1 00013 00014 //## begin module%3856BC5F0301.additionalIncludes preserve=no 00015 //## end module%3856BC5F0301.additionalIncludes 00016 00017 //## begin module%3856BC5F0301.includes preserve=yes 00018 #include <iostream> 00019 using std::ostream ; 00020 //## end module%3856BC5F0301.includes 00021 00022 // ObjectBase 00023 #include "geometry\ObjectBase.h" 00024 //## begin module%3856BC5F0301.additionalDeclarations preserve=yes 00025 //## end module%3856BC5F0301.additionalDeclarations 00026 00027 00028 //## begin MPK_Cylinder%3856BC5F0301.preface preserve=yes 00029 //## end MPK_Cylinder%3856BC5F0301.preface 00030 00031 //## Class: MPK_Cylinder%3856BC5F0301 00032 //## Category: geometry%36FE7BDE030C 00033 //## Persistence: Transient 00034 //## Cardinality/Multiplicity: n 00035 00036 class MPK_Cylinder : public ObjectBase //## Inherits: <unnamed>%3856BC6A000D 00037 { 00038 //## begin MPK_Cylinder%3856BC5F0301.initialDeclarations preserve=yes 00039 //## end MPK_Cylinder%3856BC5F0301.initialDeclarations 00040 00041 public: 00042 //## Constructors (specified) 00043 //## Operation: MPK_Cylinder%945198450 00044 MPK_Cylinder (FrameManager* frameManager); 00045 00046 //## Operation: MPK_Cylinder%945198451 00047 MPK_Cylinder (const MPK_Cylinder& right); 00048 00049 //## Destructor (generated) 00050 virtual ~MPK_Cylinder(); 00051 00052 00053 //## Other Operations (specified) 00054 //## Operation: IsInterfering%945198443 00055 virtual bool IsInterfering (const Entity* entity) const; 00056 00057 //## Operation: CanCheckInterference%945198444 00058 virtual bool CanCheckInterference (const Entity* entity) const; 00059 00060 //## Operation: Serialize%945198445 00061 virtual void Serialize (ostream& os) const; 00062 00063 //## Operation: Deserialize%945198447 00064 virtual void Deserialize(IfstreamWithComments& is); 00065 00066 //## Operation: SetRadius%945198454 00067 void SetRadius (double radius); 00068 00069 //## Operation: SetHeight%945198455 00070 void SetHeight (double height); 00071 00072 //## Operation: Height%950220879 00073 double Height () const; 00074 00075 //## Operation: Radius%950220880 00076 double Radius () const; 00077 00078 // Additional Public Declarations 00079 //## begin MPK_Cylinder%3856BC5F0301.public preserve=yes 00080 //## end MPK_Cylinder%3856BC5F0301.public 00081 protected: 00082 // Data Members for Class Attributes 00083 00084 //## Attribute: radius%3856BC78013A 00085 //## begin MPK_Cylinder::radius%3856BC78013A.attr preserve=no protected: double {UA} 00086 double radius; 00087 //## end MPK_Cylinder::radius%3856BC78013A.attr 00088 00089 //## Attribute: height%3856BC850002 00090 //## begin MPK_Cylinder::height%3856BC850002.attr preserve=no protected: double {UA} 00091 double height; 00092 //## end MPK_Cylinder::height%3856BC850002.attr 00093 00094 // Additional Protected Declarations 00095 //## begin MPK_Cylinder%3856BC5F0301.protected preserve=yes 00096 //## end MPK_Cylinder%3856BC5F0301.protected 00097 00098 private: 00099 // Additional Private Declarations 00100 //## begin MPK_Cylinder%3856BC5F0301.private preserve=yes 00101 //## end MPK_Cylinder%3856BC5F0301.private 00102 00103 private: //## implementation 00104 // Additional Implementation Declarations 00105 //## begin MPK_Cylinder%3856BC5F0301.implementation preserve=yes 00106 //## end MPK_Cylinder%3856BC5F0301.implementation 00107 00108 }; 00109 00110 //## begin MPK_Cylinder%3856BC5F0301.postscript preserve=yes 00111 //## end MPK_Cylinder%3856BC5F0301.postscript 00112 00113 // Class MPK_Cylinder 00114 00115 //## begin module%3856BC5F0301.epilog preserve=yes 00116 //## end module%3856BC5F0301.epilog 00117 00118 00119 #endif