[vtkusers] labelling iso-lines

rashedk rashed.vtk at googlemail.com
Tue May 18 12:33:54 EDT 2010



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.




More information about the vtkusers mailing list