public PointCloudRenderable ToPointCloudRenderable() { PointCloudRenderable pcr = new PointCloudRenderable(); pcr.PointCloud = this; return(pcr); }
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); }
private void DisplayResultPointCloud() { if (this.pResult != null) { RenderableObject pcr = new PointCloudRenderable(); pcr.PointCloud = this.pResult; this.OGLControl.GLrender.AddRenderableObject(pcr); } }
public void AddModel(Model myModel) { PointCloudRenderable pcr = new PointCloudRenderable(); pcr.PointCloud = myModel.PointCloud; RenderableObjects.Add(pcr); if (GLContextInitialized) { pcr.InitializeGL(); Refresh(); } }