public void loadConfiguration(FilePropertyHelper filePropertyHelper) { Boolean enableFile = filePropertyHelper.loadBooleanProperty(REAModuleAPI.OcTreeEnable.getName()); if (enableFile != null) isOcTreeEnabled.set(enableFile); Boolean enableSegmentationFile = filePropertyHelper.loadBooleanProperty(REAModuleAPI.PlanarRegionsSegmentationEnable.getName()); if (enableSegmentationFile != null) enableSegmentation.set(enableSegmentationFile); Boolean enablePolygonizerFile = filePropertyHelper.loadBooleanProperty(REAModuleAPI.PlanarRegionsPolygonizerEnable.getName()); if (enablePolygonizerFile != null) enablePolygonizer.set(enablePolygonizerFile); Boolean enableIntersectionCalulatorFile = filePropertyHelper.loadBooleanProperty(REAModuleAPI.PlanarRegionsIntersectionEnable.getName()); if (enableIntersectionCalulatorFile != null) enableIntersectionCalulator.set(enableIntersectionCalulatorFile); String planarRegionSegmentationParametersFile = filePropertyHelper.loadProperty(REAModuleAPI.PlanarRegionsSegmentationParameters.getName()); if (planarRegionSegmentationParametersFile != null) planarRegionSegmentationParameters.set(PlanarRegionSegmentationParameters.parse(planarRegionSegmentationParametersFile)); String planarRegionConcaveHullFactoryParametersFile = filePropertyHelper.loadProperty(REAModuleAPI.PlanarRegionsConcaveHullParameters.getName()); if (planarRegionConcaveHullFactoryParametersFile != null) concaveHullFactoryParameters.set(ConcaveHullFactoryParameters.parse(planarRegionConcaveHullFactoryParametersFile)); String polygonizerParametersFile = filePropertyHelper.loadProperty(REAModuleAPI.PlanarRegionsPolygonizerParameters.getName()); if (polygonizerParametersFile != null) polygonizerParameters.set(PolygonizerParameters.parse(polygonizerParametersFile)); String intersectionEstimationParametersFile = filePropertyHelper.loadProperty(REAModuleAPI.PlanarRegionsIntersectionParameters.getName()); if (intersectionEstimationParametersFile != null) intersectionEstimationParameters.set(IntersectionEstimationParameters.parse(intersectionEstimationParametersFile)); }