Packagelaya.d3.core.scene
Classpublic class QuadtreeNode
InheritanceQuadtreeNode Inheritance Object
Implements ITreeNode



Public Properties
 PropertyDefined By
  _children : Vector.<QuadtreeNode>
QuadtreeNode
  exactBox : BoundBox
QuadtreeNode
  exactInfiniteBox : BoundBox
QuadtreeNode
  relaxBox : BoundBox
QuadtreeNode
  relaxInfiniteBox : BoundBox
QuadtreeNode
Public Methods
 MethodDefined By
  
QuadtreeNode(scene:BaseScene, currentDepth:int)
QuadtreeNode
  
QuadtreeNode
  
addNodeDown(object:RenderObject, depth:int):void
QuadtreeNode
  
addNodeUp(object:RenderObject, depth:int):void
QuadtreeNode
  
addObject(object:RenderObject):void
QuadtreeNode
  
addTreeNode(renderObj:RenderObject):void
QuadtreeNode
  
buildAllChild(depth:int):void
QuadtreeNode
  
QuadtreeNode
  
cullingObjects(boundFrustum:BoundFrustum, testVisible:Boolean, flags:int, cameraPosition:Vector3, projectionView:Matrix4x4):void
QuadtreeNode
  
inChildIndex(objectCenter:Vector3):int
QuadtreeNode
  
init(center:Vector3, treeSize:Vector3):void
QuadtreeNode
  
removeObject(object:RenderObject):Boolean
QuadtreeNode
  
renderBoudingBox(linePhasor:PhasorSpriter3D):void
QuadtreeNode
  
QuadtreeNode
Property Detail
_childrenproperty
public var _children:Vector.<QuadtreeNode>

exactBoxproperty 
exactBox:BoundBox


Implementation
    public function get exactBox():BoundBox
    public function set exactBox(value:BoundBox):void
exactInfiniteBoxproperty 
exactInfiniteBox:BoundBox


Implementation
    public function get exactInfiniteBox():BoundBox
    public function set exactInfiniteBox(value:BoundBox):void
relaxBoxproperty 
relaxBox:BoundBox


Implementation
    public function get relaxBox():BoundBox
    public function set relaxBox(value:BoundBox):void
relaxInfiniteBoxproperty 
relaxInfiniteBox:BoundBox


Implementation
    public function get relaxInfiniteBox():BoundBox
    public function set relaxInfiniteBox(value:BoundBox):void
Constructor Detail
QuadtreeNode()Constructor
public function QuadtreeNode(scene:BaseScene, currentDepth:int)



Parameters
scene:BaseScene
 
currentDepth:int
Method Detail
addChild()method
public function addChild(index:int):QuadtreeNode

Parameters

index:int

Returns
QuadtreeNode
addNodeDown()method 
public function addNodeDown(object:RenderObject, depth:int):void

Parameters

object:RenderObject
 
depth:int

addNodeUp()method 
public function addNodeUp(object:RenderObject, depth:int):void

Parameters

object:RenderObject
 
depth:int

addObject()method 
public function addObject(object:RenderObject):void

Parameters

object:RenderObject

addTreeNode()method 
public function addTreeNode(renderObj:RenderObject):void

Parameters

renderObj:RenderObject

buildAllChild()method 
public function buildAllChild(depth:int):void

Parameters

depth:int

clearObject()method 
public function clearObject():void

cullingObjects()method 
public function cullingObjects(boundFrustum:BoundFrustum, testVisible:Boolean, flags:int, cameraPosition:Vector3, projectionView:Matrix4x4):void

Parameters

boundFrustum:BoundFrustum
 
testVisible:Boolean
 
flags:int
 
cameraPosition:Vector3
 
projectionView:Matrix4x4

inChildIndex()method 
public function inChildIndex(objectCenter:Vector3):int

Parameters

objectCenter:Vector3

Returns
int
init()method 
public function init(center:Vector3, treeSize:Vector3):void

Parameters

center:Vector3
 
treeSize:Vector3

removeObject()method 
public function removeObject(object:RenderObject):Boolean

Parameters

object:RenderObject

Returns
Boolean
renderBoudingBox()method 
public function renderBoudingBox(linePhasor:PhasorSpriter3D):void

Parameters

linePhasor:PhasorSpriter3D

updateObject()method 
public function updateObject(object:RenderObject):void

Parameters

object:RenderObject