docs.unity3d.com
Search Results for

    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(int, int, int)
    PlaneVoxelGrid<LayerPlaneData>.GetVoxel(Vector3Int)
    PlaneVoxelGrid<LayerPlaneData>.AddPoints(List<Vector3>)
    PlaneVoxelGrid<LayerPlaneData>.GetLayerOriginPose(int)
    PlaneVoxelGrid<LayerPlaneData>.FindPlanes()
    PlaneVoxelGrid<LayerPlaneData>.TryMergePlanes(LayerPlaneData, LayerPlaneData, float, float)
    PlaneVoxelGrid<LayerPlaneData>.TryGetPlaneData(LayerPlaneData, Pose, List<Vector3>, out Pose, out Vector3, out Vector2)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.MARS.Data.Synthetic
    Assembly: Unity.MARS.Editor.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public class PlaneExtractionVoxelGrid : PlaneVoxelGrid<LayerPlaneData>

    Constructors

    PlaneExtractionVoxelGrid(VoxelGridOrientation, Bounds, float, VoxelPlaneFindingParams)

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

    Properties

    CheckEmptyAreaForInitialPlanes

    Check the empty area for initial planes during plane generation

    Declaration
    protected override bool CheckEmptyAreaForInitialPlanes { get; }
    Property Value
    Type Description
    bool
    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>)

    Extract planes to the list of ExtractedPlaneData planes

    Declaration
    public void ExtractPlanes(List<ExtractedPlaneData> planes)
    Parameters
    Type Name Description
    List<ExtractedPlaneData> planes

    Extracted planes are added to this collection

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)