[Paraview] Applying filters in sample app

Reuter, Michael A. reuterma at ornl.gov
Wed Mar 16 14:01:01 EDT 2011


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



More information about the ParaView mailing list