Search found 47 matches

by suyufeng
Thu Jul 29, 2021 9:57 am
Forum: Plugins
Topic: How to hide plug-in icons in the shortcut bar
Replies: 5
Views: 9248

How to hide plug-in icons in the shortcut bar

As the title, I want to hide the plug-in icon in the toolbar。

As shown in the figure, hide a few of the plugins I've made.
by suyufeng
Sat Jul 10, 2021 1:33 am
Forum: Questions
Topic: Packing
Replies: 3
Views: 977

Re: Packing

I want to package cc into an exe, and package it together with my plug-in to a computer without an installation environment. How to package cc into an installation package? Thank you
by suyufeng
Wed Jul 07, 2021 3:07 am
Forum: Questions
Topic: Packing
Replies: 3
Views: 977

Packing

I use the cc to develop a plug-in that invokes the python script. How do I package the cc?
by suyufeng
Thu Jul 01, 2021 3:25 am
Forum: Plugins
Topic: path
Replies: 2
Views: 10967

Re: path

thank you
by suyufeng
Fri Jun 25, 2021 6:40 am
Forum: Plugins
Topic: path
Replies: 2
Views: 10967

path

pc->getParent();

Can I obtain the local path of the PC in the CC plug-in for the point cloud selected by the PC? How can I obtain the path?
by suyufeng
Fri Jun 25, 2021 2:16 am
Forum: Plugins
Topic: ccProgressDialog
Replies: 1
Views: 1301

ccProgressDialog

QScopedPointer<ccProgressDialog> pDlg(nullptr); if (parameters.parentWidget) { pDlg.reset(new ccProgressDialog(true, parameters.parentWidget)); //cancel available pDlg->setMethodTitle(QObject::tr("Save LAS file")); pDlg->setInfo(QObject::tr("Points: %L1").arg(numberOfPoints)); pD...
by suyufeng
Fri Jun 25, 2021 2:09 am
Forum: Plugins
Topic: getPickedPoints
Replies: 11
Views: 5526

Re: getPickedPoints

Thank you for your answer, we solved this problem, and we found that on the first click, cc created a scalar called "octree_picking" for the point cloud.
by suyufeng
Mon Jun 21, 2021 12:23 pm
Forum: Plugins
Topic: getPickedPoints
Replies: 11
Views: 5526

Re: getPickedPoints

Thank you very much. I did my job with these functions. if (!m_app->pickingHub()) //no valid picking hub { m_app->dispToConsole("[ccCompass] Could not retrieve valid picking hub. Measurement aborted.", ccMainAppInterface::ERR_CONSOLE_MESSAGE); } if (!m_app->pickingHub()->addListener(this, ...
by suyufeng
Fri Jun 18, 2021 7:59 am
Forum: Plugins
Topic: getPickedPoints
Replies: 11
Views: 5526

Re: getPickedPoints

Forgot to mention, I noticed that this function is protected members, and I moved it to public.