The free functions of this namespace.
|
static |
computes distance (height) map for given projection parameters using float-precision for finding ray-mesh intersections, which is faster but less reliable Generated from function MR::Cuda::computeDistanceMap.
Calls MR_Cuda_computeDistanceMap(). The C++ function returns expected<MR::DistanceMap, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Computes memory consumption of computeDistanceMap function Generated from function MR::Cuda::computeDistanceMapHeapBytes.
Calls MR_Cuda_computeDistanceMapHeapBytes().
|
static |
computes relative radiation in each valid sample point by emitting rays from that point in the sky: the radiation is 1.0f if all rays reach the sky not hitting the terrain; the radiation is 0.0f if all rays do not reach the sky because they are intercepted by the terrain;
| outSkyRays | - optional output bitset where for every valid sample i its rays are stored at indices [i*numPatches; (i+1)*numPatches), 0s for occluded rays (hitting the terrain) and 1s for the ones which don't hit anything and reach the sky |
| outIntersections | - optional output vector of MeshIntersectionResult for every valid sample point Generated from function MR::Cuda::computeSkyViewFactor. |
Calls MR_Cuda_computeSkyViewFactor().
|
static |
Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when withSign==false) Generated from function MR::Cuda::distanceMapFromContours.
Calls MR_Cuda_distanceMapFromContours(). The C++ function returns expected<MR::DistanceMap, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Computes memory consumption of distanceMapFromContours function Generated from function MR::Cuda::distanceMapFromContoursHeapBytes.
Calls MR_Cuda_distanceMapFromContoursHeapBytes().
|
static |
computes the closest points on point cloud to given points Generated from function MR::Cuda::findProjectionOnPoints.
Calls MR_Cuda_findProjectionOnPoints(). The C++ function returns expected<std::vector<MR::PointsProjectionResult>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
returns the minimal amount of free GPU memory required for MR::Cuda::findProjectionOnPoints Generated from function MR::Cuda::findProjectionOnPointsHeapBytes.
Calls MR_Cuda_findProjectionOnPointsHeapBytes().
|
static |
In each valid sample point tests the rays from that point in the sky;
| outIntersections | - optional output vector of MeshIntersectionResult for every valid sample point Generated from function MR::Cuda::findSkyRays. |
Calls MR_Cuda_findSkyRays().
|
static |
Returns available GPU memory in bytes Generated from function MR::Cuda::getCudaAvailableMemory.
Calls MR_Cuda_getCudaAvailableMemory().
|
static |
Returns maximum safe amount of free GPU memory that will be used for dynamic-sized buffers Generated from function MR::Cuda::getCudaSafeMemoryLimit.
Calls MR_Cuda_getCudaSafeMemoryLimit().
|
static |
Returns an error if CUDA is not available Generated from function MR::Cuda::getDeviceInfo.
Calls MR_Cuda_getDeviceInfo(). The C++ function returns expected<MR::Cuda::DeviceInfo, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Returns true if Cuda is present on this GPU optional out maximum driver supported version optional out current runtime version optional out compute capability major version optional out compute capability minor version Generated from function MR::Cuda::isCudaAvailable.
Calls MR_Cuda_isCudaAvailable().
|
static |
call this function to load MRCuda shared library Generated from function MR::Cuda::loadMRCudaDll.
Calls MR_Cuda_loadMRCudaDll().
|
static |
Returns maximum buffer size in elements that can be allocated with given memory limit Generated from function MR::Cuda::maxBufferSize.
Calls MR_Cuda_maxBufferSize().
|
static |
Returns maximum buffer size in elements that can be allocated with given memory limit The size is aligned to the block dimensions Generated from function MR::Cuda::maxBufferSizeAlignedByBlock.
Calls MR_Cuda_maxBufferSizeAlignedByBlock_MR_Vector2i().
|
static |
Generated from function MR::Cuda::maxBufferSizeAlignedByBlock.
Calls MR_Cuda_maxBufferSizeAlignedByBlock_MR_Vector3i().
|
static |
This function inverts Color value (255 - value in each channel except alpha) Generated from function MR::Cuda::negatePicture.
Calls MR_Cuda_negatePicture(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
makes SimpleVolume filled with signed distances to points with normals Generated from function MR::Cuda::pointsToDistanceVolume.
Calls MR_Cuda_pointsToDistanceVolume(). The C++ function returns expected<MR::SimpleVolumeMinMax, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
makes SimpleVolume filled with signed distances to points with normals populate the volume by parts to the given callback Generated from function MR::Cuda::pointsToDistanceVolumeByParts.
Calls MR_Cuda_pointsToDistanceVolumeByParts(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
returns the minimal amount of free GPU memory required to build a distance volume with given dimensions Generated from function MR::Cuda::pointsToDistanceVolumeMemory.
Calls MR_Cuda_pointsToDistanceVolumeMemory().