Sets the spatial mapping parameters. More...
Functions | |
SpatialMappingParameters (float resolutionMeter=0.05f, float rangeMeter=0.0f, bool saveTexture=false, SPATIAL_MAP_TYPE map_type=SPATIAL_MAP_TYPE.MESH, bool useChunkOnly=false, int maxMemoryUsage=2048, bool reverseVertexOrder=false) | |
Constructor More... | |
void | set (MAPPING_RESOLUTION mappingResolution=MAPPING_RESOLUTION.MEDIUM) |
Sets the resolution corresponding to the given MAPPING_RESOLUTION preset. More... | |
void | set (MAPPING_RANGE mappingRange=MAPPING_RANGE.MEDIUM) |
Sets the maximum value of the depth corresponding to the given MAPPING_RANGE preset. More... | |
Static Functions | |
static float | get (MAPPING_RESOLUTION mappingResolution=MAPPING_RESOLUTION.MEDIUM) |
Returns the resolution corresponding to the given MAPPING_RESOLUTION preset. More... | |
static float | get (MAPPING_RANGE mappingRange=MAPPING_RANGE.MEDIUM) |
Returns the resolution corresponding to the given MAPPING_RANGE preset. More... | |
Attributes | |
float | resolutionMeter |
Spatial mapping resolution in meters. More... | |
float | rangeMeter |
Depth range in meters. More... | |
bool | saveTexture = false |
Set to true if you want to be able to apply the texture to your mesh after its creation. More... | |
bool | useChunkOnly = false |
Set to false if you want to ensure consistency between the mesh and its inner chunk data (default is false). More... | |
int | maxMemoryUsage = 2048 |
bool | reverseVertexOrder = false |
Specify if the order of the vertices of the triangles needs to be inverted. If your display process does not handle front and back face culling, you can use this to correct it. More... | |
SPATIAL_MAP_TYPE | map_type |
The type of spatial map to be created. This dictates the format that will be used for the mapping(e.g. mesh, point cloud). See SPATIAL_MAP_TYPE More... | |
Sets the spatial mapping parameters.
|
inline |
Constructor
|
inlinestatic |
Returns the resolution corresponding to the given MAPPING_RESOLUTION preset.
mappingResolution | The desired MAPPING_RESOLUTION. |
|
inlinestatic |
Returns the resolution corresponding to the given MAPPING_RANGE preset.
mappingRange | The desired MAPPING_RANGE. Default: MAPPING_RANGE::MEDIUM. |
|
inline |
Sets the resolution corresponding to the given MAPPING_RESOLUTION preset.
mappingResolution | The desired MAPPING_RESOLUTION. |
|
inline |
Sets the maximum value of the depth corresponding to the given MAPPING_RANGE preset.
mappingRange | The desired MAPPING_RANGE. Default: MAPPING_RANGE::MEDIUM. |
float resolutionMeter |
Spatial mapping resolution in meters.
Referenced by Camera.GetSpatialMappingParameters(), SpatialMappingParameters.set(), and SpatialMappingParameters.SpatialMappingParameters().
float rangeMeter |
Depth range in meters.
Referenced by SpatialMappingParameters.set(), and SpatialMappingParameters.SpatialMappingParameters().
bool saveTexture = false |
Set to true if you want to be able to apply the texture to your mesh after its creation.
Referenced by SpatialMappingParameters.SpatialMappingParameters().
bool useChunkOnly = false |
Set to false if you want to ensure consistency between the mesh and its inner chunk data (default is false).
Referenced by SpatialMappingParameters.SpatialMappingParameters().
int maxMemoryUsage = 2048 |
Referenced by SpatialMappingParameters.SpatialMappingParameters().
bool reverseVertexOrder = false |
Specify if the order of the vertices of the triangles needs to be inverted. If your display process does not handle front and back face culling, you can use this to correct it.
Referenced by SpatialMappingParameters.SpatialMappingParameters().
SPATIAL_MAP_TYPE map_type |
The type of spatial map to be created. This dictates the format that will be used for the mapping(e.g. mesh, point cloud). See SPATIAL_MAP_TYPE
Referenced by SpatialMappingParameters.SpatialMappingParameters().