[vtkusers] HELP!!! WindowName

marisa aurelio asiram00 at hotmail.com
Tue Jul 1 11:09:29 EDT 2003


Hi vtk Users,

I want to put a name in my RenderWindow!!  But, it isn't working!!

What am I doing wrong???

>vtkRenderer* renderer = vtkRenderer::New();
>vtkRenderWindow* renWin = vtkRenderWindow::New();
>
>renWin->SetWindowName("KAKADU");
>renWin->AddRenderer(renderer);
>iren->SetRenderWindow(renWin);
>   // Add the vtkImageActor to the renderer for display.
>renderer->AddActor(imageActor);
>renderer->SetBackground(0.4392, 0.5020, 0.5647);
>
>// Bring up the render window and begin interaction.
>renWin->Render();
>     renWin->Delete();
>renderer->Delete();

Thanks in advance,

Marisa

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the vtkusers mailing list