00001 //## begin module%379DF6700310.cm preserve=no 00002 // %X% %Q% %Z% %W% 00003 //## end module%379DF6700310.cm 00004 00005 //## begin module%379DF6700310.cp preserve=no 00006 //## end module%379DF6700310.cp 00007 00008 //## Module: O_Bitmap%379DF6700310; Pseudo Package specification 00009 //## Source file: E:\mpk\code\Planners\O_Bitmap.h 00010 00011 #ifndef O_Bitmap_h 00012 #define O_Bitmap_h 1 00013 00014 //## begin module%379DF6700310.additionalIncludes preserve=no 00015 //## end module%379DF6700310.additionalIncludes 00016 00017 //## begin module%379DF6700310.includes preserve=yes 00018 //## end module%379DF6700310.includes 00019 00020 // PL_OutputWindow 00021 #include "Planners/output/PL_OutputWindow.h" 00022 //## begin module%379DF6700310.additionalDeclarations preserve=yes 00023 //## end module%379DF6700310.additionalDeclarations 00024 00025 00026 //## begin O_Bitmap%379DF6700310.preface preserve=yes 00027 //## end O_Bitmap%379DF6700310.preface 00028 00029 //## Class: O_Bitmap%379DF6700310 00030 //## Category: Planners%36FB140B003C 00031 //## Persistence: Transient 00032 //## Cardinality/Multiplicity: n 00033 00034 class O_Bitmap : public PL_OutputWindow //## Inherits: <unnamed>%379DF67D01F6 00035 { 00036 //## begin O_Bitmap%379DF6700310.initialDeclarations preserve=yes 00037 //## end O_Bitmap%379DF6700310.initialDeclarations 00038 00039 public: 00040 //## Constructors (specified) 00041 //## Operation: O_Bitmap%933099179 00042 O_Bitmap (); 00043 00044 //## Destructor (generated) 00045 virtual ~O_Bitmap(); 00046 00047 00048 //## Other Operations (specified) 00049 //## Operation: SetResolution%933099176 00050 void SetResolution (const unsigned int xRes, const unsigned int yRes); 00051 00052 //## Operation: PutPixel%933099177 00053 void PutPixel (const unsigned int x, const unsigned int y, double intensity); 00054 00055 //## Operation: Display%933099178 00056 void Display () ; 00057 00058 //## Operation: Clear%933099180 00059 void Clear (); 00060 00061 // Additional Public Declarations 00062 //## begin O_Bitmap%379DF6700310.public preserve=yes 00063 #ifdef WIN32 00064 virtual void OnLButtonDblClk(UINT nFlags, CPoint point) ; 00065 #endif 00066 //## end O_Bitmap%379DF6700310.public 00067 00068 protected: 00069 // Data Members for Class Attributes 00070 00071 //## Attribute: bitmap%379DF6F80012 00072 //## begin O_Bitmap::bitmap%379DF6F80012.attr preserve=no protected: float* {UA} NULL 00073 float* bitmap; 00074 //## end O_Bitmap::bitmap%379DF6F80012.attr 00075 00076 // Additional Protected Declarations 00077 //## begin O_Bitmap%379DF6700310.protected preserve=yes 00078 //## end O_Bitmap%379DF6700310.protected 00079 00080 private: 00081 // Data Members for Class Attributes 00082 00083 //## Attribute: xRes%379DF858020D 00084 //## begin O_Bitmap::xRes%379DF858020D.attr preserve=no private: unsigned int {UA} 0 00085 unsigned int xRes; 00086 //## end O_Bitmap::xRes%379DF858020D.attr 00087 00088 //## Attribute: yRes%379DF86101E8 00089 //## begin O_Bitmap::yRes%379DF86101E8.attr preserve=no private: unsigned int {UA} 0 00090 unsigned int yRes; 00091 //## end O_Bitmap::yRes%379DF86101E8.attr 00092 00093 //## Attribute: maxIntensity%379DFA7F03C8 00094 //## begin O_Bitmap::maxIntensity%379DFA7F03C8.attr preserve=no private: double {UA} 0 00095 double maxIntensity; 00096 //## end O_Bitmap::maxIntensity%379DFA7F03C8.attr 00097 00098 //## Attribute: minIntensity%379DFA840375 00099 //## begin O_Bitmap::minIntensity%379DFA840375.attr preserve=no private: double {UA} 0 00100 double minIntensity; 00101 //## end O_Bitmap::minIntensity%379DFA840375.attr 00102 00103 // Additional Private Declarations 00104 //## begin O_Bitmap%379DF6700310.private preserve=yes 00105 //## end O_Bitmap%379DF6700310.private 00106 00107 private: //## implementation 00108 // Additional Implementation Declarations 00109 //## begin O_Bitmap%379DF6700310.implementation preserve=yes 00110 //## end O_Bitmap%379DF6700310.implementation 00111 00112 }; 00113 00114 //## begin O_Bitmap%379DF6700310.postscript preserve=yes 00115 //## end O_Bitmap%379DF6700310.postscript 00116 00117 // Class O_Bitmap 00118 00119 //## begin module%379DF6700310.epilog preserve=yes 00120 //## end module%379DF6700310.epilog 00121 00122 00123 #endif