Packages

abstract class TechniqueDecorator[TParams <: TechniqueParameters, TData] extends ParametricPrtTechnique[TParams, TData]

An abstract helper class that provides the basis for any concrete technique decorator.

Linear Supertypes
ParametricPrtTechnique[TParams, TData], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TechniqueDecorator
  2. ParametricPrtTechnique
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TechniqueDecorator()

Abstract Value Members

  1. abstract val technique: ParametricPrtTechnique[TParams, TData]

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. final def getDefaultParameters(mesh: TriangleMesh3D): TParams

    Returns the default parameters for this technique with respect to the mesh to render.

    Returns the default parameters for this technique with respect to the mesh to render.

    Definition Classes
    TechniqueDecoratorParametricPrtTechnique
  11. final def getParametricShader(parameters: TParams, transfer: GreyOrRGB[Transfer], data: TData): ParametricPrtShader
  12. final def getRenderer(parameters: TParams): ParametricPrtImageRender

    Returns a ParametricPrtImageRenderer for the set of PRT parameters.

    Returns a ParametricPrtImageRenderer for the set of PRT parameters. Transfer, auxiliary data and occlusion information will be computed when this method is called.

    Definition Classes
    ParametricPrtTechnique
  13. final def getRenderer(parameters: TParams, transfer: GreyOrRGB[Transfer]): ParametricPrtImageRender

    Returns a ParametricPrtImageRenderer for the specified transfer and the set of PRT parameters.

    Returns a ParametricPrtImageRenderer for the specified transfer and the set of PRT parameters. If necessary, auxiliary data will be computed when this method is called.

    Definition Classes
    ParametricPrtTechnique
  14. final def getRenderer(parameters: TParams, transfer: GreyOrRGB[Transfer], data: TData): ParametricPrtImageRender

    Returns a ParametricPrtImageRenderer for the specified transfer and auxiliary data as well as the set of PRT parameters.

    Returns a ParametricPrtImageRenderer for the specified transfer and auxiliary data as well as the set of PRT parameters.

    Definition Classes
    ParametricPrtTechnique
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def name: String

    The name of the implemented PRT rendering technique.

    The name of the implemented PRT rendering technique.

    Definition Classes
    TechniqueDecoratorParametricPrtTechnique
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def precomputeAuxiliaryData(parameters: TParams): TData

    Precomputes the auxiliary data for the specified set of parameters.

    Precomputes the auxiliary data for the specified set of parameters.

    Definition Classes
    TechniqueDecoratorParametricPrtTechnique
  22. def precomputeOcclusion(parameters: TParams): OcclusionInformation

    Computes occlusion information by raycasting against a given mesh and using a specified set of raycast directions, both of which are defined in the provided parameters.

    Computes occlusion information by raycasting against a given mesh and using a specified set of raycast directions, both of which are defined in the provided parameters.

    C.f. OcclusionInformation.forMesh()

    parameters

    The parameters specifying the mesh and the raycast directions.

    returns

    An instance of OcclusionInformation.

    Definition Classes
    TechniqueDecoratorParametricPrtTechnique
  23. def simulateTransfer(parameters: TParams, occlusion: OcclusionInformation, data: TData): GreyOrRGB[Transfer]

    Simulates light transport for a mesh with respect to the specified parameters and provided occlusion and auxiliary data.

    Simulates light transport for a mesh with respect to the specified parameters and provided occlusion and auxiliary data.

    parameters

    The technique parameters. Also specify the mesh that will be rendered.

    occlusion

    The occlusion information for the mesh specified via the parameters.

    data

    Auxiliary, precomputed data that is required by some parametric techniques.

    returns

    Simulated light transfer (monochromatic or RGB, based on parameters).

    Definition Classes
    TechniqueDecoratorParametricPrtTechnique
  24. final def simulateTransfer(parameters: TParams, data: TData): GreyOrRGB[Transfer]

    Simulates light transport with respect to the given parameters and precomputed auxiliary data.

    Simulates light transport with respect to the given parameters and precomputed auxiliary data. Occlusion information will be computed on demand, that is, it will not be cached.

    Definition Classes
    ParametricPrtTechnique
  25. final def simulateTransfer(parameters: TParams): GreyOrRGB[Transfer]

    Simulates light transport with respect to the given parameters.

    Simulates light transport with respect to the given parameters. Occlusion information will be computed on demand, that is, it will not be cached. This also applies to the optional, precomputable, auxiliary data.

    Definition Classes
    ParametricPrtTechnique
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withDecorator[T <: TechniqueDecorator[TParams, TData]](wrapper: (TechniqueDecorator.this.type) ⇒ T): T

    Wraps this technique in a TechniqueDecorator that adds advanced functionality that can be used in combination with any particular PRT technique.

    Wraps this technique in a TechniqueDecorator that adds advanced functionality that can be used in combination with any particular PRT technique. (e.g. PersistentCaching)

    wrapper

    A function that wraps this instance into a TechniqueDecorator. E.g. PersistentCaching(_)

    returns

    A TechniqueDecorator of type T that is based on this instance of ParametricPrtTechnique.

    Definition Classes
    ParametricPrtTechnique

Inherited from ParametricPrtTechnique[TParams, TData]

Inherited from AnyRef

Inherited from Any

Ungrouped