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. <reute...@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.ayac...@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. <reute...@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: reute...@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