Changeset 1004 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 06/07/06 18:38:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1002 r1004 354 354 355 355 356 ViewCellsTree::ViewCellsTree(ViewCellsManager *vcm , Environment *env):356 ViewCellsTree::ViewCellsTree(ViewCellsManager *vcm): 357 357 mRoot(NULL), 358 358 mUseAreaForPvs(false), … … 364 364 #endif 365 365 { 366 env->GetBoolValue("ViewCells.Visualization.exportMergedViewCells", mExportMergedViewCells);367 env->GetFloatValue("ViewCells.maxStaticMemory", mMaxMemory);366 Environment::GetSingleton()->GetBoolValue("ViewCells.Visualization.exportMergedViewCells", mExportMergedViewCells); 367 Environment::GetSingleton()->GetFloatValue("ViewCells.maxStaticMemory", mMaxMemory); 368 368 369 369 //-- merge options 370 env->GetFloatValue("ViewCells.PostProcess.renderCostWeight", mRenderCostWeight);371 env->GetIntValue("ViewCells.PostProcess.minViewCells", mMergeMinViewCells);372 env->GetFloatValue("ViewCells.PostProcess.maxCostRatio", mMergeMaxCostRatio);373 env->GetBoolValue("ViewCells.PostProcess.refine", mRefineViewCells);374 375 env->GetIntValue("ViewCells.PostProcess.maxMergesPerPass", mMaxMergesPerPass);376 env->GetFloatValue("ViewCells.PostProcess.avgCostMaxDeviation", mAvgCostMaxDeviation);370 Environment::GetSingleton()->GetFloatValue("ViewCells.PostProcess.renderCostWeight", mRenderCostWeight); 371 Environment::GetSingleton()->GetIntValue("ViewCells.PostProcess.minViewCells", mMergeMinViewCells); 372 Environment::GetSingleton()->GetFloatValue("ViewCells.PostProcess.maxCostRatio", mMergeMaxCostRatio); 373 Environment::GetSingleton()->GetBoolValue("ViewCells.PostProcess.refine", mRefineViewCells); 374 375 Environment::GetSingleton()->GetIntValue("ViewCells.PostProcess.maxMergesPerPass", mMaxMergesPerPass); 376 Environment::GetSingleton()->GetFloatValue("ViewCells.PostProcess.avgCostMaxDeviation", mAvgCostMaxDeviation); 377 377 378 378 Debug << "============= view cell tree options ================\n";
Note: See TracChangeset
for help on using the changeset viewer.