[..]
>>   
> I've used the NFIO classes to write images in osb, like this:
> 
> bool OSGImageCacher::doWrite(std::ostream& os)
> {
>         return OSG::NFIOBase::writeFC(m_image, os, "");
> }
> 
> I then read them back like this:
> 
>       OSG::FieldContainerPtr fc = OSG::NFIOBase::readFC(is, "");
>         if (!fc) {
>             s_log.err("OpenSG failed to read '%s'", path.string().c_str());
>             return false;
>         }
>         m_image = OSG::ImagePtr::dcast(fc);

Very nice.  Can anyone comment on wether this part of the NFIBase 
interface is considered stable (ie. can't user's rely upon this call 
from version to version?)

-Allen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to