#ifndef CT_LASPOINTFORMAT1_H #define CT_LASPOINTFORMAT1_H #include "ctliblas/tools/las/ct_laspointformat0.h" #include "ctliblas/tools/las/ct_lasgpspacket.h" class CTLIBLAS_EXPORT CT_LASPointFormat1 : public CT_LASPointFormat0, public CT_LASGpsPacket { public: CT_LASPointFormat1(); /** * @brief Return the size of the points in byte */ size_t sizeInBytes() const override; /** * @brief Write the point 'globalIndex' (index in the global pointCloud) */ void write(QDataStream &stream, CT_LASHeader* header, const CT_Point &p, const size_t &globalIndex) const override; protected: /** * @brief Derivated class must return attribute types that they need to write a point */ QList typesToSearch() override; /** * @brief Write only the information of the point format 1 */ void writeInfoFormat1(QDataStream &stream, const size_t& globalIndex) const; }; #endif // CT_LASPOINTFORMAT1_H