hello~
When I use the scissors tool, I cut a small piece down and the center of the view is still in the original position.
like this
I want the center of the cut piece to be set to the center of the interface, to make it easier for me to rotate it.
like this
I know that I can set the center point to this position by double-clicking, but many times the double-click is not accurate and I need to double-click many times.
So I would like to implement it in code so that it will come to the center by itself.
Could you please give me some advice?
thanks~
Scissor tool center setting
Re: Scissor tool center setting
I guess you would have to call the updateConstellationCenterAndZoom method of the 3D view, with the right bounding-box. And the right bounding-box should be ccGraphicalSegmentationTool::segment method (when CC determines if each point is inside or outside of the segmentation polygon).
Daniel, CloudCompare admin
Re: Scissor tool center setting
Thanks,
This solves my problem
This solves my problem