[vtkusers] saving vtkwindow as vectorgraphic
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Wed Mar 19 16:50:14 EST 2003
Hi Prabhu,
That all sounds good. I'm not on the devel list so hadn't seen your post but
remember mailing about it last October...
My version of the class has text support for vtkTextActor. The other
subclasses of vtkActor2D (vtkScalarBar etc.) need something like a
GetTextActors() method in order to extend text support to them. The
reworking at the moment was linking to gl2ps.lib rather than having its code
inside the vtk class. I have vtkEPSWriter subclassing vtkExporter in the
Rendering directory. Perhaps the class should just subclass vtkObject and be
in the IO directory- that would be seem more consistent. What do you think?
I've also changed vtkOpenGLPolyDataMapper and vtkOpenGLProperty to cull
wireframe backfaces, specifically for vtkEPSWriter. Maybe these changes
should be added to VTK when a PS class is added?
One feature I'd like to add or see is being able to output 3D props in
raster format and output 2D props and wireframes in vector format.
You're welcome to any code I have on the matter,
Goodwin
University College Dublin
----- Original Message -----
From: "Prabhu Ramachandran" <prabhu at aero.iitm.ernet.in>
To: <goodwin.lawlor at ucd.ie>
Cc: "Jan-Gerrit Drexhage" <jdrexhage at wiwi.uni-bielefeld.de>;
<vtkusers at public.kitware.com>
Sent: Thursday, March 20, 2003 8:01 PM
Subject: Re: [vtkusers] saving vtkwindow as vectorgraphic
> >>>>> "GL" == Goodwin Lawlor <goodwin.lawlor at ucd.ie> writes:
>
> GL> I have a class vtkEPSWriter which I'm re-working at the
> GL> moment... It relies on gl2ps code. If gl2ps could be added to
> GL> VTK as a utility (I dont see why it couldn't) then the
> GL> vtkEPSWriter class could be add to the vtkIO library. At the
> GL> moment the gl2ps code is stuffed inside the vtkEPSWriter
> GL> class.
>
> If you did not follow the devel list a few months ago, I had planned
> on adding this support to VTK sometime soon.
>
>
http://public.kitware.com/pipermail/vtk-developers/2002-December/002164.html
>
>
http://public.kitware.com/pipermail/vtk-developers/2003-January/002169.html
>
> I've been busy and havent found the time to do it after 4.2 was
> released. Hopefully in the next couple of weeks I'll commit
> something. I have a working set of classes. The only thing that
> needs work is the text support which might take some doing. So
> perhaps you folks can wait a little while?
>
> cheers,
> prabhu
More information about the vtkusers
mailing list