Hi !<br><br><br>My question is the continuation of the previous one.<br><br>I have someting like that :<br><br><br><span style="font-family: courier new,monospace;">vtkFixedPointVolumeRayCastMapper * volumeMapper = vtkFixedPointVolumeRayCastMapper ::New();</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">volumeMapper->SetBlendModeToMaximumIntensity();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">volumeMapper->SetInput( reader->GetOutput() );</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">vtkVolume* volume = vtkVolume::New();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">volume->SetMapper( volumeMapper ); </span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">vtkRenderer* renderer = vtkRenderer::New();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">renderer->AddViewProp( volume );</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">vtkRenderWindow* renWin = vtkRenderWindow::New();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
renWin->AddRenderer(renderer);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">renWin->Render();</span><br><br><br><font face="arial,helvetica,sans-serif">But the </font>MIP I see is from the AXIAL view. But I'd like to see it from a CORONAL view.<br>
<br>I suppose I have to change the settings of the Camera.<br><br>Then I tried :<br><br><span style="font-family: courier new,monospace;">vtkCamera *camera = renderer->GetActiveCamera();</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">camera->SetViewUp(*****)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">camera->SetEyeAngle(*****)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">camera->SetViewAngle(*****)</span><br>
<br>etc...<br><br><br>but I didn't find which one allow to set a coronal view of the MIP.<br><br><br><br>Can you help me ?<br>Is it the right way to change the camera settings ? Is there an other way to fix the problem?<br>
<br><br><br>Thank you,<br><br>Regards,<br><br><br><br>Stéphane<br><br><br><br>