GPUPointCloudRendererEditorPlugin.cpp 1.27 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
/*************************************************************************************************
* Written by Valentin Kraft <valentin.kraft@online.de>, http://www.valentinkraft.de, 2018
**************************************************************************************************/

#include "CoreMinimal.h"
#include "UObject/Class.h"
#include "PropertyEditorModule.h"
#include "Modules/ModuleManager.h"
#include "GPUPointCloudRendererComponent.h"
#include "IGPUPointCloudRendererEditorPlugin.h"


class FGPUPointCloudRendererEditorPlugin : public IGPUPointCloudRendererEditorPlugin
{
	/** IModuleInterface implementation */
	virtual void StartupModule() override
	{
		UE_LOG(GPUPointCloudRenderer, Log, TEXT("//////////////////////////////////////////// \n"));
		UE_LOG(GPUPointCloudRenderer, Log, TEXT("// Initializing GPU Point Cloud Renderer... \n"));
		UE_LOG(GPUPointCloudRenderer, Log, TEXT("//////////////////////////////////////////// \n"));

		#ifdef HAVE_CUDA
			UE_LOG(GPUPointCloudRenderer, Log, TEXT("Found CUDA installation. \n"));
		#endif
		#ifdef WITH_PCL
			UE_LOG(GPUPointCloudRenderer, Log, TEXT("Found PCL installation. \n"));
		#endif
	}


	virtual void ShutdownModule() override
	{
	}
};

IMPLEMENT_MODULE(FGPUPointCloudRendererEditorPlugin, GPUPointCloudRendererEditor)