[vtkusers] vtkRenderer.AddActor
David Cole
dlrdave at aol.com
Fri Jul 12 10:15:45 EDT 2013
> void vtkMFCSingleView::AddActor(vtkSmartPointer<vtkActor> pActor)
> {
> Renderer->AddActor(pActor);
> Invalidate();
> }
After your call to Renderer->AddActor, make a call to vtkRenderWindow::Render:
{
Renderer->AddActor(pActor);
Renderer->GetRenderWindow()->Render();
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130712/bb328e20/attachment.htm>
More information about the vtkusers
mailing list