C# Class Hyperion.Core.Interfaces.IShape

Afficher le fichier Open project: Kintaro/Hyperion Class Usage Examples

Méthodes publiques

Свойство Type Description
NextShapeID int
ObjectToWorld Transform
ReverseOrientation bool
ShapeID int
TransformSwapsHandedness bool
WorldToObject Transform

Méthodes publiques

Méthode Description
GetShadingGeometry ( Transform objectToWorld, DifferentialGeometry dg, DifferentialGeometry &dgShading ) : void
IShape ( Transform objectToWorld, Transform worldToObject, bool reverseOrientation ) : System
Intersect ( Ray ray, double &tHit, double &rayEpsilon, DifferentialGeometry &dg ) : bool
IntersectP ( Ray ray ) : bool
Pdf ( Point pshape ) : double
Pdf ( Point p, Vector wi ) : double
Refine ( List &refined ) : void
Sample ( Point p, double u1, double u2, Normal &Ns ) : Point
Sample ( double u1, double u2, Normal &Ns ) : Point

Method Details

GetShadingGeometry() public méthode

public GetShadingGeometry ( Transform objectToWorld, DifferentialGeometry dg, DifferentialGeometry &dgShading ) : void
objectToWorld Transform
dg Hyperion.Core.Geometry.DifferentialGeometry
dgShading Hyperion.Core.Geometry.DifferentialGeometry
Résultat void

IShape() public méthode

public IShape ( Transform objectToWorld, Transform worldToObject, bool reverseOrientation ) : System
objectToWorld Transform
worldToObject Transform
reverseOrientation bool
Résultat System

Intersect() public méthode

public Intersect ( Ray ray, double &tHit, double &rayEpsilon, DifferentialGeometry &dg ) : bool
ray Hyperion.Core.Geometry.Ray
tHit double
rayEpsilon double
dg Hyperion.Core.Geometry.DifferentialGeometry
Résultat bool

IntersectP() public méthode

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

Pdf() public méthode

public Pdf ( Point pshape ) : double
pshape Point
Résultat double

Pdf() public méthode

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

Refine() public méthode

public Refine ( List &refined ) : void
refined List
Résultat void

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

Property Details

NextShapeID public_oe static_oe property

public static int NextShapeID
Résultat int

ObjectToWorld public_oe property

public Transform ObjectToWorld
Résultat Transform

ReverseOrientation public_oe property

public bool ReverseOrientation
Résultat bool

ShapeID public_oe property

public int ShapeID
Résultat int

TransformSwapsHandedness public_oe property

public bool TransformSwapsHandedness
Résultat bool

WorldToObject public_oe property

public Transform WorldToObject
Résultat Transform