Search found 36 matches

by eimixas
Thu Feb 21, 2013 9:56 am
Forum: CloudCompare
Topic: Managing DB tree view (colapse items)
Replies: 6
Views: 8172

Managing DB tree view (colapse items)

1.Is there posibility to control if item in DB tree view is colapsed or expanded? PointX are show as expanded, PointY is colapsed. If sphere, plane or any primitive is created - it is shown expanded at first (image below). 2. I modified ccGLWindow.cpp to create spheres instead of labels (SHIFT+LEFT ...
by eimixas
Thu Feb 21, 2013 8:20 am
Forum: CloudCompare
Topic: Coloring primitives
Replies: 1
Views: 2500

Re: Coloring primitives

found

Code: Select all

->showColors(true)
was looking near set... get... has... is...
by eimixas
Thu Feb 21, 2013 8:12 am
Forum: CloudCompare
Topic: Coloring primitives
Replies: 1
Views: 2500

Coloring primitives

I have:

Code: Select all

pSphere->setColor(ccColor::magenta);
But my sphere is still green, unless i check "checkbox" in properties list "Colors".
but could not find what parameter in code could change this?

Thank you
by eimixas
Wed Feb 20, 2013 9:19 am
Forum: CloudCompare
Topic: Adding 2D label (picked point) between two already picked
Replies: 8
Views: 9358

Re: Adding 2D label (picked point) between two already picke

Yes i know about measuring distance between two points. But i need third point between two. I will measure distance from that point to other point or plane. And here is picture about second question: http://sos.teja.lt/~eimix/misc/dantys/point_projection.jpg Plane is drawn on points 1, 2 and 4. Poin...
by eimixas
Wed Feb 20, 2013 7:29 am
Forum: CloudCompare
Topic: Adding 2D label (picked point) between two already picked
Replies: 8
Views: 9358

Adding 2D label (picked point) between two already picked

Could be added 2D label (picked point) between two already picked points (in middle or some other ratio)? I do calculations, i get XYZ, but i cant find any cc2DLabel contstructor that could take such parameters. As every 2D label has to be associated with point in point cloud, so is it impossible to...
by eimixas
Sat Feb 16, 2013 9:48 am
Forum: CloudCompare
Topic: How to resize "Plane"
Replies: 13
Views: 12730

Re: How to resize "Plane"

No problem, already tested :) works fine.
(i check commited code regularly for updates)
by eimixas
Fri Feb 15, 2013 7:46 am
Forum: CloudCompare
Topic: How to resize "Plane"
Replies: 13
Views: 12730

Re: How to resize "Plane"

Thank you
I will check commited code dayly :)
by eimixas
Thu Feb 14, 2013 3:07 pm
Forum: CloudCompare
Topic: How to resize "Plane"
Replies: 13
Views: 12730

Re: How to resize "Plane"

Is it possible to call this method from plugin's ::DoAction()? something like ccDBRoot* m_ccDBRoot = (ccDBRoot*)(m_app->dbRoot()); m_ccDBRoot->selectEntity(NewPlane); but i get: qPlaneSizeReducePlugin.obj : error LNK2019: unresolved external symbol "public: void __thiscall ccDBRoot::selectEntit...
by eimixas
Thu Feb 14, 2013 1:10 pm
Forum: CloudCompare
Topic: How to resize "Plane"
Replies: 13
Views: 12730

Re: How to resize "Plane"

Thank you, i will user removeFromDB only.
And what about "selecting" newly created objects?
by eimixas
Thu Feb 14, 2013 12:40 pm
Forum: CloudCompare
Topic: How to resize "Plane"
Replies: 13
Views: 12730

Re: How to resize "Plane"

And what is correct way to "select" newly created plane? if i do like this: NewPlane->setSelected(true); Parent->addChild(NewPlane); m_app->addToDB(NewPlane); m_app->removeFromDB(pPlane); m_app->refreshAll(); m_app->updateUI(); m_app->redrawAll(); it is drawn as selected - but all plugin b...