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

📄 laswriter.h

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

  FILE:  LASwriter.h
  
  CONTENTS:
  
    Writes LIDAR points to the LAS format (Version 1.x, March 07, 2005).

  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:
  
    21 February 2007 -- created after eating Sarah's veggies with peanutsauce
  
===============================================================================
*/
#ifndef LAS_WRITER_H
#define LAS_WRITER_H

#include "lasdefinitions.h"
#include "laspointwriter.h"

#include <stdio.h>

class LASwriter
{
public:
  int npoints;
  int p_count;

  bool open(FILE* file, LASheader* header, int compression = 0);

  bool write_point(LASpoint* point, double gps_time = 0);

  void close();

  LASwriter();
  ~LASwriter();

private:
  FILE* file;
  LASpointWriter* pointWriter;
};

#endif

⌨️ 快捷键说明

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