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.
Inherited Members
Namespace: UnityEditor.MARS.Data.Synthetic
Syntax
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 |