[Paraview] points and cells labels

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Dec 22 09:16:43 EST 2008


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