/// <summary> /// Initializes a new instance of the <see cref="ImageRectangle3D{T}"/> class. /// </summary> /// <param name="rectangle">The rectangle in 3D space to contain the image.</param> /// <param name="image">The image.</param> public ImageRectangle3D(Rectangle3D rectangle, Shared <T> image) { this.Rectangle3D = rectangle; this.Image = image.AddRef(); }
/// <summary> /// Initializes a new instance of the <see cref="EncodedImageRectangle3D"/> class. /// </summary> /// <param name="rectangle">The rectangle in 3D space to contain the encoded image.</param> /// <param name="image">The encoded image.</param> public EncodedImageRectangle3D(Rectangle3D rectangle, Shared <EncodedImage> image) : base(rectangle, image) { }
/// <summary> /// Initializes a new instance of the <see cref="DepthImageRectangle3D"/> class. /// </summary> /// <param name="rectangle">The rectangle in 3D space to contain the depth image.</param> /// <param name="depthImage">The depth image.</param> public DepthImageRectangle3D(Rectangle3D rectangle, Shared <DepthImage> depthImage) : base(rectangle, depthImage) { }