vtkActorCollection * allActor = m_RenWindow->GetRenderers()->GetFirstRenderer()->GetActors();
vtkCollectionSimpleIterator pit;
vtkActor *currActor = nullptr;
for (allActor->InitTraversal(pit);
(currActor = allActor->GetNextActor(pit)); )
{
}
通过迭代器进行循环遍历;直到所有的actor模型都被获取到,参考render中的源代码