- Timestamp:
- 12/17/07 18:39:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.h
r2566 r2569 83 83 QtRendererControlWidget(QWidget * parent = 0, Qt::WFlags f = 0); 84 84 85 QGroupBox *CreateVisualizationPanel(QWidget *parent); 86 85 87 public slots: 86 88 … … 88 90 void UpdatePvsErrorItem(int i, 89 91 GlRendererBuffer::PvsErrorEntry &); 92 93 94 QGroupBox *CreateRenderCostPanel(QWidget *parent); 95 90 96 91 97 signals: … … 116 122 void SetShowPiercingRays(bool); 117 123 void SetShowWeightedRays(bool); 124 void SetShowWeightedCost(bool); 125 118 126 void SetTopView(bool); 119 127 void SetCutViewCells(bool); … … 122 130 void SetHideByCost(bool); 123 131 void SetUseTransparency(bool); 132 133 void SetShowDistanceWeightedTriangles(bool); 134 void SetShowWeightedTriangles(bool); 135 void SetShowDistanceWeightedPvs(bool); 124 136 }; 125 137 … … 159 171 bool mUseTransparency; 160 172 173 bool mShowWeightedCost; 174 175 bool mShowDistanceWeightedTriangles; 176 bool mShowDistanceWeightedPvs; 177 bool mShowWeightedTriangles; 178 161 179 // some statistics 162 180 int mPvsSize; … … 352 370 } 353 371 372 void SetShowWeightedCost(bool b) 373 { 374 mShowWeightedCost = b; 375 updateGL(); 376 } 377 378 void SetShowDistanceWeightedPvs(bool b) 379 { 380 mShowDistanceWeightedPvs = b; 381 updateGL(); 382 } 383 384 385 void SetShowDistanceWeightedTriangles(bool b) 386 { 387 mShowDistanceWeightedTriangles = b; 388 updateGL(); 389 } 390 391 void SetShowWeightedTriangles(bool b) 392 { 393 mShowWeightedTriangles = b; 394 updateGL(); 395 } 396 397 354 398 void _RenderPvs(); 355 399 … … 358 402 void _UpdatePvsIndices(KdNode *node, int &indexBufferSize); 359 403 360 404 float ComputeRenderCost(ViewCell *vc); 361 405 362 406 /////////
Note: See TracChangeset
for help on using the changeset viewer.