|
JPBRT 0.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpbrt.core.Distribution1D
public class Distribution1D
Distribution1D.
| Field Summary | |
|---|---|
int |
count
|
| Constructor Summary | |
|---|---|
Distribution1D(float[] f,
int offset,
int n)
|
|
| Method Summary | |
|---|---|
float |
sampleContinuous(float u,
float[] pdf)
|
float |
sampleContinuous(float u,
float[] pdf,
int[] off)
|
int |
sampleDiscrete(float u,
float[] pdf)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int count
| Constructor Detail |
|---|
public Distribution1D(float[] f,
int offset,
int n)
| Method Detail |
|---|
public float sampleContinuous(float u,
float[] pdf)
public float sampleContinuous(float u,
float[] pdf,
int[] off)
public int sampleDiscrete(float u,
float[] pdf)
|
Copyright 2010 © by the authors and contributors of the JPBRT project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||