public GeometryModel3D Create3DImage() { cap = new Capture(0); IImage frame = cap.QueryFrame(); wallPaper = new SubclassWallpaperCreater(frame); wallPaper.designWallpaper(); IImage pic = wallPaper.WallpaperImage; image3D = new Image3D(); image3D.BuildSolid(pic, ref mGeometry); cap = null; return(mGeometry); }
private void Wallpaper_Click(object sender, RoutedEventArgs e) { wallPaper = new SubclassWallpaperCreater(frame); product = wallPaper.CreateWallpaper(); product.Width = 500; product.Height = 500; schetchPhotoToSave = product; Canvas myCanvas2 = new Canvas(); Canvas.SetTop(product, 0); Canvas.SetLeft(product, 150); myCanvas2.Children.Add(product); grid1.Children.Add(myCanvas2); }
public GeometryModel3D Create3DImage() { cap = new Capture(0); IImage frame = cap.QueryFrame(); wallPaper = new SubclassWallpaperCreater(frame); wallPaper.designWallpaper(); IImage pic = wallPaper.WallpaperImage; image3D = new Image3D(); image3D.BuildSolid(pic, ref mGeometry); cap = null; return mGeometry; }
public Image3DFacade(SuperclassCreatorWallpaper wallPaperP, Image3D image3DP) { wallPaper = wallPaperP; image3D = image3DP; }
public Image3DFacade(SuperclassCreatorWallpaper wallPaperP, Image3D image3DP) { wallPaper = wallPaperP; image3D=image3DP; }