#ifndef ONF_STEPCOMPUTEDOMINANCEINDICATORS_H #define ONF_STEPCOMPUTEDOMINANCEINDICATORS_H #include "ct_step/abstract/ct_abstractstep.h" #include "ct_itemdrawable/ct_image2d.h" #include "ct_itemdrawable/ct_itemattributelist.h" #include "ct_itemdrawable/ct_scene.h" class ONF_StepComputeDominanceIndicators: public CT_AbstractStep { Q_OBJECT using SuperClass = CT_AbstractStep; public: struct Apex { Apex(double x, double y, double z, double h, double diameter, CT_StandardItemGroup* group) { _x = x; _y = y; _z = z; _h = h; _diameter = diameter; _group = group; } double _x; double _y; double _z; double _h; double _diameter; CT_StandardItemGroup* _group; }; ONF_StepComputeDominanceIndicators(); QString description() const override; QString detailledDescription() const override; QString inputDescription() const override; QString outputDescription() const override; QString detailsDescription() const override; QString URL() const override; CT_VirtualAbstractStep* createNewInstance() const final; protected: void declareInputModels(CT_StepInModelStructureManager& manager) final; void declareOutputModels(CT_StepOutModelStructureManager& manager) final; void compute() final; private: CT_HandleInResultGroupCopy<> _inResult; CT_HandleInStdZeroOrMoreGroup _inZeroOrMoreRootGroup; CT_HandleInStdGroup<> _inGroup; CT_HandleInSingularItem _inApexItem; CT_HandleInItemAttribute _inAttXApex; CT_HandleInItemAttribute _inAttYApex; CT_HandleInItemAttribute _inAttZApex; CT_HandleInItemAttribute _inAttDiameter; CT_HandleOutSingularItem _outitemAtt; CT_HandleOutStdItemAttribute _outIndiceSchutzTotal; CT_HandleOutStdItemAttribute _outIndiceSchutzHorTotal; CT_HandleOutStdItemAttribute _outIndiceSchutzVerTotal; CT_HandleOutStdItemAttribute _outIndiceSchutzMax; CT_HandleOutStdItemAttribute _outIndiceSchutzHorMax; CT_HandleOutStdItemAttribute _outIndiceSchutzVerMax; CT_HandleOutStdItemAttribute _outAngleNeighbMax; CT_HandleInResultGroup<0,1> _inResultDTM; CT_HandleInStdZeroOrMoreGroup _inZeroOrMoreRootGroupDTM; CT_HandleInStdGroup<> _inGroupDTM; CT_HandleInSingularItem > _inDTM; }; #endif // ONF_STEPCOMPUTEDOMINANCEINDICATORS_H