vtkDistanceWidget

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vtkDistanceWidget

Jose Barreto
There is the option to change the default color of a vtkDistanceWidget (this set to green).
A SetLineColor to vtkDistanceWidget?
Reply | Threaded
Open this post in threaded view
|

Re: vtkDistanceWidget

CSUMIKE2
Hi, u may want to try this .


        vtkDistanceRepresentation2D *rep2D = vtkDistanceRepresentation2D::New();
        rep2D->GetAxisProperty()->SetColor(1, 0, 0);

        vtkDistanceWidget *distanceWidget = vtkDistanceWidget::New();
        distanceWidget->SetRepresentation(rep2D);



--
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://vtk.org/mailman/listinfo/vtkusers