Commit 0af7880a authored by Matt Turek's avatar Matt Turek
Browse files

ENH: Now has a Render2D method for drawing vtkActor2D objects. Turek.

parent 6c498975
......@@ -53,3 +53,13 @@ void vtkRendererCollection::Render()
}
}
void vtkRendererCollection::Render2D()
{
vtkRenderer *ren;
for (this->InitTraversal(); (ren = GetNextItem()); )
{
ren->Render2D();
}
}
......@@ -64,6 +64,7 @@ class VTK_EXPORT vtkRendererCollection : public vtkCollection
int IsItemPresent(vtkRenderer *a);
vtkRenderer *GetNextItem();
void Render();
void Render2D();
};
// Description:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment