How to write your own io plugin?

All about Linux portage
Post Reply
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

How to write your own io plugin?

Post by xiaolu »

I want to write my own io plugin, but I can't find a suitable tutorial. Could anyone share some tutorials? Thank you~
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to write your own io plugin?

Post by daniel »

Well, you have the dummy IO plugin provided in the sources: https://github.com/CloudCompare/CloudCo ... leIOPlugin

But the best way to understand how it works, is to look at another existing IO plugin ;)
Daniel, CloudCompare admin
xiaolu
Posts: 36
Joined: Fri Apr 02, 2021 9:42 am

Re: How to write your own io plugin?

Post by xiaolu »

I want to read the content in the db tree in the io plugin,

For example, I added a geojson file and loaded it on the corresponding cloud,

but I did not find a way to read the dbtree when the file was loaded.


I try to write in the code

Code: Select all

ccMainAppInterface app;
Nor can

Can you help me..
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to write your own io plugin?

Post by daniel »

Ah sorry, it seems I missed your reply.

Sadly the current architecture doesn't allow for that...
Daniel, CloudCompare admin
Post Reply