Changeset 2002 for GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
- Timestamp:
- 01/21/07 00:14:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
r1966 r2002 165 165 166 166 167 bool168 RssPreprocessor::ExportRayAnimation(const char *filename,169 const vector<VssRayContainer> &vssRays170 )171 {172 cout<<"Exporting vss rays..."<<endl<<flush;173 174 Exporter *exporter = NULL;175 exporter = Exporter::GetExporter(filename);176 if (0) {177 exporter->SetWireframe();178 exporter->ExportKdTree(*mKdTree);179 }180 exporter->SetFilled();181 // $$JB temporarily do not export the scene182 if (1)183 exporter->ExportScene(mSceneGraph->GetRoot());184 exporter->SetWireframe();185 186 if (1) {187 exporter->SetForcedMaterial(RgbColor(1,0,1));188 exporter->ExportBox(mViewCellsManager->GetViewSpaceBox());189 exporter->ResetForcedMaterial();190 }191 192 exporter->ExportRaySets(vssRays, RgbColor(1, 0, 0));193 194 delete exporter;195 196 cout<<"done."<<endl<<flush;197 198 return true;199 }200 167 201 168
Note: See TracChangeset
for help on using the changeset viewer.