C# Class Hyperion.Accelerators.GridAccelerator.Grid

Inheritance: Hyperion.Core.Interfaces.IAggregate
Mostra file Open project: Kintaro/Hyperion

Public Methods

Method Description
CreateAccelerator ( List primitives, ParameterSet parameters ) : IAggregate
Grid ( List primitives, bool refineImmediately ) : System
Intersect ( Ray ray, Intersection &intersection ) : bool
IntersectP ( Ray ray ) : bool

Private Methods

Method Description
Offset ( int x, int y, int z ) : int
PositionToVoxel ( Point p, int axis ) : int
VoxelToPos ( int p, int axis ) : double

Method Details

CreateAccelerator() public static method

public static CreateAccelerator ( List primitives, ParameterSet parameters ) : IAggregate
primitives List
parameters ParameterSet
return Hyperion.Core.Interfaces.IAggregate

Grid() public method

public Grid ( List primitives, bool refineImmediately ) : System
primitives List
refineImmediately bool
return System

Intersect() public method

public Intersect ( Ray ray, Intersection &intersection ) : bool
ray Hyperion.Core.Geometry.Ray
intersection Hyperion.Core.Interfaces.Intersection
return bool

IntersectP() public method

public IntersectP ( Ray ray ) : bool
ray Hyperion.Core.Geometry.Ray
return bool