Re: [Paraview] points and cells labels

2008-12-22 Thread Utkarsh Ayachit
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 nbi...@mirarco.org wrote: Hello, Is it possible to put

Re: [Paraview] points and cells labels

2008-12-22 Thread Nehme Bilal
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

Re: [Paraview] points and cells labels

2008-12-22 Thread Utkarsh Ayachit
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,

Re: [Paraview] points and cells labels

2008-12-22 Thread Nehme Bilal
Sorry I forgot to mention that this is a C++ Paraview GUI filter... Nehme On Mon, 22 Dec 2008 09:32:51 -0500 Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Nehme, Is this in a custom application/python or ParaView GUI. In python/custom-app you can yourself create (representations,

Re: [Paraview] Object Panel - Model Communication

2008-12-22 Thread Utkarsh Ayachit
Rafael, You are correct. DataSetAttributesInformation cannot provide you with the actual data. I guess you will have fetch the whole data client. Utkarsh On Thu, Dec 18, 2008 at 11:04 AM, Rafael March rafaelmar...@yahoo.com wrote: Utkarsh, actually I would like to get vtkPointData from

Re: [Paraview] Plugin Writing

2008-12-22 Thread Michael Jackson
That code is in the gui xml file that your plugin provides I believe. Something like: ParaViewFilters Filter name=myGreatFilter / /ParaViewFilters _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software

Re: [Paraview] High Quality Triangulation

2008-12-22 Thread Moreland, Kenneth
Could you explain what you mean by bad triangulation? I looked at the results with the cylinder and the box sources, and the triangulation looks perfect to me: Each polygon is broken up evenly into smaller triangles. Were you expecting some other result? -Ken On 12/19/08 8:34 AM, Chaman

Re: [Paraview] Random Colormap

2008-12-22 Thread Moreland, Kenneth
There is no easy way to create a random color map in ParaView, but it is not hard to make a random scalar field. For example, you could use the Random Vectors filter. -Ken On 12/20/08 10:49 AM, Chaman Singh Verma csv...@gmail.com wrote: Hello, I have one specific requirement and hope

Re: [Paraview] Creating Plugins

2008-12-22 Thread Moreland, Kenneth
Benjamin, I don't think any of the developers are aware of bug that causes the VTK wrapping parser to hang. Could you send us a piece of code that demonstrates the problem? -Ken On 12/19/08 6:33 AM, Benjamin Schindler bschind...@student.ethz.ch wrote: I just renamed the baseclass now (It

[Paraview] ClientDeliveryRepresentation

2008-12-22 Thread jonathan grimm
How does the ClientDeliveryRepresentation choose what data type to send? I have two pipelines: Reader-ImageReslice-ClientDeliveryRepresentation-ImagePlaneWidget and Reader-ClientDeliveryRepresentation-hacked ImagePlaneWidget that allows pipeline inputs The first works beautifully, while the

Re: [Paraview] ClientDeliveryRepresentation

2008-12-22 Thread Utkarsh Ayachit
Look at vtkSMClientDeliveryStrategyProxy::UpdatePipelineInternal() that's where the data type is set on the data-transfer filter. BTW, ClientDeliverRepresentation cannot deliver 3D image data. It can only deliver 2D slices. Utkarsh On Mon, Dec 22, 2008 at 12:17 PM, jonathan grimm