Changeset 2593 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 01/14/08 18:25:44 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2591 r2593 717 717 if (1 && mShowRays) 718 718 { 719 RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod, mShowDistribution );719 RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod, mShowDistribution, 1); 720 720 } 721 721 } … … 731 731 if (!mTopView) 732 732 GlRenderer::SetupCamera(); 733 else { 734 if (0) { 733 else 734 { 735 if (0) 736 { 735 737 float dist = Magnitude(mSceneGraph->GetBox().Diagonal())*0.05; 736 738 Vector3 pos = mViewPoint - dist*Vector3(mViewDirection.x, … … 940 942 connect(mControlWidget, SIGNAL(SetShowRays(bool)), this, SLOT(SetShowRays(bool))); 941 943 942 resize(1000, 500); 944 // setting the size here 945 resize(800, 600); 943 946 mControlWidget->show(); 944 947 } … … 1525 1528 const float importance = (vcRatio - minRatio) * scale; 1526 1529 1527 if ( i < 20)1530 if (0 && (i < 20)) 1528 1531 { 1529 1532 cout << "pvs1: " << vc->GetPvs().GetSize() << " pvs2: " << compareInfo[i].mPvsSize << " importance: " << importance << endl; -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlViewer.cpp
r2573 r2593 46 46 QSize QtGlViewer::sizeHint() const 47 47 { 48 return QSize( 500, 500);48 return QSize(640, 480); 49 49 } 50 50
Note: See TracChangeset
for help on using the changeset viewer.