[Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
I have created a reader which makes a vtkMultiBlockDataSet containing a vtkPolyData. It reads in 100 some points and plots lines between them. After I read them in, I don't have the option to use any filters on the data. Any idea why this is disabled? Could it be related to the data having time

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Utkarsh Ayachit
Did you hit "Apply"? What does the Information tab say? Utkarsh On Mon, May 9, 2011 at 12:41 PM, Brian C. Panneton (CONTR) wrote: > I have created a reader which makes a vtkMultiBlockDataSet containing a > vtkPolyData. It reads in 100 some points and plots lines between them. After > I read them

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
Once I hit apply, I see Data Hierarchy: Multi-block Dataset -> 0: Unstructured Grid, 1: NA with Unstructed Grid selected Statistics shows: Type: Unstructured Grid Num Cells: 159 Num Points: 159 Memory: 0.011mb My reader does have a custom accept. Could that be the issue? Thanks, Brian Panneton

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Utkarsh Ayachit
"Custom accept"? What's that? And yes, if you are doing some funky stuff to update the reader, it could explain why the GUI never realizes that the reader has been updated. On Mon, May 9, 2011 at 1:27 PM, Brian C. Panneton (CONTR) wrote: > Once I hit apply, I see Data Hierarchy: Multi-block Datas

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
The custom accept is on a custom panel. The custom accept just makes sure the GUI selections are sent to the vtkobjects. When apply is pressed on the panel, the data gets updated and plotted on the 3d graph (Vertices will be updated based on time). Thus I believe the GUI is being updated as it

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Utkarsh Ayachit
But you're saying the information tab doesn't show the data information correctly, right? That implies that some essential "notification" is missing. Hard to say which one without looking at the code, however. Utkarsh On Mon, May 9, 2011 at 3:38 PM, Brian C. Panneton (CONTR) wrote: > The custom

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
Everything in the information tab does look correct. (Sorry I forgot to mention that I switched from PolyData to UnstructuredGrid earlier). Basically everything works as it should, but I don't have the option to use the filters on the data. With: Type: Unstructured Grid Num Cells: 159 Num Poi

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Utkarsh Ayachit
Try selecting something else in the pipeline browser and then select the filter again. Does that seem to update the menus correctly? Utkarsh On Mon, May 9, 2011 at 5:20 PM, Brian C. Panneton (CONTR) wrote: > Everything in the information tab does look correct. (Sorry I forgot to > mention that I

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Yumin Yuan
Can you post your xml description for the reader? There may be something wrong in there. Yumin On Mon, May 9, 2011 at 5:20 PM, Brian C. Panneton (CONTR) wrote: > Everything in the information tab does look correct. (Sorry I forgot to > mention that I switched from PolyData to UnstructuredGrid ea

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
Yes, by selecting a different source, the filter menu is enabled. When I go back to my reader the filters are again disabled. So I feel like something is not being set correctly when I press accept(). Or maybe it has something to do with the fact that the data hierarchy is Multi-block Dataset

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
Here is my xml for the reader. [code] Available timestep values.

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Yumin Yuan
Try to add these to the end of MyReaderPanel::accept() this->proxy()->UpdateVTKObjects(); this->proxy()->UpdatePropertyInformation(); superclassOfMyReaderPanel::accept(); On Tue, May 10, 2011 at 9:11 AM, Brian C. Panneton (CONTR) wrote: > Yes, by selecting a different source, the f

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
Ah, adding those lines corrected the problem. Thank you so much. Brian Panneton Yumin Yuan wrote: Try to add these to the end of MyReaderPanel::accept() this->proxy()->UpdateVTKObjects(); this->proxy()->UpdatePropertyInformation(); superclassOfMyReaderPanel::accept(); On Tue, Ma