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 utkarsh.ayac...@kitware.com wrote: Creating a DataLabelRepresentation should have

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