How to draw Concave polyhedron using CloudCompare?

Feel free to ask any question here
Post Reply
JamesRayen
Posts: 19
Joined: Tue Aug 23, 2016 1:33 am

How to draw Concave polyhedron using CloudCompare?

Post by JamesRayen »

Hi,
I want to know if there is function that can be used to draw the following Concave polyhedron(Coordinates of every vertices is known).If there was, could you please tell me how to use it?
Attachments
搜狗截图20161004094353.png
搜狗截图20161004094353.png (8.28 KiB) Viewed 3525 times
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to draw Concave polyhedron using CloudCompare?

Post by daniel »

Well you can always create triangular meshes to represent these shapes (just as primitives - spheres, cylinders, torii, etc. - are represented in CloudCompare).
Daniel, CloudCompare admin
JamesRayen
Posts: 19
Joined: Tue Aug 23, 2016 1:33 am

Re: How to draw Concave polyhedron using CloudCompare?

Post by JamesRayen »

daniel wrote:Well you can always create triangular meshes to represent these shapes (just as primitives - spheres, cylinders, torii, etc. - are represented in CloudCompare).
It is a solution to the question, but I don't want to lose topological relationship of the faces,if I create triangular meshes, then topological relationship of the face may be lost. I have read code in Ransac Shape Detection plugin and found that there are shapes (just as primitives - spheres, cylinders, torii, etc.)in cloudcompare(though I don't know how to use them properly),but I'm wondering whether I can draw faces of Concave polyhedron using CloudCompare.If there is not a function or class which can do this, where should I begin to write my own code in cloudcompare?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to draw Concave polyhedron using CloudCompare?

Post by daniel »

In this case you would have to add another ccPrimitive child object with real polygons and topology (but still you'll have to provide a tessellated version so that CC can display it and compute distances, etc. - just as the other primitives).
Daniel, CloudCompare admin
JamesRayen
Posts: 19
Joined: Tue Aug 23, 2016 1:33 am

Re: How to draw Concave polyhedron using CloudCompare?

Post by JamesRayen »

daniel wrote:In this case you would have to add another ccPrimitive child object with real polygons and topology (but still you'll have to provide a tessellated version so that CC can display it and compute distances, etc. - just as the other primitives).
Okay,it seems to be a little difficult for me to do that.Thank you Daniel!
Post Reply