Packageaway3d.core.partition
Classpublic class InvertedOctreeNode
InheritanceInvertedOctreeNode Inheritance NodeBase Inheritance Object

InvertedOctreeNode is an octree data structure not used hierarchically for culling, but for fast dynamic insertion. The data structure is essentially a grid, but "overarching" parent container nodes for entities striding across nodes. If this is visible, so is the parent. Traversal happens invertedly too.



Public Properties
 PropertyDefined By
 Inheritedparent : NodeBase
[read-only] The parent node.
NodeBase
 InheritedshowDebugBounds : Boolean
NodeBase
Protected Properties
 PropertyDefined By
 Inherited_childNodes : Vector.<NodeBase>
NodeBase
 Inherited_debugPrimitive : WireframePrimitiveBase
NodeBase
 Inherited_numChildNodes : uint
NodeBase
 InheritednumEntities : int
[read-only]
NodeBase
Public Methods
 MethodDefined By
  
InvertedOctreeNode(minBounds:Vector3D, maxBounds:Vector3D)
InvertedOctreeNode
  
[override]
InvertedOctreeNode
 Inherited
Finds the partition that contains (or should contain) the given entity.
NodeBase
 Inherited
isInFrustum(camera:Camera3D):Boolean
Tests if the current node is at least partly inside the frustum.
NodeBase
Protected Methods
 MethodDefined By
  
[override]
InvertedOctreeNode
  
isInFrustumImpl(camera:Camera3D):Boolean
[override]
InvertedOctreeNode
 Inherited
updateNumEntities(value:int):void
NodeBase
Constructor Detail
InvertedOctreeNode()Constructor
public function InvertedOctreeNode(minBounds:Vector3D, maxBounds:Vector3D)



Parameters
minBounds:Vector3D
 
maxBounds:Vector3D
Method Detail
acceptTraverser()method
override public function acceptTraverser(traverser:PartitionTraverser):void

Parameters

traverser:PartitionTraverser

createDebugBounds()method 
override protected function createDebugBounds():WireframePrimitiveBase

Returns
WireframePrimitiveBase
isInFrustumImpl()method 
override protected function isInFrustumImpl(camera:Camera3D):Boolean

Parameters

camera:Camera3D

Returns
Boolean
setParent()method 
arcane function setParent(value:InvertedOctreeNode):void

Parameters

value:InvertedOctreeNode