The spica renderer
Public Member Functions | Public Attributes | List of all members
spica::EndpointInteraction Struct Reference
Inheritance diagram for spica::EndpointInteraction:
spica::Interaction

Public Member Functions

 EndpointInteraction (const Ray &ray)
 
 EndpointInteraction (const Interaction &it, const Light *light_)
 
 EndpointInteraction (const Interaction &it, const Camera *camera_)
 
 EndpointInteraction (const Camera *camera_, const Ray &ray)
 
 EndpointInteraction (const Light *light_, const Ray &r, const Normal3d &nl)
 
- Public Member Functions inherited from spica::Interaction
 Interaction (const Point3d &pos, const Normal3d &normal=Normal3d(), const Vector3d &wo=Vector3d())
 
 Interaction (const Point3d &pos, const Vector3d &wo, const MediumInterface &mediumInterface)
 
 Interaction (const Interaction &intr)
 
Interactionoperator= (const Interaction &intr)
 
virtual Ray spawnRay (const Vector3d &wi) const
 
virtual Ray spawnRayTo (const Point3d &p) const
 
virtual Ray spawnRayTo (const Interaction &intr) const
 
virtual bool isSurfaceInteraction () const
 
const Point3dpos () const
 
const Normal3dnormal () const
 
const Vector3dwo () const
 
void setMediumInterface (const MediumInterface &mediumInterface)
 
const MediumgetMedium (const Vector3d &w) const
 
const MediumgetMedium () const
 

Public Attributes

union {
   const Camera *   camera
 
   const Light *   light
 
}; 
 

Additional Inherited Members

- Protected Attributes inherited from spica::Interaction
Point3d pos_
 
Normal3d normal_
 
Vector3d wo_
 
MediumInterface mediumInterface_
 

The documentation for this struct was generated from the following file: