C# Class Axiom.SceneManagers.Octree.OctreeSceneManager

Summary description for OctreeSceneManager.
Inheritance: Axiom.Core.SceneManager
Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
boxList List
colorList List
colors long[]
corners float[]
cullCamera bool
indexes short[]
intersect int
looseOctree bool
maxDepth int
numObjects int
octree Axiom.SceneManagers.Octree.Octree
scaleFactor Axiom.MathLib.Matrix4
visible List
white long
worldSize float

Public Methods

Method Description
AddOctreeNode ( OctreeNode node, Axiom.SceneManagers.Octree.Octree octant ) : void
AddOctreeNode ( OctreeNode node, Axiom.SceneManagers.Octree.Octree octant, int depth ) : void
AlertVisibleObjects ( ) : void
CreateCamera ( string name ) : Camera
CreateSceneNode ( ) : SceneNode
CreateSceneNode ( string name ) : SceneNode
DestroySceneNode ( string name ) : void
FindNodes ( Axiom.MathLib.AxisAlignedBox box, SceneNodeCollection sceneNodeList, SceneNode exclude, bool full, Axiom.SceneManagers.Octree.Octree octant ) : void
FindNodes ( Axiom.MathLib.Sphere sphere, SceneNodeCollection sceneNodeList, SceneNode exclude, bool full, Axiom.SceneManagers.Octree.Octree octant ) : void
FindVisibleObjects ( Camera cam, bool onlyShadowCasters ) : void
GetOption ( ) : bool
Init ( Axiom.MathLib.AxisAlignedBox box, int depth ) : void
Intersect ( Axiom.MathLib.AxisAlignedBox box1, Axiom.MathLib.AxisAlignedBox box2 ) : Intersection
Intersect ( Axiom.MathLib.Sphere sphere, Axiom.MathLib.AxisAlignedBox box ) : Intersection
OctreeSceneManager ( string name ) : System
OctreeSceneManager ( string name, Axiom.MathLib.AxisAlignedBox box, int max_depth ) : System
RemoveOctreeNode ( OctreeNode node ) : void
Resize ( Axiom.MathLib.AxisAlignedBox box ) : void
SetOption ( string key, object val ) : bool
UpdateOctreeNode ( OctreeNode node ) : void
WalkOctree ( OctreeCamera camera, RenderQueue queue, Axiom.SceneManagers.Octree.Octree octant, bool foundVisible ) : void

Protected Methods

Method Description
UpdateSceneGraph ( Camera cam ) : void

Method Details

AddOctreeNode() public method

public AddOctreeNode ( OctreeNode node, Axiom.SceneManagers.Octree.Octree octant ) : void
node OctreeNode
octant Axiom.SceneManagers.Octree.Octree
return void

AddOctreeNode() public method

public AddOctreeNode ( OctreeNode node, Axiom.SceneManagers.Octree.Octree octant, int depth ) : void
node OctreeNode
octant Axiom.SceneManagers.Octree.Octree
depth int
return void

AlertVisibleObjects() public method

public AlertVisibleObjects ( ) : void
return void

CreateCamera() public method

public CreateCamera ( string name ) : Camera
name string
return Axiom.Core.Camera

CreateSceneNode() public method

public CreateSceneNode ( ) : SceneNode
return Axiom.Core.SceneNode

CreateSceneNode() public method

public CreateSceneNode ( string name ) : SceneNode
name string
return Axiom.Core.SceneNode

DestroySceneNode() public method

public DestroySceneNode ( string name ) : void
name string
return void

FindNodes() public method

public FindNodes ( Axiom.MathLib.AxisAlignedBox box, SceneNodeCollection sceneNodeList, SceneNode exclude, bool full, Axiom.SceneManagers.Octree.Octree octant ) : void
box Axiom.MathLib.AxisAlignedBox
sceneNodeList SceneNodeCollection
exclude Axiom.Core.SceneNode
full bool
octant Axiom.SceneManagers.Octree.Octree
return void

FindNodes() public method

public FindNodes ( Axiom.MathLib.Sphere sphere, SceneNodeCollection sceneNodeList, SceneNode exclude, bool full, Axiom.SceneManagers.Octree.Octree octant ) : void
sphere Axiom.MathLib.Sphere
sceneNodeList SceneNodeCollection
exclude Axiom.Core.SceneNode
full bool
octant Axiom.SceneManagers.Octree.Octree
return void

FindVisibleObjects() public method

public FindVisibleObjects ( Camera cam, bool onlyShadowCasters ) : void
cam Axiom.Core.Camera
onlyShadowCasters bool
return void

GetOption() public method

public GetOption ( ) : bool
return bool

Init() public method

public Init ( Axiom.MathLib.AxisAlignedBox box, int depth ) : void
box Axiom.MathLib.AxisAlignedBox
depth int
return void

Intersect() public method

public Intersect ( Axiom.MathLib.AxisAlignedBox box1, Axiom.MathLib.AxisAlignedBox box2 ) : Intersection
box1 Axiom.MathLib.AxisAlignedBox
box2 Axiom.MathLib.AxisAlignedBox
return Intersection

Intersect() public method

public Intersect ( Axiom.MathLib.Sphere sphere, Axiom.MathLib.AxisAlignedBox box ) : Intersection
sphere Axiom.MathLib.Sphere
box Axiom.MathLib.AxisAlignedBox
return Intersection

OctreeSceneManager() public method

public OctreeSceneManager ( string name ) : System
name string
return System

OctreeSceneManager() public method

public OctreeSceneManager ( string name, Axiom.MathLib.AxisAlignedBox box, int max_depth ) : System
name string
box Axiom.MathLib.AxisAlignedBox
max_depth int
return System

RemoveOctreeNode() public method

public RemoveOctreeNode ( OctreeNode node ) : void
node OctreeNode
return void

Resize() public method

public Resize ( Axiom.MathLib.AxisAlignedBox box ) : void
box Axiom.MathLib.AxisAlignedBox
return void

SetOption() public method

public SetOption ( string key, object val ) : bool
key string
val object
return bool

UpdateOctreeNode() public method

public UpdateOctreeNode ( OctreeNode node ) : void
node OctreeNode
return void

UpdateSceneGraph() protected method

protected UpdateSceneGraph ( Camera cam ) : void
cam Axiom.Core.Camera
return void

WalkOctree() public method

public WalkOctree ( OctreeCamera camera, RenderQueue queue, Axiom.SceneManagers.Octree.Octree octant, bool foundVisible ) : void
camera OctreeCamera
queue Axiom.Graphics.RenderQueue
octant Axiom.SceneManagers.Octree.Octree
foundVisible bool
return void

Property Details

boxList protected_oe property

protected List boxList
return List

colorList protected_oe property

protected List colorList
return List

colors protected_oe property

protected long[] colors
return long[]

corners protected_oe property

protected float[] corners
return float[]

cullCamera protected_oe property

protected bool cullCamera
return bool

indexes protected_oe property

protected short[] indexes
return short[]

intersect protected_oe property

protected int intersect
return int

looseOctree protected_oe property

protected bool looseOctree
return bool

maxDepth protected_oe property

protected int maxDepth
return int

numObjects protected_oe property

protected int numObjects
return int

octree protected_oe property

protected Octree,Axiom.SceneManagers.Octree octree
return Axiom.SceneManagers.Octree.Octree

scaleFactor protected_oe property

protected Matrix4,Axiom.MathLib scaleFactor
return Axiom.MathLib.Matrix4

visible protected_oe property

protected List visible
return List

white protected_oe static_oe property

protected static long white
return long

worldSize protected_oe property

protected float worldSize
return float