C# Class Hyperion.Accelerators.GridAccelerator.Grid

Inheritance: Hyperion.Core.Interfaces.IAggregate
Afficher le fichier Open project: Kintaro/Hyperion

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Grid() public méthode

public Grid ( List primitives, bool refineImmediately ) : System
primitives List
refineImmediately bool
Résultat System

Intersect() public méthode

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

IntersectP() public méthode

public IntersectP ( Ray ray ) : bool
ray Hyperion.Core.Geometry.Ray
Résultat bool