Where can I find the related codes that ccHObject derived from ccPointCloud
Posted: Thu Jul 01, 2021 7:44 am
Hello.
I am analyzing CloudCompare's source code.
I found some code in AsciiFilter::loadCloudFromFormatedAsciiFile function.
"container.addChild(cloudDesc.cloud);"
This code cast ccPointCloud* to ccHObject *.
If so, I thought that ccHObject is derived from a ccPointCloud.
Am I right?
If so, where is the code that ccHObject is derived from a ccPointCloud.
If not, How can the ccHObject be casted to the ccPointCloud.
Thank you in advance.
I am analyzing CloudCompare's source code.
I found some code in AsciiFilter::loadCloudFromFormatedAsciiFile function.
"container.addChild(cloudDesc.cloud);"
This code cast ccPointCloud* to ccHObject *.
If so, I thought that ccHObject is derived from a ccPointCloud.
Am I right?
If so, where is the code that ccHObject is derived from a ccPointCloud.
If not, How can the ccHObject be casted to the ccPointCloud.
Thank you in advance.