The DVRRenderer type exposes the following members.

Methods

  NameDescription
Public methodDispose
Frees all resources associated with this renderer. The passed volume must be disposed manually.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetShaderInformation
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender
Renders the volume.
Public methodStatic memberRenderDifferenceToPredecessor
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)
Public methodStatic memberRenderDifferenceToReference
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)
Public methodStatic memberRenderVolume(Texture, Single)
Creates a renderer that renders a volume using static alpha for all texels.
Public methodStatic memberRenderVolume(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.
Public methodResize
Tells the renderer that the viewport has changed.
Public methodSetTransferFunction
Sets the transfer function to use. Does not enable transfer functions (see TransferFunctionEnabled property).
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Matrix4%)
Sets the value of a shader variable.
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Vector2%)
Sets the value of a shader variable.
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Vector3%)
Sets the value of a shader variable.
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Vector4%)
Sets the value of a shader variable.
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Int32)
Sets the value of a shader variable.
Public methodSetUniform(DVRRenderer..::..ShaderUniform, Single)
Sets the value of a shader variable.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCameraPosition
Gets or sets the camera position.
Public propertyTransferFunctionEnabled
Gets or sets whether the transfer function is enabled.
Public propertyVolumeRotation
Gets or sets the rotation of the volume.

See Also