ColorVolume::ColorVolume(const TsdfVolume& tsdf) : resolution_(tsdf.getResolution()), volume_size_(tsdf.getSize()) { int volume_x = resolution_(0); int volume_y = resolution_(1); int volume_z = resolution_(2); color_volume_.create(volume_y * volume_z, volume_x); reset(); }
grid( const comma::command_line_options& options ) : csv_( make_csv_options_( options ) ) , istream_( std::cin, csv_ ) , permissive_( options.exists( "--permissive" ) ) , reverse_( options.exists( "--reverse" ) ) , voxel_map_( resolution_( options.value< double >( "--resolution", 1 ) ) ) // quick and dirty: does not matter for now, but may be used in future { }