#ifndef PB_ASCIDEXPORTER_H #define PB_ASCIDEXPORTER_H #include "ctlibio/ctlibio_global.h" #include "ct_exporter/abstract/ct_abstractexporter.h" #include "ct_itemdrawable/abstract/ct_abstractitemdrawablewithpointcloud.h" class CTLIBIO_EXPORT PB_ASCIDExporter : public CT_AbstractExporter { Q_OBJECT using SuperClass = CT_AbstractExporter; public: PB_ASCIDExporter(int subMenuLevel = 0); PB_ASCIDExporter(const PB_ASCIDExporter& other); QString displayableName() const override; void setItemsToExport(const QList& items); CT_EXPORTER_DECL_COPY(PB_ASCIDExporter) protected: void internalDeclareInputModels(CT_ExporterInModelStructureManager& manager) override; ExportReturn internalExportToFile() override; void clearIterators() override; void clearAttributesClouds() override; private: using HandleItemType = CT_HandleInSingularItem; CT_HandleInStdGroup<> m_hInGroup; HandleItemType m_hInItem; CT_HandleInStdItemAttribute m_hInItemAttribute; HandleItemType::const_iterator mIteratorItemBegin; HandleItemType::const_iterator mIteratorItemEnd; QList mItems; void exportItem(const CT_AbstractItemDrawableWithPointCloud* item, QTextStream& stream, const int& nExported, const int& totalToExport); }; #endif // PB_ASCIDEXPORTER_H