Is there any specific reason that 2d labels are leafs?
And is this "Leafs could not have children" needed at all?
Thank you
Search found 36 matches
- Tue Mar 05, 2013 8:18 am
- Forum: CloudCompare
- Topic: 2D label leaf or or not leaf?
- Replies: 1
- Views: 3833
- Mon Feb 25, 2013 8:15 pm
- Forum: CloudCompare
- Topic: Subdivide mesh into connected pieces
- Replies: 7
- Views: 11467
Re: Subdivide mesh into connected pieces
Tried with visibily array - but without selection array - works. But with "removeSelectedVertices" - triangles are removed from current Mesh, but points are left in PointCloud, should it be removed too? I tried to remove it manualy: ccGenericPointCloud *deletedCloud = pCloud->createNewClou...
- Mon Feb 25, 2013 3:41 pm
- Forum: CloudCompare
- Topic: Subdivide mesh into connected pieces
- Replies: 7
- Views: 11467
Re: Subdivide mesh into connected pieces
I will try,
but isn't it a duplicate for second method parameter "CCLib::ReferenceCloud* selection"?
if visibility array is used - i do not need "CCLib::ReferenceCloud* selection" - right?
but isn't it a duplicate for second method parameter "CCLib::ReferenceCloud* selection"?
if visibility array is used - i do not need "CCLib::ReferenceCloud* selection" - right?
- Mon Feb 25, 2013 1:47 pm
- Forum: CloudCompare
- Topic: Subdivide mesh into connected pieces
- Replies: 7
- Views: 11467
Re: Subdivide mesh into connected pieces
Yes it is gready, for mesh with ~1M triangles - i used 50M memory (with assumtion that 1 vertice could be shared between max 12 triangles). ccMesh *pMesh = static_cast<ccMesh*>(Entity); ccGenericPointCloud *pCloud = pMesh->getAssociatedCloud(); ... CCLib::ReferenceCloud *selectedCloud = new CCLib::R...
- Sun Feb 24, 2013 8:32 pm
- Forum: CloudCompare
- Topic: Subdivide mesh into connected pieces
- Replies: 7
- Views: 11467
Subdivide mesh into connected pieces
for example i have cube and sphere in one mesh, i want to split them to separate meshes (cube in one, sphere in other). (simple selection with polyline is not sollution for all cases) In my algorithm i need: to get triangles that share same vertice (has same summit). and after collecting all triangl...
- Sun Feb 24, 2013 1:10 pm
- Forum: CloudCompare
- Topic: Adding 2D label (picked point) between two already picked
- Replies: 8
- Views: 10669
Re: Adding 2D label (picked point) between two already picke
added:
works fine. no colors or scalar fields needed. (point cloud is from imported *.stl mesh)
Code: Select all
Cloud->addPoint(Points[2]);
Cloud->addNorm(0, 0, 0);
- Sun Feb 24, 2013 11:16 am
- Forum: CloudCompare
- Topic: Adding 2D label (picked point) between two already picked
- Replies: 8
- Views: 10669
Re: Adding 2D label (picked point) between two already picke
Tried, it works, new point is added to cloud, and i can create 2d label on that point: if (Cloud->reserve(Cloud->size() + 1)) { Cloud->addPoint(Points[2]); cc2DLabel *middlePoint = new cc2DLabel(); middlePoint->addPoint(Cloud, Cloud->size() - 1); middlePoint->setDisplay(Cloud->getDisplay()); middleP...
- Sun Feb 24, 2013 6:22 am
- Forum: CloudCompare
- Topic: Managing DB tree view (colapse items)
- Replies: 6
- Views: 9470
Re: Managing DB tree view (colapse items)
Yes, already tested :)
It has "black" background, why?
Why not like labels 3D name - without background?
It has "black" background, why?
Why not like labels 3D name - without background?
- Sat Feb 23, 2013 9:23 pm
- Forum: CloudCompare
- Topic: Adding 2D label (picked point) between two already picked
- Replies: 8
- Views: 10669
Re: Adding 2D label (picked point) between two already picke
Could i add point to existing cloud? I get execution error on code like this: if (Cloud->resize(Cloud->capacity() + 1)) { Cloud->addPoint(Points[2]); <-- this line throws error ... } should be resize called or reserve? or new must be created? And how to get index of last added point?
- Thu Feb 21, 2013 12:45 pm
- Forum: CloudCompare
- Topic: Managing DB tree view (colapse items)
- Replies: 6
- Views: 9470
Re: Managing DB tree view (colapse items)
1. Thank you, it works, great. 2.problems with labels already encountered: a) labels could not be moved in DB tree (they depends on it's point cloud) b) label could not exist independently, new point cloud has to be created. and spheres for this situation are just great :) Could i make modifications...