The DVRRenderer type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
Frees all resources associated with this renderer. The passed volume must be disposed manually.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetShaderInformation | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Render |
Renders the volume.
| |
RenderDifferenceToPredecessor |
Creates a renderer that renders a volume where the voxel alpha is based on the difference between
the voxel color and the voxel color of its predecessor frame. The difference metrics are:
- YDIF: absolute luminance difference
- YMSE: squared luminance difference
- UVDIF: color difference (angle between UV vectors)
| |
RenderDifferenceToReference |
Creates a renderer that renders a volume where the voxel alpha is based on the difference between
the voxel color and the color of the corresponding pixel of a reference frame. The difference metrics are:
- YDIF: absolute luminance difference
- YMSE: squared luminance difference
- UVDIF: color difference (angle between UV vectors)
| |
RenderVolume(Texture, Single) |
Creates a renderer that renders a volume using static alpha for all texels.
| |
RenderVolume(Texture, Vector4, Single) |
Creates a renderer that renders a volume with a voxel alpha based on a hue range.
The mapping from hue to alpha is as follows: if hue lt hueRange[0] or gt hueRange[3], alpha = 0.
if hue between hueRange[1] and hueRange[2], alpha = 1. Otherwise linear interpolation.
| |
Resize |
Tells the renderer that the viewport has changed.
| |
SetTransferFunction |
Sets the transfer function to use. Does not enable transfer functions (see TransferFunctionEnabled property).
| |
SetUniform(DVRRenderer..::..ShaderUniform, Matrix4%) |
Sets the value of a shader variable.
| |
SetUniform(DVRRenderer..::..ShaderUniform, Vector2%) |
Sets the value of a shader variable.
| |
SetUniform(DVRRenderer..::..ShaderUniform, Vector3%) |
Sets the value of a shader variable.
| |
SetUniform(DVRRenderer..::..ShaderUniform, Vector4%) |
Sets the value of a shader variable.
| |
SetUniform(DVRRenderer..::..ShaderUniform, Int32) |
Sets the value of a shader variable.
| |
SetUniform(DVRRenderer..::..ShaderUniform, Single) |
Sets the value of a shader variable.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |