Packages

object TabulatedSHBrdf extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TabulatedSHBrdf
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DefaultMapping (indexRange: Int) extends Mapping with Product with Serializable

    Default strategy for mapping unit vectors to a linear index.

    Default strategy for mapping unit vectors to a linear index.

    Directions on the upper hemisphere are represented in the first half of the index range. The hemispheres are projected to a plane which is then linearized.

    indexRange

    The upper bound of the index. Has to be 2*(n^2).

  2. trait Mapping extends AnyRef

    Abstracts the mapping of directions to a zero-based linear range of integer indices and vice versa.

    Abstracts the mapping of directions to a zero-based linear range of integer indices and vice versa. Due to the integral indices, the amount of distinguishable directions is capped at some point (c.f. indexRange).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(brdf: SHBrdf with CosineTerm, resolutionPerAxis: Int): TabulatedSHBrdf with CosineTerm

    Tabulates a SHBrdf using the default mapping.

    Tabulates a SHBrdf using the default mapping.

    brdf

    The SHBrdf to tabulate.

    resolutionPerAxis

    Resolution of the default mapping (see TabulatedSHBrdf.DefaultMapping).

    returns

    An instance of TabulatedSHBrdf

  5. def apply(brdf: SHBrdf, resolutionPerAxis: Int): TabulatedSHBrdf

    Tabulates a SHBrdf using the default mapping.

    Tabulates a SHBrdf using the default mapping.

    brdf

    The SHBrdf to tabulate.

    resolutionPerAxis

    Resolution of the default mapping (see TabulatedSHBrdf.DefaultMapping).

    returns

    An instance of TabulatedSHBrdf

  6. def apply(brdf: SHBrdf with CosineTerm, mapping: Mapping): TabulatedSHBrdf with CosineTerm

    Tabulates a SHBrdf according to the specified mapping.

    Tabulates a SHBrdf according to the specified mapping.

    brdf

    The SHBrdf to tabulate.

    mapping

    The mapping strategy to use for tabulation.

    returns

    An instance of TabulatedSHBrdf

  7. def apply(brdf: SHBrdf, mapping: Mapping): TabulatedSHBrdf

    Tabulates a SHBrdf according to the specified mapping.

    Tabulates a SHBrdf according to the specified mapping.

    brdf

    The SHBrdf to tabulate.

    mapping

    The mapping strategy to use for tabulation.

    returns

    An instance of TabulatedSHBrdf

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withCosineTerm(buffer: IndexedSeq[DenseVector[Double]], mapping: Mapping): TabulatedSHBrdf with CosineTerm

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the specified mapping strategy.

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the specified mapping strategy. The resulting TabulatedSHBrdf will inherit the CosineTerm marker trait.

    buffer

    SH projections of the BRDF for a dense set of view directions (given by mapping).

    mapping

    The mapping that will be used to translate view-directions to linear indices.

    returns

    An instance of TabulatedSHBrdf

  25. def withCosineTerm(buffer: IndexedSeq[DenseVector[Double]]): TabulatedSHBrdf with CosineTerm

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the default mapping strategy.

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the default mapping strategy. The resulting TabulatedSHBrdf will inherit the CosineTerm marker trait.

    buffer

    SH projections of the BRDF for a dense set of view directions (given by DefaultMapping).

    returns

    An instance of TabulatedSHBrdf

  26. def withCosineTerm(brdf: BRDF[Double], resolutionPerAxis: Int, shBands: Int, sampleCount: Int = 1000): TabulatedSHBrdf with CosineTerm

    Tabulates a BRDF using the default mapping.

    Tabulates a BRDF using the default mapping. The BRDF will be augmented with the rendering equation's cosine-term.

    brdf

    The SHBrdf to tabulate.

    resolutionPerAxis

    Resolution of the default mapping (see TabulatedSHBrdf.DefaultMapping).

    shBands

    The number of SH bands to use for projection.

    sampleCount

    The number of samples to use for MC integration.

    returns

    An instance of TabulatedSHBrdf

  27. def withoutCosineTerm(buffer: IndexedSeq[DenseVector[Double]], mapping: Mapping): TabulatedSHBrdf

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the specified mapping strategy.

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the specified mapping strategy.

    buffer

    SH projections of the BRDF for a dense set of view directions (given by mapping).

    mapping

    The mapping that will be used to translate view-directions to linear indices.

    returns

    An instance of TabulatedSHBrdf

  28. def withoutCosineTerm(buffer: IndexedSeq[DenseVector[Double]]): TabulatedSHBrdf

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the default mapping strategy.

    Constructs an instance of TabulatedSHBrdf from set of SH vectors that will be accessed using the default mapping strategy.

    buffer

    SH projections of the BRDF for a dense set of view directions (given by DefaultMapping).

    returns

    An instance of TabulatedSHBrdf

  29. def withoutCosineTerm(brdf: BRDF[Double], resolutionPerAxis: Int, shBands: Int, sampleCount: Int = 1000): TabulatedSHBrdf

    Tabulates a BRDF using the default mapping.

    Tabulates a BRDF using the default mapping.

    brdf

    The SHBrdf to tabulate.

    resolutionPerAxis

    Resolution of the default mapping (see TabulatedSHBrdf.DefaultMapping).

    shBands

    The number of SH bands to use for projection.

    sampleCount

    The number of samples to use for MC integration.

    returns

    An instance of TabulatedSHBrdf

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped