RenderWindow.Channel
Inheritance Hierarchy
System.Object
Rhino.Render.RenderWindow.Channel
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class Channel : IDisposable
The RenderWindow.Channel type exposes the following members.
Properties
Name
Description
Public Property
Height
Return the channel height.
Public Property
Id
Return the channel id.
Public Property
Width
Return the channel width.
Methods
Name
Description
Public Method
AddValue
Add value to existing values at point x, y. If x or y are out of range, the function will fail and may crash Rhino.
Public Method
Clone
Return a clone of the channel.
Public Method
Dispose.
Releases all resources used by the RenderWindow.Channel
Protected Method
Dispose(Boolean)
Releases the unmanaged resources used by the RenderWindow.Channel and optionally releases the managed resources
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetMinMaxValues
Get the minimum and maximum values in the channel. minThe channel’s minimum value. maxThe channel’s maximum value.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
GetValue
Get values from the channel.
Public Method
GetValues
Get a rectangle of values from the channel. The input parameters are checked for validity. If the rectangle is not fully inside the frame buffer, the function will fail.
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
PixelSize
Returns the size of the data in one pixel in the channel. For RDK standard channels, this value is always sizeof(float). For the special chanRGBA collective channel, this value is 4 * sizeof(float).
Public Method
SetValue(Int32, Int32, Color4f)
If x or y are out of range, the function will fail and may crash Rhino.
Public Method
SetValue(Int32, Int32, Single)
Assign value to a pixel at coordinate (x, y).
Public Method
SetValues
Set a pixel buffer
Public Method
SetValuesFlipped
Set a pixel buffer y-flipped.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)