Instead of make the protected methods public...

For accessing the transforms data from outside (viewer), I tried to change the protected attributes (std::vector<CrtTransform *> Transforms) in class CrtOrient : public CrtBase into public. It works. But I think there should be a interface that I can access these data from outside somewhere that I did not find. Could somebody give me a hint about this please.


It’s sample code so you can add/change whatever you want to it. If you want to contribute your improvements of the sample back to sourceforge, let me know!