⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 laspointreader0compressed.h

📁 Lidar数据处理时
💻 H
字号:
/*
===============================================================================

  FILE:  laspointreader0compressed.h
  
  CONTENTS:
  
    Reads a point of type 0 (without gps_time) from our compressed LAS format 1.1

  PROGRAMMERS:
  
    martin isenburg@cs.unc.edu
  
  COPYRIGHT:
  
    copyright (C) 2007  martin isenburg@cs.unc.edu
    
    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  
  CHANGE HISTORY:
  
    22 February 2007 -- created 45 minutes before henna's 32nd birthday
  
===============================================================================
*/
#ifndef LAS_POINT_READER_0COMPRESSED_H
#define LAS_POINT_READER_0COMPRESSED_H

#include "laspointreader.h"

#include "rangemodel.h"
#include "rangedecoder.h"
#include "integercompressor_newer.h"

#include <stdio.h>

class LASpointReader0compressed : public LASpointReader
{
public:
  bool read_point(LASpoint* point, double* gps_time = 0);
  LASpointReader0compressed(FILE* file);
  ~LASpointReader0compressed();

private:
  FILE* file;
  LASpoint last_point;
  int last_x_diff;
  int last_y_diff;
  void init_decoder();
  RangeDecoder* rd;
  IntegerCompressorNewer* ic_dx;
  IntegerCompressorNewer* ic_dy;
  IntegerCompressorNewer* ic_z;
  RangeModel* rm_changed_values;
  IntegerCompressorNewer* ic_intensity;
  RangeModel* rm_bit_byte;
  RangeModel* rm_classification;
  IntegerCompressorNewer* ic_scan_angle_rank;
  RangeModel* rm_user_data;
  IntegerCompressorNewer* ic_point_source_ID;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -