Yoji: Is any MDL API for PointCloud available?
Regards, Jon Summers LA Solutions
Thank you Phil. I'm looking forward to Vertex Engine on MicroStation. As of now, what programer can do by API is only to draw point cloud. Is it right ? Can I scan the points data and get the Dpoint3d ? Yoji Takahashi
Yoji Takahashi: Can I scan the points data and get the Dpoint3d ?
Can I scan the points data and get the Dpoint3d ?
Phil: Take a look in the MicroStation C++ API for Bentley::Ustn::IDrawGeom.DrawPointCloud.
The MicroStationAPI documentation does its best, as ever, to mimic Macavity – The Mystery Cat.
Macavity's a Mystery Cat: he's called the Hidden Paw — For he's the master criminal who can defy the Law. He's the bafflement of Scotland Yard, the Flying Squad's despair: For when they reach the scene of crime — Macavity's not there!
Yes, DrawPointCloud is documented, without any mention of how to set the point data. The argument to that method is an Bentley::Ustn::IPointCloudDrawParams, which can tell you various things, including how many points there are in the cloud. What it doesn't tell you is how to put those points into the cloud before telling MicroStation to draw them.
Phil Chouinard:could you provide a scenario of what you are looking to do?
Yoji,
There is currently no public API for point clouds. But it's our intent to eventually publish one. We internally developed an API and are using it, but it must be tried and tested more before we can publish it. Point cloud is a very recent data type handled by Bentley and the API is not mature enough to be made public.
As a rough guess, it could be made available at the end of the year.
Best regards,
Eric
eric,
can I developing a function in MicroStation by using PointCloudApi which select point set by polygon fence ?
I notice that the MicroStationAPI has been updated for MicroStation V8i SS3.
#include <PointCloudApi.h> The Point Cloud API documentation describes several classes, including an importer, editor and query class.
Note: this is the MicroStationAPI help file, not the MDL Function Reference help file.
Jon is correct, Ss3 will ship with an Pointcloud API. I believe that the latest Ss2 builds also have it.
Dr. Lee, selecting points with a polygon fence will not be available for now. It's possible to run a query for points that are within an axis-aligned range, an oriented box (slab) or a sphere. Once you've build your query, you can easily filter out the points and process only the ones that are within your polygon.
I look forward to your comments and suggestions about the pointcloud api
Simon