[Paraview] points and cells labels

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Dec 23 10:28:31 EST 2008


I don't see any way of doing it through a filter.

On Tue, Dec 23, 2008 at 10:08 AM, Nehme Bilal <nbilal at mirarco.org> wrote:
>
> Hi,
>
> Is this possible with C++ filter/reader or only in python/custom-app ?
>
> Nehme
>
> On Mon, 22 Dec 2008 09:32:51 -0500
>  "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>>
>> Nehme,
>>
>> Is this in a custom application/python or ParaView GUI. In
>> python/custom-app you can yourself create (representations,
>> DataLabelRepresentation) representation proxy and connect it to the
>> output of your filter. Then it will label all points/cells.
>>
>> Utkarsh
>>
>> On Mon, Dec 22, 2008 at 9:24 AM, Nehme Bilal <nbilal at mirarco.org> wrote:
>>>
>>> Thanks Utkarsh for your response.
>>>
>>> that's what I already did. I used empty string on points where I don't
>>> want
>>> to display properties. But the user must use the selection inspector to
>>> see
>>> the labels. Is there a way to do the selection from the filter code. It
>>> will
>>> be perfect if I can select the points I want from inside the filter code,
>>> or
>>> simply select all points will help also.
>>>
>>> Thanks
>>>
>>> On Mon, 22 Dec 2008 09:16:43 -0500
>>>  "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>>>>
>>>> One possible solution is to add the labels as a point data or cell
>>>> data array of type "vtkStringArray" and then use the selection
>>>> labeling mechanism to label with this string array.
>>>>
>>>> Utkarsh
>>>>
>>>> On Fri, Dec 19, 2008 at 6:04 PM, Nehme Bilal <nbilal at mirarco.org> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Is it possible to put labels on points or cells using a filter ?
>>>>>
>>>>> Inside my filter code, I want to do something like:
>>>>> myPoint->setLabel("50 metres");
>>>>>
>>>>> the label must look like the selection inspector label and not the
>>>>> vtkVectorText one.
>>>>>
>>>>> Is there a way to do that ?
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView at paraview.org
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>
>>>
>
>


More information about the ParaView mailing list