I have a vtk filter (vtkMassProperties) that calculates scalar values for surfaceArea and Volume. <br>I would like to display these values on Paraview's parameters widget after running the filter on a data set.<br><br>the clip and integrate attribute filters produce a similar desired display but the server manager and xml files for these do not reveal how this output is displayed.
<br>There are getSurfaceArea and GetVolume calls that are visible within the scope of the code, so i have set the appropriate command to such.<br><br>the filter still does not regester, so I have included my files...i have a feeling i may be on the wrong track
<br>any help is appreciated<br>shawn<br><br>MassProperties.xml<br>--------------------------------------<br><ModuleInterfaces><br> <ServerManagerFile name="MassProperties.pvsm"/><br> <Module name="MassProperties"
<br> root_name="MassProp"<br> replace_input="0"<br> menu_name="Mass Properties"<br> module_type="Filter"<br> long_help="MassProperties"
<br> short_help="MassProperties"><br> <Filter class="vtkMassProperties"><br> <Input name="Input"<br> class="vtkDataSet"><br> </Input>
<br> </Filter><br> <InputMenu trace_name="Input" property="Input"<br> id="im"<br> label="Input"<br> help="Set the triangulated input to analyzie."
<br> input_name="Input"/><br> <Documentation><br> SurfaceReconstruction<br> </Documentation><br> </Module><br></ModuleInterfaces><br><br><br>MassProperties.pvsm
<br>--------------------------------------------<br><ServerManagerConfiguration><br> <ProxyGroup name="filters"><br> <SourceProxy name="MassProperties"<br> class="vtkMassProperties">
<br> <InputProperty name="Input" command="SetInput"><br> <ProxyGroupDomain name="groups"><br> <Group name="sources"/>
<br> <Group name="filters"/><br> </ProxyGroupDomain><br> <DataTypeDomain name="input_type">
<br> <DataType value="vtkDataSet"/><br> </DataTypeDomain><br> </InputProperty><br> <DoubleVectorProperty name="SurfaceArea"
<br> command="GetSurfaceArea"<br> information_only="1"<br> </DoubleVectorProperty><br> <DoubleVectorProperty name="Volume"
<br> command="GetVolume"<br> information_only="1"<br> </DoubleVectorProperty><br> </SourceProxy><br> </ProxyGroup>
<br></ServerManagerConfiguration><br><br><br>