C# 클래스 Hyperion.Shapes.Sphere.Sphere

상속: Hyperion.Core.Interfaces.IShape
파일 보기 프로젝트 열기: Kintaro/Hyperion

공개 메소드들

메소드 설명
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

메소드 상세

CreateShape() 공개 정적인 메소드

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
리턴 Hyperion.Core.Interfaces.IShape

Intersect() 공개 메소드

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
리턴 bool

IntersectP() 공개 메소드

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

Pdf() 공개 메소드

public Pdf ( Point p, Vector wi ) : double
p Point
wi Hyperion.Core.Geometry.Vector
리턴 double

Sample() 공개 메소드

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

Sample() 공개 메소드

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

Sphere() 공개 메소드

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
리턴 System