Show / Hide Table of Contents

Class Potree2Reader

Reads Potree V2 files and is able to create a point cloud scene component, that can be rendered.

Inheritance
System.Object
Potree2RwBase
Potree2Reader
Implements
IPointReader
Inherited Members
Potree2RwBase._potreeData
Potree2RwBase.cachedMetadata
Potree2RwBase.offsetPosition
Potree2RwBase.offsetIntensity
Potree2RwBase.offsetReturnNumber
Potree2RwBase.offsetNumberOfReturns
Potree2RwBase.offsetClassification
Potree2RwBase.offsetScanAngleRank
Potree2RwBase.offsetUserData
Potree2RwBase.offsetPointSourceId
Potree2RwBase.offsetColor
Potree2RwBase.OctreeFilePath
Potree2RwBase.PointType
Potree2RwBase.PointAccessor
Potree2RwBase.CacheMetadata()
Potree2RwBase.FindNode(PotreeHierarchy, OctantId)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.PointCloud.Potree.V2
Assembly: Fusee.PointCloud.Potree.dll
Syntax
public class Potree2Reader : Potree2RwBase, IPointReader

Constructors

Potree2Reader(ref PotreeData)

Initializes a Potree 2 reader for the given Potree dataset

Declaration
public Potree2Reader(ref PotreeData potreeData)
Parameters
Type Name Description
PotreeData potreeData

Methods

GetOctree()

Reads the Potree file and returns an octree.

Declaration
public IPointCloudOctree GetOctree()
Returns
Type Description
IPointCloudOctree

GetPointCloudComponent(RenderMode)

Returns a renderable point cloud component.

Declaration
public IPointCloud GetPointCloudComponent(RenderMode renderMode = RenderMode.StaticMesh)
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
public 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.

LoadNodeData<TPoint>(PotreeNode)

Declaration
public TPoint[] LoadNodeData<TPoint>(PotreeNode potreeNode)
    where TPoint : new()
Parameters
Type Name Description
PotreeNode potreeNode
Returns
Type Description
TPoint[]
Type Parameters
Name Description
TPoint

ReadRawPoints<TPotreePoint>(OctantId)

Declaration
public TPotreePoint[] ReadRawPoints<TPotreePoint>(OctantId oid)
    where TPotreePoint : PotreePoint, new()
Parameters
Type Name Description
OctantId oid
Returns
Type Description
TPotreePoint[]
Type Parameters
Name Description
TPotreePoint

Implements

IPointReader
Generated by DocFX
GitHub Repo
Back to top