void Space::AddFrameToIndex(Frame *frame) { assert(frame); m_frameIndex.push_back(frame); for (std::list<Frame*>::iterator i = frame->m_children.begin(); i != frame->m_children.end(); ++i) AddFrameToIndex(*i); }
void Space::AddFrameToIndex(Frame *frame) { assert(frame); m_frameIndex.push_back(frame); for (Frame::ChildIterator it = frame->BeginChildren(); it != frame->EndChildren(); ++it) AddFrameToIndex(*it); }
void Space::AddFrameToIndex(Frame *frame) { assert(frame); m_frameIndex.push_back(frame); for (Frame* kid : frame->GetChildren()) AddFrameToIndex(kid); }
void Space::RebuildFrameIndex() { m_frameIndex.clear(); m_frameIndex.push_back(0); if (m_rootFrame) AddFrameToIndex(m_rootFrame.Get()); m_frameIndexValid = true; }