MeVisLab Toolbox Reference
mlPCLSupportTestTools.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code author="Wolf Spindler"
3//------------------------------------------------------------------------------
5
10//------------------------------------------------------------------------------
11
12#include <MLPCLSupportSystem.h>
13#include <mlTypeDefs.h>
14#include <mlAPI.h>
15#include <mlPCLBaseObject.h>
16
76
Project global and OS specific declarations.
#define MLPCLSUPPORT_EXPORT
If included by external modules, exported symbols are declared as import symbols.
MLint32 MLErrorCode
Type of an ML Error code.
Definition mlTypeDefs.h:716
#define mlModule
A macro name for a void pointer to a ml::Module in the ML to make pointer more readable.
Definition mlAPI.h:60
HMODULE MLLibraryHandle
Defines the platform specific handle for a dynamically linked library.
Definition mlAPI.h:71
Base object containing pointers (as MLPCLObjectPtrsContainer) to objects from the Point Cloud Library...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
UINT64 MLuint64
Introduce platform independent 64 bit unsigned integer type.
Definition mlTypeDefs.h:425
Namespace containing useful tools for Google tests written for PCL related classes in MeVisLab.
MLPCLSUPPORT_EXPORT MLLibraryHandle loadPCLLibrary(const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED
Loads a MeVisLab library with name modName and returns a non-nullptr handle to the library on success...
MLPCLSUPPORT_EXPORT MLErrorCode setUpPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED
Initializes some internals needed by the subsequent tool functions and loads MLBasicModules; returns ...
MLPCLSUPPORT_EXPORT MLErrorCode tearDownPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED
Cleans up some internals initialized with setUpPCLTestTools() and unloads MLBasicModules; returns ML_...
void(* OverrideTestDefaultsFunc)(mlModule *modulePtr, const char *className)
A function type which allows to set fields of the module with class name className and given with mod...
MLPCLSUPPORT_EXPORT MLuint64 _MaxUnsigned32BitIndex
This variable is exported for testing purposes only.
MLPCLSUPPORT_EXPORT MLErrorCode unloadPCLLibrary(MLLibraryHandle modLibHandle, const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED
Unloads a MeVisLab library with name modName and handle modLibHandle; returns ML_RESULT_OK on success...
MLPCLSUPPORT_EXPORT MLuint64 _MaxSigned32BitIndex
This variable is exported for testing purposes only.
MLPCLSUPPORT_EXPORT MLErrorCode runClassInstancesTest(const char *const *pclClassNames, size_t numPCLClassNames, OverrideTestDefaultsFunc overrideTestDefaults=nullptr, bool pclSupportItselfIsTested=false, size_t numIndirectlyLoadedPCLClasses=0) ML_RETURN_VALUE_SHOULD_BE_USED
Runs some heavy tests on the module with class name className and given with modulePtr before it is t...