32 #include <boost/enable_shared_from_this.hpp>
34 #include "../common/WProperties.h"
36 #include "../graphicsEngine/WROI.h"
45 class WRMBranch :
public boost::enable_shared_from_this< WRMBranch >
52 explicit WRMBranch( boost::shared_ptr< WROIManager > roiManager );
64 void addRoi( osg::ref_ptr< WROI > roi );
71 void removeRoi( osg::ref_ptr< WROI > roi );
85 bool dirty(
bool reset =
false );
104 bool contains( osg::ref_ptr< WROI > roi );
137 void getRois( std::vector< osg::ref_ptr< WROI > >& roiVec );
144 void addChangeNotifier( boost::shared_ptr< boost::function<
void() > > notifier );
169 std::list< osg::ref_ptr< WROI > >
m_rois;
220 #endif // WRMBRANCH_H