Lines Matching refs:file_reader
334 void ReadMatrix3x3(const EndianAwareFileReader &file_reader, in ReadMatrix3x3() argument
337 (*matrix)(i % 3, i / 3) = file_reader.Read<float>(); in ReadMatrix3x3()
342 void ReadVector3(const EndianAwareFileReader &file_reader, in ReadVector3() argument
345 (*vector)(i) = file_reader.Read<float>(); in ReadVector3()
372 EndianAwareFileReader file_reader; in ReadProblemFromFile() local
373 if (!file_reader.OpenFile(file_name)) { in ReadProblemFromFile()
378 unsigned char is_image_space_flag = file_reader.Read<unsigned char>(); in ReadProblemFromFile()
389 camera_intrinsics[i] = file_reader.Read<float>(); in ReadProblemFromFile()
393 int number_of_cameras = file_reader.Read<int>(); in ReadProblemFromFile()
397 camera.image = file_reader.Read<int>(); in ReadProblemFromFile()
398 ReadMatrix3x3(file_reader, &camera.R); in ReadProblemFromFile()
399 ReadVector3(file_reader, &camera.t); in ReadProblemFromFile()
413 int number_of_points = file_reader.Read<int>(); in ReadProblemFromFile()
417 point.track = file_reader.Read<int>(); in ReadProblemFromFile()
418 ReadVector3(file_reader, &point.X); in ReadProblemFromFile()
431 int number_of_markers = file_reader.Read<int>(); in ReadProblemFromFile()
435 marker.image = file_reader.Read<int>(); in ReadProblemFromFile()
436 marker.track = file_reader.Read<int>(); in ReadProblemFromFile()
437 marker.x = file_reader.Read<float>(); in ReadProblemFromFile()
438 marker.y = file_reader.Read<float>(); in ReadProblemFromFile()