C# Class Hyperion.Core.Interfaces.IShape

Show file Open project: Kintaro/Hyperion Class Usage Examples

Public Properties

Property Type Description
NextShapeID int
ObjectToWorld Transform
ReverseOrientation bool
ShapeID int
TransformSwapsHandedness bool
WorldToObject Transform

Public Methods

Method 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 method

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

IShape() public method

public IShape ( Transform objectToWorld, Transform worldToObject, bool reverseOrientation ) : System
objectToWorld Transform
worldToObject Transform
reverseOrientation bool
return System

Intersect() public method

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
return bool

IntersectP() public method

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

Pdf() public method

public Pdf ( Point pshape ) : double
pshape Point
return double

Pdf() public method

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

Refine() public method

public Refine ( List &refined ) : void
refined List
return void

Sample() public method

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

Sample() public method

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

Property Details

NextShapeID public static property

public static int NextShapeID
return int

ObjectToWorld public property

public Transform ObjectToWorld
return Transform

ReverseOrientation public property

public bool ReverseOrientation
return bool

ShapeID public property

public int ShapeID
return int

TransformSwapsHandedness public property

public bool TransformSwapsHandedness
return bool

WorldToObject public property

public Transform WorldToObject
return Transform