#ifndef CT_LASPOINTFORMAT5_H #define CT_LASPOINTFORMAT5_H #include "ct_laspointformat3.h" #include "ct_laswavepacket.h" class CTLIBLAS_EXPORT CT_LASPointFormat5 : public CT_LASPointFormat3, public CT_LASWavePacket { public: CT_LASPointFormat5(); /** * @brief Return the size of the points in byte */ virtual size_t sizeInBytes() const; /** * @brief Write the point 'globalIndex' (index in the global pointCloud) */ virtual CT_LasPointInfo* write(QDataStream &stream, const CT_Point &p, const size_t &globalIndex); protected: /** * @brief Derivated class must return attribute types that they need to write a point */ virtual QList typesToSearch(); /** * @brief Write only the information of the point format 5 */ void writeInfoFormat5(QDataStream &stream, CT_LasPointInfo *info); }; #endif // CT_LASPOINTFORMAT5_H