/// <summary>
 /// Initializes a new instance of the <see cref="ICameraIntrinsicsVisualizationObject"/> class.
 /// </summary>
 public ICameraIntrinsicsVisualizationObject()
 {
     this.cameraIntrinsicsVisual3D = new CameraIntrinsicsVisual3D()
     {
         Color = this.frustumColor,
         ImagePlaneDistanceCm = this.imagePlaneDistanceCm,
     };
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DepthImageAsMeshVisualizationObject"/> class.
        /// </summary>
        public DepthImageAsMeshVisualizationObject()
        {
            this.depthImageMeshVisual3D = new DepthImageMeshVisual3D()
            {
                Color        = this.meshColor,
                Transparency = this.meshTransparency,
            };

            this.cameraIntrinsicsVisual3D = new CameraIntrinsicsVisual3D()
            {
                Color = this.frustumColor,
                ImagePlaneDistanceCm = this.imagePlaneDistanceCm,
            };
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DepthImageAsPointCloudVisualizationObject"/> class.
        /// </summary>
        public DepthImageAsPointCloudVisualizationObject()
        {
            this.depthImagePointCloudVisual3D = new DepthImagePointCloudVisual3D()
            {
                Color    = this.pointCloudColor,
                Size     = this.pointSize,
                Sparsity = this.sparsity,
            };

            this.cameraIntrinsicsVisual3D = new CameraIntrinsicsVisual3D()
            {
                Color = this.frustumColor,
                ImagePlaneDistanceCm = this.imagePlaneDistanceCm,
            };
        }