[Paraview] Display objects with labels

David E DeMarle dave.demarle at kitware.com
Mon Mar 19 10:01:02 EDT 2012


The labels don't have to be indexes, you can choose any of the
attribute arrays on the cells or points to show. If one of the arrays
contains string names, those will show up just fine.

Like Nehme indicates, there are ways to choose what to show exactly, but you
have to be creative with your filters and selections to do so. And
yes, the interface to labeling in ParaView is hackish.

It comes up on the mailing list frequently, but unfortunately no one
has yet had the time to make a good text label representation and
GUI for it in ParaView.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Mon, Mar 19, 2012 at 9:47 AM, Alexander Grayver
<agrayver at gfz-potsdam.de> wrote:
> Nehme,
>
> Thank you, but this is a bit like a hack. Moreover, if I have 1000 of points
> in this way you can label them by index, but they have more meaningful names
> actually. It would be nice if there exists another way to do that.
>
>
>
> On 19.03.2012 14:23, Nehme Bilal wrote:
>>
>> Hello Alexander,
>>
>> If your names or labels are points of cells properties, try using the
>> "selection inspector" to display the labels. You just select
>> everything and turn on labeling in the selection inspector gui.
>> You can also select only the parts where you want to see the labels.
>> If you don't want your labels to show up on all the points or cells,
>> you replace the labels with an empty string ("") at the locations
>> where you want nothing to be displayed.
>>
>> There might be newer and easier ways of achieving the same that I am
>> not aware of.
>>
>> Nehme
>>
>>
>> On Mon, Mar 19, 2012 at 5:45 AM, Alexander Grayver
>> <agrayver at gfz-potsdam.de>  wrote:
>>>
>>> Hello,
>>>
>>> I have a set of points and polylines. Each has its own name or label. The
>>> question is how to represent this data such that I could visualize them
>>> with
>>> names shown next to the object on the screen?
>>> Thanks.
>>>
>>> --
>>> Regards,
>>> Alexander
>>>
>>> _______________________________________________
>>> 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 ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
> --
> Regards,
> Alexander
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list