C# Class Hyperion.Shapes.Sphere.Sphere

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

Méthodes publiques

Méthode Description
CreateShape ( Transform o2w, Transform w2o, bool reverseOrientation, ParameterSet parameters, Dictionary floatTextures, Dictionary spectrumTextures ) : IShape
Intersect ( Ray r, double &tHit, double &rayEpsilon, DifferentialGeometry &dg ) : bool
IntersectP ( Ray r ) : bool
Pdf ( Point p, Vector wi ) : double
Sample ( Point p, double u1, double u2, Normal &Ns ) : Point
Sample ( double u1, double u2, Normal &Ns ) : Point
Sphere ( Transform objectToWorld, Transform worldToObject, bool reverse, double radius, double zmin, double zmax, double phiMax ) : System

Method Details

CreateShape() public static méthode

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
Résultat Hyperion.Core.Interfaces.IShape

Intersect() public méthode

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
Résultat bool

IntersectP() public méthode

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

Pdf() public méthode

public Pdf ( Point p, Vector wi ) : double
p Point
wi Hyperion.Core.Geometry.Vector
Résultat double

Sample() public méthode

public Sample ( Point p, double u1, double u2, Normal &Ns ) : Point
p Point
u1 double
u2 double
Ns Hyperion.Core.Geometry.Normal
Résultat Point

Sample() public méthode

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

Sphere() public méthode

public Sphere ( Transform objectToWorld, Transform worldToObject, bool reverse, double radius, double zmin, double zmax, double phiMax ) : System
objectToWorld Transform
worldToObject Transform
reverse bool
radius double
zmin double
zmax double
phiMax double
Résultat System