Thomas Lambertz
2006-05-29 17:52:28 UTC
Hi all,
what went wront with the following code ?
renWin->AddRenderer(sliceRenderer[slice]);
vtkCamera *camera = vtkCamera::New();
camera->ParallelProjectionOn();
camera->SetParallelScale(256);
sliceRenderer[slice]->InteractiveOff();
sliceRenderer[slice]->SetActiveCamera(camera);
renWin->Render();
I got the image on the screen - but no scaling whatever value given for
SetParallelScale (the block in the middle can simply be removed without
an effect). Seemes i missed something - but i have no idea what. Any
suggestions ?
Kind regards,
Tom
what went wront with the following code ?
renWin->AddRenderer(sliceRenderer[slice]);
vtkCamera *camera = vtkCamera::New();
camera->ParallelProjectionOn();
camera->SetParallelScale(256);
sliceRenderer[slice]->InteractiveOff();
sliceRenderer[slice]->SetActiveCamera(camera);
renWin->Render();
I got the image on the screen - but no scaling whatever value given for
SetParallelScale (the block in the middle can simply be removed without
an effect). Seemes i missed something - but i have no idea what. Any
suggestions ?
Kind regards,
Tom