Example #1
0
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);
}
Example #2
0
void Space::AddFrameToIndex(Frame *frame)
{
    assert(frame);
    m_frameIndex.push_back(frame);
    for (Frame::ChildIterator it = frame->BeginChildren(); it != frame->EndChildren(); ++it)
        AddFrameToIndex(*it);
}
Example #3
0
void Space::AddFrameToIndex(Frame *frame)
{
	assert(frame);
	m_frameIndex.push_back(frame);
	for (Frame* kid : frame->GetChildren())
		AddFrameToIndex(kid);
}
Example #4
0
void Space::RebuildFrameIndex()
{
    m_frameIndex.clear();
    m_frameIndex.push_back(0);

    if (m_rootFrame)
        AddFrameToIndex(m_rootFrame.Get());

    m_frameIndexValid = true;
}