Search found 47 matches

by suyufeng
Thu Jun 10, 2021 8:34 am
Forum: Questions
Topic: Difficulties when using the camera.
Replies: 2
Views: 682

Difficulties when using the camera.

invalidateViewport();
invalidateVisualization();
deprecate3DLayer();

When I was sorting out the code, after seeing a lot of setcameraposs, I entered these three codes, and I couldn't understand what these three codes do. I have seen your comment, but I don't understand what it does.
by suyufeng
Tue Jun 08, 2021 9:35 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

Thank you for your guidance, I am going to improve my plug-in function, I believe I will come to ask you again in the near future
by suyufeng
Fri Jun 04, 2021 9:31 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

First of all thank you for your guidance. I wrote the functions I needed in the plug-in. I used the setCamerePos and setCustomView functions, and set different coordinates in a loop to achieve the effect of dynamically displaying the point cloud. It’s a pity that the display interface would have bee...
by suyufeng
Thu Jun 03, 2021 9:39 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

Sorry, I did not find the code that only refreshes the display interface, can you tell me, thank you!
by suyufeng
Thu Jun 03, 2021 7:42 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

Terrible!
refreshAll();
updateUI();

These two lines of functions seem to refresh the entire interface. This is not what I want. What I want is to refresh the display interface. It seems that I need to find a way again.
by suyufeng
Wed Jun 02, 2021 9:57 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

setCustomView()

regret!
For this function, I need to use the negative number of the coordinates, but when the coordinates are set to a certain value, it's the opposite again.
by suyufeng
Wed Jun 02, 2021 8:31 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

refreshAll();
updateUI();

Excited!
By accident, I found these two lines of code, and my camera started to change position, not just displaying the last coordinate. Can you tell me what these two lines mean?
by suyufeng
Wed Jun 02, 2021 7:59 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

I'm so excited I set the coordinates! But I set multiple coordinates and cc only shows the location of the last coordinate. For example: setCameraPos(3,5,0); sleep(1); setCameraPos(5,1,0); sleep(1); setCameraPos(10,15,5); sleep(1); setCameraPos(3,5,4); So I set up the coordinates of four positions, ...
by suyufeng
Wed Jun 02, 2021 1:52 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

Yes, I need a fixed perspective.
I needed to set different coordinates for the camera to see the point cloud.
Thank you for your reply.
by suyufeng
Tue Jun 01, 2021 7:54 am
Forum: Questions
Topic: CloudCompare is displayed incorrectly.
Replies: 24
Views: 6377

Re: CloudCompare is displayed incorrectly.

https://www.danielgm.net/cc/forum/viewtopic.php?f=3&t=2558&p=10055&hilit=camera&sid=86731dc02812f6b4a6e21d62cae2fbec#p10055 Sorry may be that I am not clear, the content in this post is similar to what I want to do. I’ll work harder, and I’ll ask you if you have any questions, thank ...