Here is my xml for the reader.
[code]
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy
name="MyReader"
class="vtkMyReader"
label="My Reader">
<StringVectorProperty
name="FileName"
command="SetFileName"
number_of_elements="1">
<FileListDomain name="files"/>
</StringVectorProperty>
<DoubleVectorProperty
name="TimestepValues"
repeatable="1"
information_only="1">
<TimeStepsInformationHelper/>
<Documentation>
Available timestep values.
</Documentation>
</DoubleVectorProperty>
<DoubleVectorProperty
name="TimeRange"
information_only="1">
<TimeRangeInformationHelper />
</DoubleVectorProperty>
<StringVectorProperty
name="SourceList"
command="GetSourceList"
information_only="1">
<StringArrayHelper />
</StringVectorProperty>
<StringVectorProperty
name="cbSource"
command="SetSource"
immediate_update="1"
number_of_elements="1"
number_of_elements_per_command="1">
<StringListDomain name="operation">
<RequiredProperties>
<Property name="SourceList"
function="ArraySelection"/>
</RequiredProperties>
</StringListDomain>
</StringVectorProperty>
<StringVectorProperty
name="SelectionList"
information_only="1">
<ArraySelectionInformationHelper
attribute_name="Selection" />
</StringVectorProperty>
<StringVectorProperty
name="lbSelection"
command="SetSelectionArrayStatus"
immediate_update="0"
number_of_elements="0"
repeat_command="1"
number_of_elements_per_command="2"
element_types="2 0"
information_property="SelectionList">
<ArraySelectionDomain name="array_list">
<RequiredProperties>
<Property name="SelectionList"
function="ArrayList"/>
</RequiredProperties>
</ArraySelectionDomain>
</StringVectorProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
[/code]
Yumin Yuan wrote:
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)
<brian.c.panneton....@us.army.mil> wrote:
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 Points: 159
I figured I would have at least a few filters. Or after I selected a few
points some filters would show up.
Utkarsh Ayachit wrote:
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)
<brian.c.panneton....@us.army.mil> wrote:
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
should. I can press the play button and watch everything move as it
should.
However, I am never able to filter any of the data even if I select
points.
Utkarsh Ayachit wrote:
"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)
<brian.c.panneton....@us.army.mil> wrote:
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
Utkarsh Ayachit wrote:
Did you hit "Apply"? What does the Information tab say?
Utkarsh
On Mon, May 9, 2011 at 12:41 PM, Brian C. Panneton (CONTR)
<brian.c.panneton....@us.army.mil> 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 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
steps?
Thanks,
Brian Panneton
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview