[Paraview] Widgets and RequestData

Christoffer Green christoffer.green at gmail.com
Thu Aug 25 10:31:20 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110825/34295b18/attachment.htm>


More information about the ParaView mailing list