[vtkusers] labelling iso-lines

Bill Lorensen bill.lorensen at gmail.com
Tue May 18 16:20:26 EDT 2010


Rashed,

I have written a small, simple example that labels contours. It was
fairly simple.
I will "sell" to you.

In return (the cost), you promise:

1) To spend your time to study the example and learn from it.
2) Not ask any questions regarding the example.
3) Report back to the list if you find the example useful.
    For example, "I found this example to be useful in solving my problem."
    or "This example was not helpful, but thank you for the effort."
4) Fix or enhance the example.

I probably won't be able to post the example until tomorrow. So you
have time to think about whether you want to "pay" for it. If you
agree to the cost, I will post it on the wiki sometime tomorrow.

Bill

On Tue, May 18, 2010 at 12:33 PM, rashedk <rashed.vtk at googlemail.com> wrote:
>
>
> Perhaps I didnt phrase my question correctly, so there is absolutely no
> simple way of displaying the iso-value of each iso-contour?
>
> BTW, as vtkContourFilter inherits from vtkPolyDataAlgorithm, the output
> (contours) of the contourFilter is polydata, with cells that I can access
> one-by-one?
>
> Rashed
>
>
> Bill Lorensen-2 wrote:
>>
>> As far as I know, there is no automatic way to do this. You could
>> probably find the number of cells in contour, fiund an appropriate
>> point in the line (middle maybe?) and then use some sort of labeller
>> that exists already.
>>
>> On Tue, May 18, 2010 at 12:08 PM, rashedk <rashed.vtk at googlemail.com>
>> wrote:
>>>
>>> Hi all,
>>>
>>> vtkContourFilter can draw contours on a dataset, however, is it possible
>>> to
>>> label/annotate these contours? I looked at vtkLabeledDataMapper but it
>>> only
>>> seems to label points, cells, etc.
>>>
>>> Rashed.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/labelling-iso-lines-tp28597889p28597889.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://www.vtk.org/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://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
> --
> View this message in context: http://old.nabble.com/labelling-iso-lines-tp28597889p28598370.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://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list