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