faces.render.prt.parametricrendering
ParametricPrtTechnique
Companion object ParametricPrtTechnique
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.
- Alphabetic
- By Inheritance
- ParametricPrtTechnique
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParametricPrtTechnique()
Abstract Value Members
-
abstract
def
getDefaultParameters(mesh: TriangleMesh3D): TParams
Returns the default parameters for this technique with respect to the mesh to render.
- abstract def getParametricShader(parameters: TParams, transfer: GreyOrRGB[Transfer], data: TData): ParametricPrtShader
-
abstract
def
precomputeAuxiliaryData(parameters: TParams): TData
Precomputes the auxiliary data for the specified set of parameters.
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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.
-
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.
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
name: String
The name of the implemented PRT rendering technique.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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.
-
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.
-
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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.