#include "ct_laspointformat7.h" CT_LASPointFormat7::CT_LASPointFormat7() : CT_LASPointFormat6() { } size_t CT_LASPointFormat7::sizeInBytes() const { return CT_LASPointFormat6::sizeInBytes() + colorPacketSizeInBytes(); } void CT_LASPointFormat7::write(QDataStream &stream, CT_LASHeader* header, const CT_Point &p, const size_t &globalIndex) const { CT_LASPointFormat6::write(stream, header, p, globalIndex); writeInfoFormat7(stream, globalIndex); } QList CT_LASPointFormat7::typesToSearch() { QList l = CT_LASPointFormat6::typesToSearch(); l.append(colorPacketTypesNeeded()); return l; } void CT_LASPointFormat7::writeInfoFormat7(QDataStream &stream, const size_t &globalIndex) const { writeColorPacket(stream, globalIndex, colors(), scalars(CT_LasDefine::Red), scalars(CT_LasDefine::Green), scalars(CT_LasDefine::Blue)); }