Search found 24 matches
- Thu May 19, 2016 11:44 pm
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
Dear Daniel, Thank you for your 2 replies. After reading *.stl files and displays on the screen, I can measure the saving time to a new *stl file or to a new *obj file. So my purpose is completed. As I told you before, my debug version does not work. As I first installed your cloudCompare, there is ...
- Thu May 19, 2016 8:38 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
Dear Daniel, By changing the second recursive parameter if( win->getOwnDB()->filterChildren( meshes, true, CC_TYPES::MESH, false ) != 0 ) { from false to true , I can save a new *stl file. Also doing ObjFilter filter ; result = filter.saveToFile( meshes[0], outputFilename, parameters ) ; I can save ...
- Thu May 19, 2016 3:13 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
Dear Sir, I found that "win->getOwnDB()->filterChildren( meshes, false, CC_TYPES::MESH, false )" return 0 . So "filter.saveToFile( meshes[0], outputFilename, parameters ) ; " is not called. The win is gotten by "ccGLWindow * win = m_app->getActiveGLWindow() ;" So I thin...
- Thu May 19, 2016 1:49 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
I just imitate your code. QSettings settings; settings.beginGroup(ccPS::SaveFile()); QString currentPath = settings.value(ccPS::CurrentPath(),QApplication::applicationDirPath()).toString(); QString outputFilename = QFileDialog::getSaveFileName(win, "Select *.stl output file", currentPath, ...
- Wed May 18, 2016 10:19 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
Now, I am trying to save the *.stl image made in my Plugin. With the following code STLFilter *filter = new STLFilter() ; QString selectedFilter = filter->GetFileFilter() ; ccHObject *entity = win->getOwnDB() ; result = FileIOFilter::SaveToFile( entity ,outputFilename,parameters,selectedFilter); the...
- Wed May 18, 2016 12:36 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
Re: How to draw *.stl using my Plugin window
Dear Daniel,
Thank you for your reply. Inserting only
newGroup->setDisplay_recursive( win ) ;
I can display *.stl files in my plugin menu.
For this, I can evaluate the *.stl reading and displaying time interval.
Thank you very much.
Sincerely Yours,
Thank you for your reply. Inserting only
newGroup->setDisplay_recursive( win ) ;
I can display *.stl files in my plugin menu.
For this, I can evaluate the *.stl reading and displaying time interval.
Thank you very much.
Sincerely Yours,
- Tue May 17, 2016 7:09 am
- Forum: Questions
- Topic: How to draw *.stl using my Plugin window
- Replies: 10
- Views: 4358
How to draw *.stl using my Plugin window
I know that if we use File -> Open ->STL mesh(*.stl), I can draw *.stl file on your CloudCompare Screen Window. Now I am challenging to draw *.stl file from my Plugin. Using ccHObject* newGroup = FileIOFilter::LoadFromFile(selectedFiles[0], parameters, currentFilter), I can get "[I/O] File &quo...
- Mon Apr 04, 2016 9:36 am
- Forum: Questions
- Topic: How to make a dialog?
- Replies: 5
- Views: 2284
Re: How to make a dialog?
Thank you for your teaching. Since my first dialog is so simple, and I have an experience to make a dialog in the unix,
I can make ui_MyPluginDlg.h without running CMake. My dialog is appeared after picking myPlugin dialog.
I try to do your advice when making another dialog.
Sincerely,
I can make ui_MyPluginDlg.h without running CMake. My dialog is appeared after picking myPlugin dialog.
I try to do your advice when making another dialog.
Sincerely,
- Mon Apr 04, 2016 1:58 am
- Forum: Questions
- Topic: How to make a dialog?
- Replies: 5
- Views: 2284
Re: How to make a dialog?
I am still strugging to make a dialog. By copying ccPcvDlg.cpp, ccPcvDlg.h, pcvDlg.ui in the qPCV directory, I made qMyPluginDlg.cpp, qMyPluginDlg.h and qMyPluginDlg.ui. Since there is a QtCreator, by changing pcvDlg.ui using the QtCreator, I could make qMyPluginDlg.ui. For opening and reading ppPcv...
- Thu Mar 31, 2016 10:10 am
- Forum: Questions
- Topic: How to make a dialog?
- Replies: 5
- Views: 2284
Re: How to make a dialog?
Thank you for your reply. I must study more about Qt.
Probably, I will start this tommorow.
Sincerely,
Probably, I will start this tommorow.
Sincerely,