How to display opaque vtkPointWidget inside 3D MIP or Volume

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to display opaque vtkPointWidget inside 3D MIP or Volume

Satwik
Hi everyone,

I'm trying to draw x,y,z cursor lines on 3D MIP PET dataset.



d->pointWidget = vtkSmartPointer<vtkPointWidget>::New();

        d->pointWidget->SetInteractor(d->m_iren);
        d->pointWidget->SetPlaceFactor(1.01);
        d->pointWidget->SetHandleSize(0.005);
        d->pointWidget->SetProp3D(d->m_volume);

        d->pointWidget->SetDefaultRenderer(d->m_renderer);
        d->pointWidget->PlaceWidget();
        d->pointWidget->EnabledOff();
        d->pointWidget->XShadowsOff();
        d->pointWidget->YShadowsOff();
        d->pointWidget->ZShadowsOff();
        d->pointWidget->OutlineOff();
        d->pointWidget->GetProperty()->SetColor(0, 1, 0);
        d->pointWidget->GetProperty()->SetLineWidth(2);
        d->pointWidget->GetProperty()->SetOpacity(1);
        d->pointWidget->On();

Problem I'm facing is that the cursor inside the volume is getting
transparent. How can i make it visible. So, that i can see the intersection
points.


Regards,
Satwik k  <http://vtk.1045678.n5.nabble.com/file/t341724/MIP.png>



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers