[vtkusers] (no subject) Grind Rendering
vidyadhar at lucidindia.net
Wed Jul 6 05:27:19 EDT 2005
Get vtkProperty from the actor and call its SetRepresentationToWireframe
method. Default is Surface and Points is one more possibility.
----- Original Message -----
From: "Sean Farrell" <sean.farrell at baw.de>
To: <vtkusers at vtk.org>
Sent: Wednesday, July 06, 2005 11:52 AM
Subject: Re: [vtkusers] (no subject) Grind Rendering
> You must use a vtk*GridGeometryFilter if it ist a Grid to make a
> PolyData of it. If it is Polydata you must use a vtkExtractEdges to
> crate wour edges.
> I am fairly new to vtk too and don't know if it is any valid advice. Use
> the manual with a search engine. 8o)
> Am Dienstag, den 05.07.2005, 07:10 -0700 schrieb ALI AWARKI:
> > hi all,
> > i am new to vtk, and i am trying to display the edges of a mesh. i
> > constructed one using 6 cells of type HEXAHEDRON, and i set the
> > property of the the actor as follows (relevant parts shown only):
> > vtkProperty *actprop=vtkProperty::New();
> > actprop->EdgeVisibilityOn();
> > actprop->SetEdgeColor(0,0,0);
> > vtkActor *gridact=vtkActor::New();
> > gridact->SetProperty(actprop);
> > After running I still don't get to see the edges of the created cells.
> > any help??
> > thx in advance.
> > ______________________________________________________________________
> > Yahoo! Mail
> > Stay connected, organized, and protected. Take the tour
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers