Changeset 1211 for GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include
- Timestamp:
- 08/17/06 18:04:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/include/TestKdTreeAppListener.h
r1205 r1211 72 72 }; 73 73 74 enum ShowTree 75 { 76 SHOWTREE_OFF, 77 SHOWTREE_HILITE, 78 SHOWTREE_ALL, 79 SHOWTREE_MODES_NUM 80 }; 81 74 82 enum AppState 75 83 { … … 113 121 bool useBufferedInputKeys = false, bool useBufferedInputMouse = false); 114 122 115 virtual ~KdTreeAppListener( );123 virtual ~KdTreeAppListener(void); 116 124 117 125 void initOverlayElement(OverlayElement **elInfo, String ext, 118 126 String name, int top, String caption); 119 127 120 void initStatsOverlay( );121 122 void initKdTreeOverlay( );128 void initStatsOverlay(void); 129 130 void initKdTreeOverlay(void); 123 131 124 132 void showDebugOverlay(bool show); 125 133 126 void toggleVizCamera(); 134 void toggleVizCamera(void); 135 136 void toggleShowBoxes(void); 137 138 void toggleEnhancedVisibility(void); 139 140 void toggleBuildMethod(void); 141 142 void toggleRenderMethod(void); 127 143 128 144 virtual bool processUnbufferedKeyInput(const FrameEvent& evt); … … 130 146 bool processUnbufferedMouseInput(const FrameEvent& evt); 131 147 132 void moveCamera( );148 void moveCamera(void); 133 149 134 150 // Override frameStarted event to process that (don't care about frameEnded) … … 137 153 bool frameEnded(const FrameEvent& evt); 138 154 139 void switchMouseMode( );140 141 void switchKeyMode( );155 void switchMouseMode(void); 156 157 void switchKeyMode(void); 142 158 143 159 void keyClicked(KeyEvent* e); … … 146 162 void keyReleased(KeyEvent* e) {}; 147 163 148 164 const static String NA; 149 165 protected: 150 166 // basic … … 163 179 164 180 bool mVizCamera; 165 bool mShowTree;166 181 bool mFreeMove; 167 182 bool mTopCamFollow; 183 184 int mShowTree; 168 185 169 186 // counters … … 187 204 OverlayElement *mDemoStatus; 188 205 206 207 OverlayElement *mRenderMethodInfo; 208 OverlayElement *mEnhancedVisInfo; 209 OverlayElement *mBuildMethodInfo; 189 210 OverlayElement *mKdTreeMaxDepthInfo; 211 OverlayElement *mHighlightLevelInfo; 190 212 OverlayElement *mKTInfo; 191 213 OverlayElement *mKIInfo; 192 OverlayElement *mHighlightLevelInfo;193 OverlayElement *mBuildMethodInfo;194 OverlayElement *mRenderMethodInfo;195 214 OverlayElement *mMovementInfo; 196 215 OverlayElement *mTopCamInfo;
Note: See TracChangeset
for help on using the changeset viewer.