Home Page > Programming Samples and Tutorials > C++ Samples > Cloud
CCloud C++ Sample
Cloud C++ Sample
Source code for Cloud sample is available in Samples\VC folder of the installation directory.
Overview
Implementation
CloudDlg::LoadPointCloud() function, called on start of the application finds a
non - empty section in the mode using
IModel2.FindItem and converts its vertices to a point set with a call to
IObject_KC.Convert()
The The main algorithm starts in CloudDlg::OnCreateSurface() on the Create Surface
button click.In the handler a new Mesh Section
is added with IModel2.AddNewItem
IMeshAlgor queried form
IMesh of the section is used to add vertices for the
loaded points and create the surface with iMeshAlgor->BuildMesh(0, 0, 0); call
See also:
All samples
|