Changeset 2601 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 01/16/08 17:18:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2593 r2601 1008 1008 // cout<<i<<":"<<costFunction[i]<<" "; 1009 1009 // update cost function to an absolute value based on the total geometry count 1010 costFunction[i] *=mSceneGraph->GetRoot()->mGeometry.size();1010 costFunction[i] *= mSceneGraph->GetSize(); 1011 1011 if (costFunction[i] > maxCost) 1012 1012 maxCost = costFunction[i]; … … 1334 1334 { 1335 1335 mUseFalseColors = true; 1336 1337 1336 //glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT | GL_POLYGON_BIT); 1338 1337 … … 1341 1340 //glDisable(GL_CULL_FACE); 1342 1341 1343 double eq[4];1344 eq[0] = mSceneCutPlane.mNormal.x;1345 eq[1] = mSceneCutPlane.mNormal.y;1346 eq[2] = mSceneCutPlane.mNormal.z;1347 eq[3] = mSceneCutPlane.mD;1348 1349 1342 if (mCutViewCells) 1350 1343 { 1344 double eq[4]; 1345 eq[0] = mSceneCutPlane.mNormal.x; 1346 eq[1] = mSceneCutPlane.mNormal.y; 1347 eq[2] = mSceneCutPlane.mNormal.z; 1348 eq[3] = mSceneCutPlane.mD; 1349 1351 1350 glClipPlane(GL_CLIP_PLANE0, eq); 1352 1351 glEnable(GL_CLIP_PLANE0); … … 1362 1361 int i; 1363 1362 1364 if (!mShowPvsSizes && !mShowPiercingRays && !mShowWeightedRays && !mShowWeightedCost) 1363 // normal rendering 1364 if (!mShowPvsSizes && !mShowPiercingRays && !mShowWeightedRays && !mShowWeightedCost && !mShowComparison) 1365 1365 { 1366 1366 for (i = 0; i < viewcells.size(); ++ i) … … 1383 1383 } 1384 1384 } 1385 else 1385 else // using specialised colors 1386 1386 { 1387 1387 // transparency
Note: See TracChangeset
for help on using the changeset viewer.