vtkGlyph3D
Will Schroeder
will.schroeder at kitware.com
Fri Mar 17 10:18:33 EST 2000
Hi John-
I did. You're pushing the glypher much harder than I ever expected with 200 separate input sources.to create the glyph table. But that's why it's open source, so you can go beyond the initial design vision and make it better.
Since you have cvs access, you might consider learning "cvs annotate" which assigns a name (of the last person to edit that line) to each line of code. Also use "cvs log".
Will
At 02:12 PM 3/17/00 +0000, John Biddiscombe wrote:
>Who wrote vtkGlyph3D ?
>
>there is a very dubious memory allocation going on which I'd like to
>change, but I'd like to ask the author about it first.
>
>Specifically....
>When a list of sources is supplied the total points in ALL sources is
>counted up and then the number of points in the input is counted, the
>memory for both these is multipled and allocated. I have a list of sources
>of 200 polydata objects, but only one of these is ever used per glyph
>instance, so I'd like to reduce the memory allocation to numpoints *
>max(souce points)
>this way there'll always be enough. However there are no comments in the
>source and the ptincrement is used later on and I don't want to hose it by
>altering the behaviour.
>
>For reference I'm improving my vtkDXFimporter and the BLOCKS section of the
>DXF file is used as the glyph source and the INSERTS as the input. each
>insert creates one glyph, but the BLOCKS section contains several hundred
>objects - hence problems.
>
>ttfn
>
>John B
>
>--------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at public.kitware.com>. For help, send message body containing
>"info vtkusers" to the same address.
>--------------------------------------------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list