Class PointcloudOctreeNode
Single Node inside the octree. May have up to 8 children named 0 to 7
This is not a SceneNode
Defined in: PointcloudOctreeNode.js.
Constructor Attributes | Constructor Name and Description |
---|---|
PointcloudOctreeNode(name, poc)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
PointcloudOctreeNode.memoryThreshold
memory usage of all poc nodes combined.
|
Method Attributes | Method Name and Description |
---|---|
addChild(child)
|
|
addTime(time)
|
|
fadeIn()
|
|
fadeOut()
|
|
<static> |
PointcloudOctreeNode.loadCloudAjax(node)
|
<static> |
PointcloudOctreeNode.loadCloudData(node, buffer, url)
|
setAABB(aabb)
|
|
setOpacity(opacity)
cancels fading
|
|
setPointCloud(pointCloud)
|
|
returns the size of this nodes pointcloud data.
|
|
unload()
removes loaded point cloud data from gpu
|
Field Detail
<static>
PointcloudOctreeNode.memoryThreshold
memory usage of all poc nodes combined. Has to be updated whenever point cloud data for a node is loaded or unloaded
Method Detail
addChild(child)
- Parameters:
- child
addTime(time)
- Parameters:
- time
fadeIn()
fadeOut()
isFadingOut()
isVisible()
<static>
PointcloudOctreeNode.loadCloudAjax(node)
- Parameters:
- node
<static>
PointcloudOctreeNode.loadCloudData(node, buffer, url)
- Parameters:
- node
- buffer
- url
setAABB(aabb)
- Parameters:
- aabb
setOpacity(opacity)
cancels fading
- Parameters:
- opacity
setPointCloud(pointCloud)
- Parameters:
- pointCloud
sizeInBytes()
returns the size of this nodes pointcloud data. The pointcloud does not have to be loaded.
unload()
removes loaded point cloud data from gpu