docs.unity3d.com
    目次を表示する/隠す

    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

    Check the empty area for initial planes during plane generation

    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>)

    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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)