virtual void apply(osgVolume::CompositeProperty& cp) { OSG_NOTICE<<"Found CompositeProperty"<<std::endl; for(unsigned int i=0; i<cp.getNumProperties(); ++i) { cp.getProperty(i)->accept(*this); } }
static bool writeProperties( osgDB::OutputStream& os, const osgVolume::CompositeProperty& prop ) { unsigned int size = prop.getNumProperties(); os << size << os.BEGIN_BRACKET << std::endl; for ( unsigned int i=0; i<size; ++i ) { os << prop.getProperty(i); } os << os.END_BRACKET << std::endl; return true; }