Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-03 Thread Utkarsh Ayachit
Eric,

I've committed a fix to allow you to interact with the 3D windows but
nothing else while the dialog is open. There are still some kinks esp.
with the labels if you change the active view. I am going to iron
those out as well, but feel free to give it a try.

Utkarsh

On Tue, Mar 2, 2010 at 4:31 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Eric,

 It's that and also the fact the the the complexity if the dialog
 increases since then it needs to observer removal of source, track
 active view, track active view changes. What I was playing with is
 trying to enable only interaction with the view and nothing else,
 which would overcome these issues -- but I didn't have much success
 with that, hence decided to commit a pure modal dialog for now. I am
 going to give that another try soon.

 Utkarsh

 On Tue, Mar 2, 2010 at 2:23 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,

 That works great -- thanks!

 Is there an important reason for the Find Data dialog to be modal? I find 
 myself wanting to interact with the render window to see the positions of 
 the selected points, but I'm locked out, and then it's annoying because if I 
 close the dialog and then want to modify my query/selection, I have to 
 re-choose Point data and enter everything again. Is it just that if someone 
 went and changed the selection through another mechanism, then came back to 
 the dialog, the query wouldn't be valid any more?

 Thanks again,
 -Eric


 On Mar 2, 2010, at 2:08 PM, Utkarsh Ayachit wrote:

 Eric,

 I've committed a fix for this issue. Feel free to give it a try.


 /cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,v
 --  VTK/Graphics/vtkExtractSelectedIds.cxx
 new revision: 1.31; previous revision: 1.30


 Thanks
 Utkarsh

 On Mon, Mar 1, 2010 at 2:42 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Eric,

 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).

 Utkarsh

 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,

 That's very cool functionality.

 One part of the interface is either not very intuitive or I'm running 
 into a bug: The is or is one of operators don't seem to work with 
 anything other than ID or Global ID. If I try to use it, say, on an 
 integer point data attribute and do attribute is 0 I get this:

 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match

 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1

 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.

 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:

 Folks,

 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?

 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.

 Refer to following Wiki page for details.

 http://www.paraview.org/Wiki/Find_Data_using_Queries

 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.

 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers






___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-03 Thread Eric E. Monson
I think that's a great fix, Utkarsh!  It seems much more useful now since 
sometimes the selections are obscured by other objects and this allows me to go 
back and forth between the 3D window and the query dialog without having to 
re-enter the info.

Thanks a lot!
-Eric


On Mar 3, 2010, at 12:09 PM, Utkarsh Ayachit wrote:

 Eric,
 
 I've committed a fix to allow you to interact with the 3D windows but
 nothing else while the dialog is open. There are still some kinks esp.
 with the labels if you change the active view. I am going to iron
 those out as well, but feel free to give it a try.
 
 Utkarsh
 
 On Tue, Mar 2, 2010 at 4:31 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Eric,
 
 It's that and also the fact the the the complexity if the dialog
 increases since then it needs to observer removal of source, track
 active view, track active view changes. What I was playing with is
 trying to enable only interaction with the view and nothing else,
 which would overcome these issues -- but I didn't have much success
 with that, hence decided to commit a pure modal dialog for now. I am
 going to give that another try soon.
 
 Utkarsh
 
 On Tue, Mar 2, 2010 at 2:23 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,
 
 That works great -- thanks!
 
 Is there an important reason for the Find Data dialog to be modal? I find 
 myself wanting to interact with the render window to see the positions of 
 the selected points, but I'm locked out, and then it's annoying because if 
 I close the dialog and then want to modify my query/selection, I have to 
 re-choose Point data and enter everything again. Is it just that if someone 
 went and changed the selection through another mechanism, then came back to 
 the dialog, the query wouldn't be valid any more?
 
 Thanks again,
 -Eric
 
 
 On Mar 2, 2010, at 2:08 PM, Utkarsh Ayachit wrote:
 
 Eric,
 
 I've committed a fix for this issue. Feel free to give it a try.
 
 
 /cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,v
 --  VTK/Graphics/vtkExtractSelectedIds.cxx
 new revision: 1.31; previous revision: 1.30
 
 
 Thanks
 Utkarsh
 
 On Mon, Mar 1, 2010 at 2:42 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Eric,
 
 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).
 
 Utkarsh
 
 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu 
 wrote:
 Hey Utkarsh,
 
 That's very cool functionality.
 
 One part of the interface is either not very intuitive or I'm running 
 into a bug: The is or is one of operators don't seem to work with 
 anything other than ID or Global ID. If I try to use it, say, on an 
 integer point data attribute and do attribute is 0 I get this:
 
 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match
 
 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1
 
 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.
 
 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:
 
 Folks,
 
 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?
 
 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.
 
 Refer to following Wiki page for details.
 
 http://www.paraview.org/Wiki/Find_Data_using_Queries
 
 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.
 
 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers
 
 
 
 
 
 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 

Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-02 Thread Utkarsh Ayachit
Eric,

