Show / Hide Table of Contents

Interface IPointCloudImpBase

Non-generic, point type independent interface, used in point cloud implementations.

Namespace: Fusee.PointCloud.Common
Assembly: Fusee.PointCloud.Common.dll
Syntax
public interface IPointCloudImpBase

Properties

Center

Center of the PointCloud's AABB

Declaration
float3 Center { get; }
Property Value
Type Description
float3

MinProjSizeModifier

Changes the minimum, screen projected, size of a octant. If an octant is smaller it won't be rendered.

Declaration
float MinProjSizeModifier { get; set; }
Property Value
Type Description
System.Single

NumberOfVisiblePoints

The number of points that are currently visible.

Declaration
int NumberOfVisiblePoints { get; }
Property Value
Type Description
System.Int32

PointThreshold

Maximal number of points that are visible in one frame - trade-off between performance and quality.

Declaration
int PointThreshold { get; set; }
Property Value
Type Description
System.Int32

Size

Dimensions of the PointCloud's AABB

Declaration
float3 Size { get; }
Property Value
Type Description
float3

UpdateRate

The amount of milliseconds needed to pass before rendering next frame

Declaration
float UpdateRate { get; set; }
Property Value
Type Description
System.Single

Methods

Update(Single, Int32, FrustumF, float3, float4x4)

Triggers a visibility check for the point cloud octree. Is called every frame.

Declaration
void Update(float fov, int viewportHeight, FrustumF renderFrustum, float3 camPos, float4x4 modelMat)
Parameters
Type Name Description
System.Single fov

The current field of view.

System.Int32 viewportHeight

The current viewport height.

FrustumF renderFrustum

The current viewport width.

float3 camPos

The current camera position in world coordinates.

float4x4 modelMat

The model matrix of the SceneNode the PointCloud(Component) is part of.

Generated by DocFX
GitHub Repo
Back to top