#include "tk_steppluginmanager.h" #include "ct_actions/ct_actionsseparator.h" #include "step/tk_stepcentercloud.h" //#include "step/tk_stepcolorbyaxis.h" //#include "step/tk_stepcolorrandom.h" //#include "step/tk_stepestimatenormalsrandom.h" #include "step/tk_stepextractbboxpart.h" #include "step/tk_stepextractbox.h" #include "step/tk_stepextractcylinder.h" #include "step/tk_stepextractsphere.h" #include "step/tk_stepextractverticalcloudpart.h" #include "step/tk_stepextractzslice.h" #include "step/tk_stepextractzslicefromattributes.h" //#include "step/tk_stepfacecolorrandom.h" //#include "step/tk_stepfacenormalestimator.h" //#include "step/tk_stepfilterpointsbyattribute.h" #include "step/tk_stepmergeclouds.h" #include "step/tk_steprotatecloud.h" #include "step/tk_stepscalecloud.h" #include "step/tk_translatecloud.h" #include "step/tk_stepextractplot.h" #include "step/tk_stepextractplotbasedondtm.h" //#include "step/tk_stepextractpointsinverticalcylinders.h" #include "step/tk_stepreducepointsdensity.h" #include "step/tk_stepslicepointcloud.h" #include "step/tk_steptransformpointcloud.h" #ifdef USE_PCL #include "step/tk_stepnormalestimator.h" #endif TK_StepPluginManager::TK_StepPluginManager() : CT_AbstractStepPlugin() { } TK_StepPluginManager::~TK_StepPluginManager() { } QString TK_StepPluginManager::getPluginRISCitation() const { return "TY - COMP\n" "TI - Plugin ToolKit for Computree\n" "AU - Piboule, Alexandre\n" "AU - Ravaglia, Joris\n" "AU - Krebs, Michael\n" "PB - Office National des Forêts, Département RDI\n" "PY - 2021\n" "UR - https://computree.onf.fr/?page_id=1356\n" "ER - \n"; } bool TK_StepPluginManager::loadGenericsStep() { addNewBetaStep(CT_StepsMenu::LP_Extract); // addNewOtherStep(QObject::tr("Générer (test)")); // addNewMeshesStep(CT_StepsMenu::LP_Create); // addNewOtherStep(QObject::tr("Générer (test)")); addNewPointsStep(CT_StepsMenu::LP_Transform); // addNewPointsStep(CT_StepsMenu::LP_Colorize); // addNewOtherStep(QObject::tr("Générer (test)")); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); // addNewPointsStep(CT_StepsMenu::LP_Filter); addNewPointsStep(CT_StepsMenu::LP_Create); addNewPointsStep(CT_StepsMenu::LP_Transform); addNewPointsStep(CT_StepsMenu::LP_Transform); addNewPointsStep(CT_StepsMenu::LP_Transform); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Extract); // addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Filter); addNewPointsStep(CT_StepsMenu::LP_Extract); addNewPointsStep(CT_StepsMenu::LP_Transform); #ifdef USE_PCL addNewPointsStep(QObject::tr("Normales")); #endif return true; } bool TK_StepPluginManager::loadOpenFileStep() { return true; } bool TK_StepPluginManager::loadCanBeAddedFirstStep() { return true; } bool TK_StepPluginManager::loadActions() { return true; } bool TK_StepPluginManager::loadExporters() { return true; } bool TK_StepPluginManager::loadReaders() { return true; }