Global Mapper SDK
| GM_P2PSetup_t Structure |
Structure providing P2P setup options
Namespace:GlobalMapper.Lidar
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
C#
Copy
public struct GM_P2PSetup_tThe GM_P2PSetup_t type exposes the following members.
| Name | Description | |
|---|---|---|
| GM_P2PSetup_t |
Constructor to set values directly.
|
| Name | Description | |
|---|---|---|
| mCameraModel | Camera model to use | |
| mCloudLayerDesc | Point cloud layer description (NULL for default) | |
| mCloudLayerFilename | Point cloud layer filename. If NULL and GM_P2P_AddCloudLayer is provided, the cloud layer will just be loaded. | |
| mCloudLayerHandle | Handle to loaded output point cloud layer | |
| mColorHarmonizationRefFilename | Filename of reference image for color harmonization (if GM_P2P_UseColorHarmonization is set) | |
| mControlPointCount | How many control points are in mControlPointList | |
| mControlPointList | Optional list of known control points to fit the result to | |
| mDensifyNumViews | Number of adjacent views to use (-1 for default of 0 [all images], 4 is default from MVS) | |
| mDensifyNumViewsFuse | Minimum number of images that agrees with an estimate during fusion in order to consider it inlier (0 for default of 3, 2 fills gaps but is noisier) | |
| mDensifyReducePower | Power to reduce large image sizes by for DensifyPointCloud (use -1 for default) | |
| mDescriberMethod | Method for ComputeFeatures image describer (i.e. SIFT, AKAZE) | |
| mErrorStr | String holding detailed error if it fails (pass in NULL, will become non-NULL on output if needed) | |
| mFlags | Option flags | |
| mGeoRegOrderFlags | Flags defining order we should apply landmarks (GCPs) and EXIF information | |
| mGpsFitError | GPS fit error for all used images | |
| mImageFilenameMask | Filename mask for images in mImageFolder (i.e. "*.jpg") | |
| mImageFolder | Name of folder containing images to use. If NULL, mImageListFilename or mWorkspaceFilename must be provided | |
| mImageLayerDesc | Orthoimage layer description | |
| mImageLayerFilename | Orthoimage layer filename. If NULL, no ortho-image will be generated. | |
| mImageLayerGapSize | How large of gap to fill for image (in pixels) | |
| mImageLayerHandle | Handle to loaded output orthoimage layer | |
| mImageLayerResMult | Resolution multiplier for created image layer (negative is fixed in meters, positive is cloud spacing multiple) | |
| mImageListFilename | Filename of text file containing list of image filenames to use as input. If NULL, mImageFolder or mWorkspaceFilename must be provided. | |
| mImageReduceFactor | Factor to reduce image size by (i.e. 2 means use half the size, etc.). Should be >= 1. | |
| mImageSamplingMethod | What sampling method should we use for the image layer by default | |
| mLogFileFolder | Folder to save log file in. If NULL or empty, the default folder will be used | |
| mMeshDecimateFactor | Decimation factor for ReconstructMesh (0.0 to use default) | |
| mMeshLayerDesc | Mesh layer description (NULL for default) | |
| mMeshLayerFilename | Mesh layer filename. If NULL, no mesh (3D model) layer will be generated. | |
| mMeshLayerHandle | Handle to loaded output mesh layer | |
| mProjectName | Project name (if blank use default) | |
| mRelativeAltBaseM | Base altitude (meters) for relative heights if we want to use those for elevation rather than EXIF values. | |
| mReportFilename | Filename of generated report (if any) | |
| mResultsStr | String holding results information (pass in NULL, will become non-NULL on output) | |
| mSceneClusterLowerBound | Lower bound to cluster size (in number of input images) | |
| mSceneClusterUpperBound | Upper bound to cluster size (in number of input images). Applicable if GM_P2P_UseSceneClustering in mFlags. | |
| mSfmInitializer | Incremental SfM(2) initializer method | |
| mSfmMethod | SfM method to use (global vs. incremental) | |
| mSfmQuality | Quality setting when looking for feature matches | |
| mSfmResection | Incremental SfM(2) resection method | |
| mSfmTriMethod | Incremental SfM(2) triangulation method | |
| mWorkspaceFilename | Filename of .gmp2p workspace file defining project to build. If not-NULL, most of these settings (other than output filenames) will be read from the workspace and the values in this structure ignored. |