I've committed a fix for this issue. Feel free to give it a try.


/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,v
--  VTK/Graphics/vtkExtractSelectedIds.cxx
new revision: 1.31; previous revision: 1.30


Thanks
Utkarsh

On Mon, Mar 1, 2010 at 2:42 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Eric,

 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).

 Utkarsh

 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,

 That's very cool functionality.

 One part of the interface is either not very intuitive or I'm running into a 
 bug: The is or is one of operators don't seem to work with anything 
 other than ID or Global ID. If I try to use it, say, on an integer point 
 data attribute and do attribute is 0 I get this:

 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match

 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1

 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.

 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:

 Folks,

 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?

 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.

 Refer to following Wiki page for details.

 http://www.paraview.org/Wiki/Find_Data_using_Queries

 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.

 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers



___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-02 Thread Eric E. Monson
Hey Utkarsh,

That works great -- thanks!

Is there an important reason for the Find Data dialog to be modal? I find 
myself wanting to interact with the render window to see the positions of the 
selected points, but I'm locked out, and then it's annoying because if I close 
the dialog and then want to modify my query/selection, I have to re-choose 
Point data and enter everything again. Is it just that if someone went and 
changed the selection through another mechanism, then came back to the dialog, 
the query wouldn't be valid any more?

Thanks again,
-Eric


On Mar 2, 2010, at 2:08 PM, Utkarsh Ayachit wrote:

 Eric,
 
 I've committed a fix for this issue. Feel free to give it a try.
 
 
 /cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,v
 --  VTK/Graphics/vtkExtractSelectedIds.cxx
 new revision: 1.31; previous revision: 1.30
 
 
 Thanks
 Utkarsh
 
 On Mon, Mar 1, 2010 at 2:42 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Eric,
 
 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).
 
 Utkarsh
 
 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,
 
 That's very cool functionality.
 
 One part of the interface is either not very intuitive or I'm running into 
 a bug: The is or is one of operators don't seem to work with anything 
 other than ID or Global ID. If I try to use it, say, on an integer point 
 data attribute and do attribute is 0 I get this:
 
 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match
 
 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1
 
 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.
 
 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:
 
 Folks,
 
 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?
 
 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.
 
 Refer to following Wiki page for details.
 
 http://www.paraview.org/Wiki/Find_Data_using_Queries
 
 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.
 
 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers
 
 
 

___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-02 Thread Utkarsh Ayachit
Eric,

It's that and also the fact the the the complexity if the dialog
increases since then it needs to observer removal of source, track
active view, track active view changes. What I was playing with is
trying to enable only interaction with the view and nothing else,
which would overcome these issues -- but I didn't have much success
with that, hence decided to commit a pure modal dialog for now. I am
going to give that another try soon.

Utkarsh

On Tue, Mar 2, 2010 at 2:23 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,

 That works great -- thanks!

 Is there an important reason for the Find Data dialog to be modal? I find 
 myself wanting to interact with the render window to see the positions of the 
 selected points, but I'm locked out, and then it's annoying because if I 
 close the dialog and then want to modify my query/selection, I have to 
 re-choose Point data and enter everything again. Is it just that if someone 
 went and changed the selection through another mechanism, then came back to 
 the dialog, the query wouldn't be valid any more?

 Thanks again,
 -Eric


 On Mar 2, 2010, at 2:08 PM, Utkarsh Ayachit wrote:

 Eric,

 I've committed a fix for this issue. Feel free to give it a try.


 /cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,v
 --  VTK/Graphics/vtkExtractSelectedIds.cxx
 new revision: 1.31; previous revision: 1.30


 Thanks
 Utkarsh

 On Mon, Mar 1, 2010 at 2:42 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Eric,

 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).

 Utkarsh

 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,

 That's very cool functionality.

 One part of the interface is either not very intuitive or I'm running into 
 a bug: The is or is one of operators don't seem to work with anything 
 other than ID or Global ID. If I try to use it, say, on an integer point 
 data attribute and do attribute is 0 I get this:

 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match

 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1

 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.

 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:

 Folks,

 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?

 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.

 Refer to following Wiki page for details.

 http://www.paraview.org/Wiki/Find_Data_using_Queries

 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.

 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers





___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Eric E. Monson
Hey Utkarsh,

That's very cool functionality.

