#ifndef CT_LAZPOINTFORMAT10_H #define CT_LAZPOINTFORMAT10_H #include "ctliblaz/tools/laz/ct_lazpointformat9.h" #include "ctliblaz/tools/laz/ct_lazcolorpacket.h" #include "ctliblaz/tools/laz/ct_laznirpacket.h" #include "laszip/laszip_api.h" class CTLIBLAZ_EXPORT CT_LAZPointFormat10 : public CT_LAZPointFormat9, public CT_LAZColorPacket, public CT_LAZNirPacket { public: CT_LAZPointFormat10(); /** * @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(laszip_point* lzPoint, CT_LAZHeader* 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 10 */ void writeInfoFormat10(laszip_point* lzPoint, const size_t& globalIndex) const; }; #endif // CT_LAZPOINTFORMAT10_H