[vtkusers] please help me

Amy Squillacote ahs at cfdrc.com
Fri Jan 18 09:12:14 EST 2008


Try using the SetRepresentationToWireframe() method of vtkProperty. For
the actor associated with your vtkPolyData, do the following (in C++).

actor->GetProperty()->SetRepresentationToWireframe();

See http://www.vtk.org/doc/release/5.0/html/a01923.html for other
representation options.

- Amy

君 姚 wrote:
> HI, All
> I have a problem,when I used vtkPolyData as the data structure to draw
> a triangle or a polygon in the window , the triangle or polygon was
> filled,but what i want was not a plane , just its boundry. what should
> i do? draw the line one by one?
> thank you all
>
> ------------------------------------------------------------------------
> 雅虎邮箱传递新年祝福,个性贺卡送亲朋!
> <http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   




More information about the vtkusers mailing list