MCPcopy Create free account
hub / github.com/OctoMap/octomap / writeBinary

Method writeBinary

octomap/src/ScanGraph.cpp:317–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 }
316
317 bool ScanGraph::writeBinary(const std::string& filename) const {
318 std::ofstream binary_outfile( filename.c_str(), std::ios_base::binary);
319 if (!binary_outfile.is_open()){
320 OCTOMAP_ERROR_STR("Filestream to "<< filename << " not open, nothing written.");
321 return false;
322 }
323 writeBinary(binary_outfile);
324 binary_outfile.close();
325 return true;
326 }
327
328 std::ostream& ScanGraph::writeBinary(std::ostream &s) const {
329

Callers 14

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
Pointcloud.cppFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
ScanGraph.cppFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
Pose6D.cppFile · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 4

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36