# ISelfSampler Struct Reference

Inheritance diagram for ISelfSampler:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | GetSamplePoint (TSamplePoint &outSample, real s, real t)=0
virtual void MCCOMAPI | GetSampleInfos (const TSamplePoint &place, ShadingIn &shadingInfos)=0

## Member Function Documentation

virtual void MCCOMAPI ISelfSampler::GetSampleInfos | ( | const TSamplePoint & | place,
|  | ShadingIn & | shadingInfos |
| ) |  |  | `[pure virtual]`

Get the current position, normal and shading infos of a sample point

Parameters:

  | place | the sample point
  | shadingInfos | return the shading infos

virtual void MCCOMAPI ISelfSampler::GetSamplePoint | ( | TSamplePoint & | outSample,
|  | real | s,
|  | real | t |
| ) |  |  | `[pure virtual]`

returns a new sample point

Parameters:

  | outSample | the result
  | s | two random parameters between 0 and 1
  | t | statistically spread on a (0,0) (1,1) square

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

- ISelfSampler.h