Color edge of actor.

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

Color edge of actor.

Marco Salatin
Hi,
    how can i color edge of actor?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Jothy
Actor->GetProperty()->SetEdgeColor(1,1,1);


HTH

Jothy

Jothybasu K Selvaraj
Post Doctoral Fellow
Dept. of Radiotherapy
Netherlands Cancer Institute-Antoni van Leeuwenhoek
Amsterdam



On Wed, Aug 20, 2014 at 12:36 PM, Marco Salatin <[hidden email]> wrote:
Hi,
    how can i color edge of actor?

Thanks



--
View this message in context: http://vtk.1045678.n5.nabble.com/Color-edge-of-actor-tp5728300.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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

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


_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Marco Salatin
Thanks but it color not only the Edge of an object:

Immagine in linea 1

Can you help me?

_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

-Daniel-
You use the method (Actor->GetProperty()->SetEdgeColor(1,1,1);) to color the edges of all object cells.
Need rather this?: http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/Silhouette

Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Marco Salatin
Yes, but how it works?

Thanks

Marco
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Marco Salatin


2014-08-21 13:39 GMT+02:00 Marco Salatin <[hidden email]>:
Yes, but how it works?

Thanks

Marco



--
View this message in context: http://vtk.1045678.n5.nabble.com/Color-edge-of-actor-tp5728300p5728320.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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

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



--
---
www.salatin.eu

_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Marco Salatin
In reply to this post by Marco Salatin
i try Silhouette, thanks. it works bat no good. :(
Reply | Threaded
Open this post in threaded view
|

Re: Color edge of actor.

Meehan, Bernard
In reply to this post by Marco Salatin
I'm using VTK 6.1.0, and I have that class available in Python ...

Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>> s = vtk.vtkPolyDataSilhouette()
>>> s
(vtkPolyDataSilhouette)0x10a2468f0

From: Marco Salatin <[hidden email]>
Date: Thursday, August 21, 2014 4:48 AM
To: VTK Mailing List <[hidden email]>
Subject: Re: [vtkusers] Color edge of actor.



2014-08-21 13:39 GMT+02:00 Marco Salatin <[hidden email]>:
Yes, but how it works?

Thanks

Marco



--
View this message in context: http://vtk.1045678.n5.nabble.com/Color-edge-of-actor-tp5728300p5728320.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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

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



--
---
www.salatin.eu

_______________________________________________
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

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