docs.unity3d.com
    Show / Hide Table of Contents

    Class PlaneExtractionVoxelGrid

    A grid of voxels that is used to find planes of a specific orientation all at once. Planes can be found in each individual layer of the grid based on the density of points in each voxel.

    Inheritance
    Object
    PlaneVoxelGrid<LayerPlaneData>
    PlaneExtractionVoxelGrid
    Inherited Members
    PlaneVoxelGrid<LayerPlaneData>.k_PlaneYEpsilon
    PlaneVoxelGrid<LayerPlaneData>.k_Up
    PlaneVoxelGrid<LayerPlaneData>.m_VoxelSize
    PlaneVoxelGrid<LayerPlaneData>.m_Layers
    PlaneVoxelGrid<LayerPlaneData>.m_UpdatedVoxelsPerLayer
    PlaneVoxelGrid<LayerPlaneData>.m_PlanesPerLayer
    PlaneVoxelGrid<LayerPlaneData>.m_ModifiedPlanesPerLayer
    PlaneVoxelGrid<LayerPlaneData>.m_RemovedPlanesPerLayer
    PlaneVoxelGrid<LayerPlaneData>.m_MinSideLength
    PlaneVoxelGrid<LayerPlaneData>.GetVoxel(Int32, Int32, Int32)
    PlaneVoxelGrid<LayerPlaneData>.GetVoxel(Vector3Int)
    PlaneVoxelGrid<LayerPlaneData>.AddPoints(List<Vector3>)
    PlaneVoxelGrid<LayerPlaneData>.GetLayerOriginPose(Int32)
    PlaneVoxelGrid<LayerPlaneData>.FindPlanes()
    PlaneVoxelGrid<LayerPlaneData>.TryMergePlanes(LayerPlaneData, LayerPlaneData, Single, Single)
    PlaneVoxelGrid<LayerPlaneData>.TryGetPlaneData(LayerPlaneData, Pose, List<Vector3>, Pose, Vector3, Vector2)
    Namespace: UnityEditor.MARS.Data.Synthetic
    Syntax
    [MovedFrom("Unity.MARS")]
    public class PlaneExtractionVoxelGrid : PlaneVoxelGrid<LayerPlaneData>

    Constructors

    PlaneExtractionVoxelGrid(VoxelGridOrientation, Bounds, Single, VoxelPlaneFindingParams)

    Declaration
    public PlaneExtractionVoxelGrid(VoxelGridOrientation orientation, Bounds containedBounds, float voxelSize, VoxelPlaneFindingParams planeFindingParams)
    Parameters
    Type Name Description
    VoxelGridOrientation orientation
    Bounds containedBounds
    Single voxelSize
    VoxelPlaneFindingParams planeFindingParams

    Properties

    CheckEmptyAreaForInitialPlanes

    Declaration
    protected override bool CheckEmptyAreaForInitialPlanes { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Unity.MARS.Data.Synthetic.PlaneVoxelGrid<Unity.MARS.Data.Synthetic.LayerPlaneData>.CheckEmptyAreaForInitialPlanes

    Methods

    CreateLayerPlane(PlaneVoxel)

    Declaration
    protected override LayerPlaneData CreateLayerPlane(PlaneVoxel startingVoxel)
    Parameters
    Type Name Description
    PlaneVoxel startingVoxel
    Returns
    Type Description
    LayerPlaneData
    Overrides
    Unity.MARS.Data.Synthetic.PlaneVoxelGrid<Unity.MARS.Data.Synthetic.LayerPlaneData>.CreateLayerPlane(Unity.MARS.Data.Synthetic.PlaneVoxel)

    ExtractPlanes(List<ExtractedPlaneData>)

    Declaration
    public void ExtractPlanes(List<ExtractedPlaneData> planes)
    Parameters
    Type Name Description
    List<ExtractedPlaneData> planes
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023