Search found 27 matches

by vinayan
Fri Nov 10, 2017 9:40 am
Forum: CloudCompare
Topic: Implementing a Zoom To previous/Zoom Next functionality
Replies: 2
Views: 15235

Re: Implementing a Zoom To previous/Zoom Next functionality

hi Daniel,

thanks for the suggestions. I would try to get this done possibly with a pull request in the near future.
by vinayan
Thu Nov 09, 2017 5:24 am
Forum: CloudCompare
Topic: Implementing a Zoom To previous/Zoom Next functionality
Replies: 2
Views: 15235

Implementing a Zoom To previous/Zoom Next functionality

hi Daniel, I was thinking of implementing a functionality that lets users undo the zoom and pan operations. Sometimes we hit the zoom to whole cloud extent or do several pan/zoom it would be good if we could just go back to the extent where it was. My idea was to store the camera parameter for the l...
by vinayan
Tue Jun 06, 2017 7:24 am
Forum: CloudCompare
Topic: Object added to dbTree SIGNAL - Plugin
Replies: 2
Views: 15286

Re: Object added to dbTree SIGNAL - Plugin

hi..It is not such an essential requirement. I just wanted to disable a button till a particular object was added to tree. I worked around by keeping the button enabled and checking for the same on its click.
by vinayan
Thu Jun 01, 2017 9:41 am
Forum: CloudCompare
Topic: Object added to dbTree SIGNAL - Plugin
Replies: 2
Views: 15286

Object added to dbTree SIGNAL - Plugin

hi Daniel,

is there any way i can subscribe to a SIGNAL that will let me know when an object is added to the dbTree? I am looking for this in my plugin.
by vinayan
Mon May 29, 2017 8:23 am
Forum: CloudCompare
Topic: highlighting/selecting a point in cloud
Replies: 7
Views: 22661

Re: highlighting/selecting a point in cloud

ah..it never really occurred to me that I should add this subclassed cloud to the existing cloud as a child. This works perfectly now. Thanks a lot for reviewing the code. So I guess I should take care of removing this child and adding a new one everything a highlight is needed. At present I have no...
by vinayan
Sun May 28, 2017 1:21 pm
Forum: CloudCompare
Topic: highlighting/selecting a point in cloud
Replies: 7
Views: 22661

Re: highlighting/selecting a point in cloud

I have to admit my c++ is rather weak. I managed to do like below. ccHighlightCloud .h #include<ccPointCloud.h> class ccHighlightCloud : public ccPointCloud { public: ccHighlightCloud(); ccBBox getOwnBB(bool withGLFeatures/*=false*/); }; ccHighlightCloud.cpp #include "ccHighlightCloud.h" c...
by vinayan
Thu May 18, 2017 7:08 am
Forum: CloudCompare
Topic: highlighting/selecting a point in cloud
Replies: 7
Views: 22661

Re: highlighting/selecting a point in cloud

okay it is clear now. I will try it out. Of course i know the point list picking tool :)
by vinayan
Thu May 18, 2017 3:17 am
Forum: CloudCompare
Topic: highlighting/selecting a point in cloud
Replies: 7
Views: 22661

Re: highlighting/selecting a point in cloud

thanks..i will give this a try..I am creating the clouds myself. This is just a plugin to let user capture a few points from cloud. returns a box with a fixed size in the case there's only one point in the cloud. does this mean I need to create a temporary cloud just for zooming to a point? ccHObjec...
by vinayan
Wed May 17, 2017 3:41 pm
Forum: CloudCompare
Topic: highlighting/selecting a point in cloud
Replies: 7
Views: 22661

highlighting/selecting a point in cloud

hi, I managed to highlight and zoom to a line object referring the centerAndZoom functionality in mainwindow. ccHObject* lineObj = getLineObj(); bbox = lineObj->getOwnBB(); m_app->setSelectedInDB(lineObj, true); glWindow->updateConstellationCenterAndZoom(&bbox); but the same code for point does ...
by vinayan
Wed May 10, 2017 8:02 am
Forum: CloudCompare
Topic: Trace polyline Tool
Replies: 2
Views: 13571

Re: Trace polyline Tool

i kind of mimicked the tool in the end. I had to let the user draw a polyline on screen and have some event like onSketchFinished(Polyline). Anyway thanks for the reply.