[Paraview] custom xml for vtkContourFilter
Berk Geveci
berk . geveci at kitware . com
29 Oct 2003 09:46:04 -0500
There is a special widget for setting contour values. It is
called ContourEntry. Here is how it is used in the default
contour module:
<ContourEntry label="Contour Values" trace_name="Contour Values"
help="List of current contour values. "/>
(1.0.3 release, this changed slightly in the development version)
The VectorEntry widget requires having a Set/Get pair and SetXXX
has to to take only one argument.
-Berk
On Wed, 2003-10-29 at 09:07, Axel Steuwer wrote:
> Hi,
>
> when writing the definition of a custom vtk filter in XML
> for single int or float I use for example
>
> <VectorEntry variable="NeighborhoodSize" trace_name="NeighborhoodSize"
> type="float" help="NeighborhoodSize" default_value="10" data_range="0
> 40.0"/>
>
> for the vtkSurfaceReconstructionFilter.
>
> However, if I want to follow this up with the vtkContourFilter as in
> Examples/Modelling/Python/surfaceReconstruction.py to see
> the surface using SetValue(0, 0.), what do I have to write in the XML
> to set the values of "void SetValue (int i, float value)"
> Is it a mix of types?
>
> Axel
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview . org
> http://www . paraview . org/mailman/listinfo/paraview