[Paraview] Problems with displaying labels floating over data points

2012-05-09 Thread Nenad Vujicic
Hello everyone, I have a set of points over which I would like to have floating labels rendered from values defined in per-point attribute array. If I select these points and turn on "Point Labels", on Selection Inspector docking panel, I get exactly what I need, but, I would like to have these la

Re: [Paraview] Problems with displaying labels floating over data points

2012-05-10 Thread Utkarsh Ayachit
Creating a DataLabelRepresentation should have worked. Here's a Python script that illustrates the same: from paraview.simple import * s = Sphere() r = Show() v = Render() l = servermanager.rendering.DataLabelRepresentation() l.Input = s l.PointLabelVisibility = 1 l.PointLabelMode = "IDs" v.Repres

Re: [Paraview] Problems with displaying labels floating over data points

2012-05-11 Thread Nenad Vujicic
Hello Utkarsh, Thank You very much for Your help! It works great when created as Python macro. I probably messed up something in my C++ code. Best regards, Nenad. On Thu, May 10, 2012 at 2:28 PM, Utkarsh Ayachit wrote: > Creating a DataLabelRepresentation should have worked. Here's a Python > s