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

This abstract class provides the framework for the parametric PRT rendering system. It's purpose is to define a unified interface for a wide variety of different PRT rendering techniques.

TParams

The type of parameters that this technique requires. Must be derived from TechniqueParameters.

TData

The type of auxiliary data that this technique requires. Might be Unit.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParametricPrtTechnique
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParametricPrtTechnique()

Abstract Value Members

  1. abstract def getDefaultParameters(mesh: TriangleMesh3D): TParams

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

  2. abstract def getParametricShader(parameters: TParams, transfer: GreyOrRGB[Transfer], data: TData): ParametricPrtShader
  3. abstract def precomputeAuxiliaryData(parameters: TParams): TData

    Precomputes the auxiliary data for the specified set of parameters.

  4. abstract 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).

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 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.

  11. 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.

  12. 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.

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

    The name of the implemented PRT rendering technique.

  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. 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.

  20. 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.

  21. 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.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withDecorator[T <: TechniqueDecorator[TParams, TData]](wrapper: (ParametricPrtTechnique.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.

Inherited from AnyRef

Inherited from Any

Ungrouped