I have now figured out the problem, the unsigned long GetMTime() function needs to be overloaded to report a new modified time (this updated time is in the widget/vtkImplicitFunction). When the filter has a new modified time then RequestData gets called.
This message written so that if anybody else ever has this problem they might have an easier time with it. BR/ Christoffer On Thu, Aug 25, 2011 at 4:31 PM, Christoffer Green < [email protected]> wrote: > Hello > > I have created a vtk filter that has an implicit widget attached, the > widget shows up in the 3d view but > it never updates the filter (the RequestData method is never executed in > the filter after interacting with the widget). If the current > frame is changed the RequestData method does execute with the updated > values from the widget though. Is there > something special that needs to be done with the widget so that this > happens? > > Here is the xml: > > <SourceProxy name="FourFlowVolumeTraceNormal" > class="vtkFourFlowVolumeTrace" label="VolumeTrace"> > > <InputProperty name="Input" command="SetInputConnection"> > <ProxyGroupDomain name="groups"> > <Group name="sources"/> > <Group name="filters"/> > </ProxyGroupDomain> > <DataTypeDomain name="input_type"> > <DataType value="vtkDataSet"/> > </DataTypeDomain> > </InputProperty> > > <ProxyProperty name="ClipFunction" command="SetClipFunction" > label="Clip Type"> > <ProxyGroupDomain name="groups"> > <Group name="implicit_functions"/> > </ProxyGroupDomain> > <ProxyListDomain name="proxy_list"> > <Proxy group="implicit_functions" name="Plane" /> > <Proxy group="implicit_functions" name="Box" /> > <Proxy group="implicit_functions" name="Sphere" /> > </ProxyListDomain> > </ProxyProperty> > > <DoubleVectorProperty > name="ISOValue" > command="SetISOValue" > number_of_elements="1" > animateable="0" > default_values="0.02" > information_property="ISOValueInfo">> > </DoubleVectorProperty> > > <DoubleVectorProperty > name="ISOValueInfo" > command="GetISOValue" > information_only="1"> > <SimpleDoubleInformationHelper/> > </DoubleVectorProperty> > > </SourceProxy> > > Thanks > BR/ Christoffer >
_______________________________________________ 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
