Search found 15 matches

by zzwbeyond
Tue May 24, 2016 7:38 am
Forum: Windows related topics
Topic: How can I add new menu to the menuBar
Replies: 5
Views: 6610

Re: How can I add new menu to the menuBar

Ok, I see. Another question, is it possible to add a keyword shortcut to my own plugin?
by zzwbeyond
Mon May 23, 2016 12:49 pm
Forum: Windows related topics
Topic: How to build a cube with 8 vertex or a plane with 4 points in point cloud
Replies: 1
Views: 4829

How to build a cube with 8 vertex or a plane with 4 points in point cloud

HI, I want to build a cube in cloudcompare with 8 points in point cloud, and the 8 points is the vertex of the cube. But CC now use the "dimensions" and a transformation matrix to build the "box" primitive. Or how to build a plane with 4 points, so I can build the cube with 6 pla...
by zzwbeyond
Mon May 23, 2016 12:33 pm
Forum: Windows related topics
Topic: How can I add new menu to the menuBar
Replies: 5
Views: 6610

Re: How can I add new menu to the menuBar

hi, daniel, I know what you mean, but I want to add my plugin icon to other toolbar, not the "Plugins". Is there any way to add my plugin to "Tools" toolbar or other.
by zzwbeyond
Mon May 23, 2016 8:28 am
Forum: Windows related topics
Topic: How can I add new menu to the menuBar
Replies: 5
Views: 6610

How can I add new menu to the menuBar

I add a new plugin in CC, but the plugin menu is only under the "plugins" menu. [img]
plugin.jpg
plugin.jpg (6.82 KiB) Viewed 6610 times
[/img]
How can I add the new plugin menu to "Tools" menu or another new menu like the "Tools" menu.
by zzwbeyond
Thu May 12, 2016 12:52 pm
Forum: Windows related topics
Topic: How to set the plane of the box primitive with different color
Replies: 3
Views: 4981

Re: How to set the plane of the box primitive with different color

Thanks daniel, I can set different color now.
And I want ask another question, how can I hide the bounding box of the box primitive or other primitive entity? I see other people have asked, but there is no answer.
by zzwbeyond
Tue May 10, 2016 2:44 pm
Forum: Windows related topics
Topic: How to set the plane of the box primitive with different color
Replies: 3
Views: 4981

How to set the plane of the box primitive with different color

Hello, I want set different color in different plane of the box primitive. And I have modify the 'buildUp' method in ccBox.cpp, but it don't work.

So is there any solution to do this? Thanks.
by zzwbeyond
Sun Apr 17, 2016 9:45 am
Forum: Windows related topics
Topic: get the mouse position in the point coud
Replies: 1
Views: 3419

get the mouse position in the point coud

Hi,

I want to add box primitive in the point cloud, and the center of the box is the mouse position. So how can I get the position(X,Y,Z) of the mouse in the point cloud?

Thanks.
by zzwbeyond
Sat Apr 09, 2016 5:06 pm
Forum: Windows related topics
Topic: rotate/translate a box primitive in its own coordinate
Replies: 1
Views: 3614

rotate/translate a box primitive in its own coordinate

I use the 'Translate/Rotate' method to translate or rotate the box primitive in a point cloud. But I want to rotate the box relative to the box own coordinates. For example, I can rotate/translate the box in the direction of the x axis of the box when I select the x in the 'translate/rotate' dialog ...
by zzwbeyond
Thu Mar 24, 2016 8:59 am
Forum: Windows related topics
Topic: only scale the dimensions of the box without scale the box relatively to the bounding-box
Replies: 5
Views: 7885

Re: only scale the dimensions of the box without scale the box relatively to the bounding-box

Thanks, daniel

1. I use the Multiply/Scale tool to scale the box primitive.

2. After I scale the box primitive, the dimensions of the box (use function 'getDimensions()' ) is not change. It's too weird..
by zzwbeyond
Wed Mar 23, 2016 2:39 am
Forum: Windows related topics
Topic: only scale the dimensions of the box without scale the box relatively to the bounding-box
Replies: 5
Views: 7885

Re: only scale the dimensions of the box without scale the box relatively to the bounding-box

Yes, the 'box' I mentioned before is the box primitive(ccBox). Now my question is: 1. After I rotate the box primitive, the shape of the box primitive will change(as show in the attachments) when I scale the box primitive. So is there a way to only scale the dimension of the box primitive without ch...