Example #1
0
        public PointCloudRenderable ToPointCloudRenderable()
        {
            PointCloudRenderable pcr = new PointCloudRenderable();

            pcr.PointCloud = this;
            return(pcr);
        }
Example #2
0
        public void ReplaceModel(Model myModel, bool clearPrevious)
        {
            PointCloudRenderable pcr = new PointCloudRenderable();

            pcr.PointCloud = myModel.PointCloud;
            ReplaceRenderableObject(pcr, clearPrevious);
        }
        public RenderableObject Clone()
        {
            RenderableObject o = new PointCloudRenderable();

            o.PointCloud = this.PointCloud;

            return(o);
        }
Example #4
0
 private void DisplayResultPointCloud()
 {
     if (this.pResult != null)
     {
         RenderableObject pcr = new PointCloudRenderable();
         pcr.PointCloud = this.pResult;
         this.OGLControl.GLrender.AddRenderableObject(pcr);
     }
 }
Example #5
0
        public void AddModel(Model myModel)
        {
            PointCloudRenderable pcr = new PointCloudRenderable();

            pcr.PointCloud = myModel.PointCloud;

            RenderableObjects.Add(pcr);
            if (GLContextInitialized)
            {
                pcr.InitializeGL();
                Refresh();
            }
        }