Interface IPointReader
Implement this into any Point Cloud Reader.
Namespace: Fusee.PointCloud.Common
Assembly: Fusee.PointCloud.Common.dll
Syntax
public interface IPointReader
Properties
PointAccessor
A PointAccessor allows access to the point information (position, color, ect.) without casting it to a specific PointType.
Declaration
IPointAccessor PointAccessor { get; }
Property Value
| Type | Description |
|---|---|
| IPointAccessor |
PointType
Returns the point type.
Declaration
PointType PointType { get; }
Property Value
| Type | Description |
|---|---|
| PointType |
Methods
GetOctree()
Reads the Potree file and returns an octree.
Declaration
IPointCloudOctree GetOctree()
Returns
| Type | Description |
|---|---|
| IPointCloudOctree |
GetPointCloudComponent(RenderMode)
Returns a renderable point cloud component.
Declaration
IPointCloud GetPointCloudComponent(RenderMode renderMode)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderMode | renderMode | Determines which RenderMode is used to display the returned point cloud."/> |
Returns
| Type | Description |
|---|---|
| IPointCloud |
LoadNodeData<TPoint>(OctantId)
Returns the points for one octant as generic array.
Declaration
TPoint[] LoadNodeData<TPoint>(OctantId id)
where TPoint : new()
Parameters
| Type | Name | Description |
|---|---|---|
| OctantId | id | The unique id of the octant. |
Returns
| Type | Description |
|---|---|
| TPoint[] |
Type Parameters
| Name | Description |
|---|---|
| TPoint | The generic point type. |