C# Class Hyperion.Shapes.Disk.Disk

Inheritance: Hyperion.Core.Interfaces.IShape
Datei anzeigen Open project: Kintaro/Hyperion

Public Methods

Method Description
CreateShape ( Transform o2w, Transform w2o, bool reverseOrientation, ParameterSet parameters, Dictionary floatTextures, Dictionary spectrumTextures ) : IShape
Disk ( Transform objectToWorld, Transform worldToObject, bool reverseOrientation, double height, double radius, double innerRadius, double phiMax ) : System
Intersect ( Ray r, double &tHit, double &rayEpsilon, DifferentialGeometry &dg ) : bool
IntersectP ( Ray r ) : bool
Sample ( double u1, double u2, Normal &Ns ) : Point

Method Details

CreateShape() public static method

public static CreateShape ( Transform o2w, Transform w2o, bool reverseOrientation, ParameterSet parameters, Dictionary floatTextures, Dictionary spectrumTextures ) : IShape
o2w Transform
w2o Transform
reverseOrientation bool
parameters ParameterSet
floatTextures Dictionary
spectrumTextures Dictionary
return Hyperion.Core.Interfaces.IShape

Disk() public method

public Disk ( Transform objectToWorld, Transform worldToObject, bool reverseOrientation, double height, double radius, double innerRadius, double phiMax ) : System
objectToWorld Transform
worldToObject Transform
reverseOrientation bool
height double
radius double
innerRadius double
phiMax double
return System

Intersect() public method

public Intersect ( Ray r, double &tHit, double &rayEpsilon, DifferentialGeometry &dg ) : bool
r Hyperion.Core.Geometry.Ray
tHit double
rayEpsilon double
dg Hyperion.Core.Geometry.DifferentialGeometry
return bool

IntersectP() public method

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

Sample() public method

public Sample ( double u1, double u2, Normal &Ns ) : Point
u1 double
u2 double
Ns Hyperion.Core.Geometry.Normal
return Point