[Paraview] Applying filters in sample app
Reuter, Michael A.
reuterma at ornl.gov
Tue Mar 29 12:06:49 EDT 2011
Thanks for the tip. I got it to connect and work.
Cheers,
M
On 3/29/11 10:56 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>The plane widget has a "setVisiblity" slot, you can connect the
>checkbox to that slot.
>
>Utkarsh
>
>On Tue, Mar 29, 2011 at 10:16 AM, Reuter, Michael A. <reuterma at ornl.gov>
>wrote:
>> Hi Utkarsh,
>>
>> Thank you for the code. It works fine and gets me almost to where I
>>want.
>> When I use the implicit plane with the cut filter, I'm pulling up an
>> object inspector widget for it. Is there a way I can attach the
>>visibility
>> of the plane to the check box in the inspector?
>>
>> Cheers,
>> M
>>
>>
>>
>> On 3/25/11 7:54 PM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
>>wrote:
>>
>>>Guys,
>>>
>>>Attached is a patch that demonstrates the use of 3D widgets for
>>>manipulating clip plane.
>>>
>>>Utkarsh
>>>
>>>On Fri, Mar 25, 2011 at 8:06 AM, <owen.arnold at stfc.ac.uk> wrote:
>>>> Hi Utkarsh,
>>>>
>>>> I'd also like to see a coded example of this in action. If you have
>>>>something, could you post it to the list.
>>>>
>>>> Many thanks,
>>>>
>>>> Owen.
>>>>
>>>> -----Original Message-----
>>>> From: paraview-bounces at paraview.org
>>>>[mailto:paraview-bounces at paraview.org] On Behalf Of Reuter, Michael A.
>>>> Sent: 21 March 2011 14:08
>>>> To: Utkarsh Ayachit
>>>> Cc: paraview at paraview.org
>>>> Subject: Re: [Paraview] Applying filters in sample app
>>>>
>>>> Hi Utkarsh,
>>>>
>>>> Thanks for the response. It would be greatly appreciated if you have
>>>>the
>>>> time to provide some code for setting up the implicit plane. I have
>>>> continued to try and diagnose things myself without much luck.
>>>>
>>>> Thanks,
>>>> M
>>>>
>>>> On 3/18/11 10:49 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
>>>>wrote:
>>>>
>>>>
>>>>>Michael,
>>>>>
>>>>>The interactive-widgets such as implicit plane widget are created by
>>>>>the "Properties" panel to help user change some of the properties for
>>>>>the filter. So yes, if your example, you will not see the implicit
>>>>>plane widget at all. You'll have to manually create it and set it up
>>>>>to update the properties of the "clip" filter as the user moves it. It
>>>>>can be a bit tricky. But maybe I can hack up some code in your example
>>>>>to show the implicit plane if you'd like.
>>>>>
>>>>>Utkarsh
>>>>>
>>>>>On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A.
>>>>><reuterma at ornl.gov>
>>>>>wrote:
>>>>>> Hi Utkarsh,
>>>>>>
>>>>>> Thanks, that did the trick. I'm also trying to get an
>>>>>>ImplicitPlaneWidget
>>>>>> (IPW) up at the same time. Is the default behavior for the IPW to be
>>>>>> invisible?
>>>>>>
>>>>>> M
>>>>>>
>>>>>>
>>>>>> On 3/15/11 3:10 PM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
>>>>>>wrote:
>>>>>>
>>>>>>>You're simply missing a line to hide the previous representation. I
>>>>>>>just added in mpMainWindow::onCutButtonClicked before the render()
>>>>>>>call and the slice shows up.
>>>>>>>
>>>>>>> this->ActiveSourceRepr->setVisible(false);
>>>>>>>
>>>>>>>Utkarsh
>>>>>>>
>>>>>>>On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A.
>>>>>>><reuterma at ornl.gov>
>>>>>>>wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm working on a sample application and I've been trying to make a
>>>>>>>>cut
>>>>>>>>appear on the data that is being viewed. I've followed the
>>>>>>>>methodology
>>>>>>>>used in the QuickContour application in my application, but the cut
>>>>>>>>never appears on the data view. I'm using the data file associated
>>>>>>>>with
>>>>>>>>the QuickContour application to test my application. I'm guessing
>>>>>>>>I'm
>>>>>>>>just not understanding the required setup logic for behaviors and
>>>>>>>>reactions in order to get the cut to apply. If anyone can see where
>>>>>>>>I'm
>>>>>>>>being dumb, my code is located here:
>>>>>>>>https://github.com/mareuter/PVMockupGui. The cut is being applied
>>>>>>>>in
>>>>>>>>the
>>>>>>>>mpMainWindow class in mpMainWindow::onCutButtonClicked. I am
>>>>>>>>currently
>>>>>>>>compiling against the ParaView git master on Ubuntu.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> M
>>>>>>>>
>>>>>>>>
>>>>>>>> Dr. Michael Reuter
>>>>>>>>
>>>>>>>> Scientific Data Analysis Group
>>>>>>>>
>>>>>>>> Neutron Scattering Science Division
>>>>>>>>
>>>>>>>> Oak Ridge National Laboratory
>>>>>>>>
>>>>>>>>
>>>>>>>> Office: 1-865-241-7216
>>>>>>>>
>>>>>>>> Fax: 1-865-574-6080
>>>>>>>>
>>>>>>>> Email: reuterma at ornl.gov
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>> --
>>>> Scanned by iCritical.
>>>>
>>
>>
More information about the ParaView
mailing list