[Paraview] Paraview XML problem
Vines, John (Civ, ARL/CISD)
jvines at arl.army.mil
Fri Dec 2 11:35:35 EST 2005
All,
I am using Paraview 2.5, CVS'd version, and am having trouble
with XML. I have created a test filter which creates a disk source.
Everything seems to import correctly, no complaints from Paraview.
The problem is Paraview doesn't change the radial resolution
based on changes made in the user interface.
Below are the files I've created:
file "DiskSource.pvsm" :
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="DiskSource" class="vtkDiskSource">
<DoubleVectorProperty
name="InnerRadius"
command="SetInnerRadius"
number_of_elements="1"
animateable="1"
default_values="0.25">
<DoubleRangeDomain name="range" min="0"/>
</DoubleVectorProperty>
<IntVectorProperty
name="RadialResolution"
command="SetRadialResolution"
number_of_elements="1"
default_values="6">
<IntRangeDomain name="range" min="2" max="512"/>
</IntVectorProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
file "DiskSource.xml" :
<ModuleInterface>
<ServerManagerFile name="DiskSource.pvsm"/>
<Module name="DiskSource" menu_name="MyDisk"
root_name="MyDisk" module_type="Source"
long_help="not here..." short_help="not here either..." >
<Source class="vtkDiskSource"/>
<ThumbWheel label="Inner Radius"
trace_name="InnerRadius" property="InnerRadius"
resolution="0.01" minimum_value="0" help="still nothing..." />
<Scale label="Radial Resolution"
trace_name="RadialResolution" property="RadialResolution"
resolution="1" display_entry="1" display_value="0"
entry_and_label_on_top="1" help="You just do not get it..." />
</Module>
</ModuleInterface>
Thanks in advance,
John Vines
Army Research Laboratory
Computational Sciences and Engineering Branch
Scientific Visualization Team
410-278-9150/1643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20051202/ef24bc6f/attachment.html
More information about the ParaView
mailing list