00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00011 
00012 #ifndef __COPYSKELETONS_HPP
00013 #define __COPYSKELETONS_HPP
00014 
00015 #include <memcore/RefPtr.hpp>
00016 #include <grid/Grid.hpp>
00017 
00018 
00019 namespace Fiber
00020 {
00021 
00025         class CopySkeletons : public SkeletonIterator
00026                             , public MemCore::ReferenceBase<CopySkeletons>
00027 {
00028 public:
00029         Grid& newGrid;
00030         
00031         CopySkeletons( Grid& newGridP)
00032         : MemCore::ReferenceBase<CopySkeletons>(this)
00033         , newGrid(newGridP)
00034           
00035         {}
00036         
00037         bool apply(const SkeletonID&id, const Skeleton&S);
00038 };
00039 
00040 }
00041 
00042 #endif