One part of the interface is either not very intuitive or I'm running into a 
bug: The is or is one of operators don't seem to work with anything other 
than ID or Global ID. If I try to use it, say, on an integer point data 
attribute and do attribute is 0 I get this:

Warning: In 
/Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
 line 666
vtkExtractSelectedIds (0x12c5f50e0): array types don't match

ERROR: In 
/Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
 line 757
vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: vtkInformation 
(0x12bd2f490)
Debug: Off
Modified Time: 2052406
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1

I get the same thing when I try to do that type of query on a float or idtype 
attribute, too.

So, is is supposed to work with integer and other types like the == 
operator, or just with ID and Global ID? 

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:

 Folks,
 
 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?
 
 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.
 
 Refer to following Wiki page for details.
 
 http://www.paraview.org/Wiki/Find_Data_using_Queries
 
 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.
 
 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers

___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Eric E. Monson
Thanks, Utkarsh -- I appreciate it.

With the way the existing query-based selection framework is implemented, is 
there any chance of incorporating the chaining of queries to select subsets of 
subsets? (With my users, I know this is one of the first things they're going 
to ask me when I show them the new functionality.)

I can add these as feature requests, but it would also be cool if there was a 
way to specify a precision for some types of selections, like within a certain 
error tolerance of a floating point value, or within a certain radius of a 
point coordinate. (I know the is between does the former, but for some 
applications the value +/- tolerance might be more natural to think about.)

Talk to you later,
-Eric


On Mar 1, 2010, at 2:42 PM, Utkarsh Ayachit wrote:

 Eric,
 
 Good catch. I must have missed this one. The problem seems to be that
 vtkExtractSelectedIds has a stupid limitation where it expects the
 array types to be same. I am going to look at fixing
 vtkExtractSelectedIds soon (give me a day or two).
 
 Utkarsh
 
 On Mon, Mar 1, 2010 at 2:07 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hey Utkarsh,
 
 That's very cool functionality.
 
 One part of the interface is either not very intuitive or I'm running into a 
 bug: The is or is one of operators don't seem to work with anything 
 other than ID or Global ID. If I try to use it, say, on an integer point 
 data attribute and do attribute is 0 I get this:
 
 Warning: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Graphics/vtkExtractSelectedIds.cxx,
  line 666
 vtkExtractSelectedIds (0x12c5f50e0): array types don't match
 
 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/Filtering/vtkExecutive.cxx,
  line 757
 vtkStreamingDemandDrivenPipeline (0x11f3d63b0): Algorithm 
 vtkExtractSelectedIds(0x12c5f50e0) returned failure for request: 
 vtkInformation (0x12bd2f490)
 Debug: Off
 Modified Time: 2052406
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FORWARD_DIRECTION: 0
 FROM_OUTPUT_PORT: 0
 ALGORITHM_AFTER_FORWARD: 1
 
 I get the same thing when I try to do that type of query on a float or 
 idtype attribute, too.
 
 So, is is supposed to work with integer and other types like the == 
 operator, or just with ID and Global ID?
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 On Feb 24, 2010, at 4:14 PM, Utkarsh Ayachit wrote:
 
 Folks,
 
 How many times have we wondered:
 * Where's the cell with DISPLACEMENT(Magnitude) == 12?
 * What's the point where the error condition is reached?
 * What cell is at the location (1,2 3)?
 
 We always knew selection mechanism in ParaView could do that, but we
 never found how to get it done -- the selection inspector was just too
 confusing. Fret no more: we've added new functionality to ParaView to
 help you locate the cells/points of interest.
 
 Refer to following Wiki page for details.
 
 http://www.paraview.org/Wiki/Find_Data_using_Queries
 
 This is currently in CVS (very new, so bug reports/feature requests
 are always welcome) and should make it into the forthcoming 3.8
 release.
 
 Utkarsh
 Find Data.png___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers
 
 

___
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


Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Utkarsh Ayachit
 With the way the existing query-based selection framework is implemented, is 
 there any chance of incorporating the chaining of queries to select subsets 
 of subsets? (With my users, I know this is one of the first things they're 
 going to ask me when I show them the new functionality.)

Not for 3.8, but going forward, we do plan to support use of boolean
and and or to create a long combined query that should address
your concern. In fact the GUI panel design already makes provisions
for that, the problem being underlying VTK framework doesn't have a
clean selection combination support and hence we've decided to defer
that until after 3.8.

 I can add these as feature requests, but it would also be cool if there was a 
 way to specify a precision for some types of selections, like within a 
 certain error tolerance of a floating point value, or within a certain radius 
 of a point coordinate. (I know the is between does the former, but for some 
 applications the value +/- tolerance might be more natural to think about.)

Feel free to add feature requests for these. We can definitely look into it.

Utkarsh
___
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