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
  
isInFrustum(planes:Vector.<Plane3D>, numPlanes:int):Boolean
[override]
InvertedOctreeNode
 Inherited
isIntersectingRay(rayPosition:Vector3D, rayDirection:Vector3D):Boolean
Tests if the current node is intersecting with a ray.
NodeBase
Protected Methods
 MethodDefined By
  
[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
isInFrustum()method 
override public function isInFrustum(planes:Vector.<Plane3D>, numPlanes:int):Boolean

Parameters

planes:Vector.<Plane3D>
 
numPlanes:int

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

Parameters

value:InvertedOctreeNode