[vtkusers] Changing the color of the bounding box for vtkImplicitPlaneWidget
Amy Squillacote
ahs at cfdrc.com
Fri Feb 15 17:25:43 EST 2008
Hi Steve,
I think the following should work.
vtkImplicitPlaneWidget *pw = vtkImplicitPlaneWidget::New();
pw->GetOutlineProperty()->SetColor(0, 0, 0);
- Amy
Steve Chall wrote:
> -->
>
> I’m generating images incorporating a vtkImplicitPlaneWidget in
> interactive mode that need to be on a white background, making it
> desirable for the bounding box to be set to black instead of its
> default white. I can set the color of the plane as follows:
>
> vtkImplicitPlaneWidget *planeWidget = vtkImplicitPlaneWidget::New();
>
> planeWidget->GetPlaneProperty()->SetColor(0, 0, 0); // black in this case
>
> Any recommendations for similarly setting the color on the bounding
> box would be deeply appreciated, since I haven’t found out how from
> the documentation? Thanks.
>
> -Steve Chall
>
> Senior Research Software Developer
>
> Renaissance Computing Institute
>
> Phone: 919-515-0051
>
> Email: stevec at renci.org
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Amy Squillacote Phone: (256) 726-4839
Computer Scientist Fax: (256) 726-4806
CDF Research Corporation Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL 35805
More information about the vtkusers
mailing list