[Paraview] vtkImageMarchingCubes as PlugIn XML-File: Problem with SetValue(int i, double value)
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Mar 27 16:50:13 EDT 2012
You need something list this:
<DoubleVectorProperty
name="ContourValues"
command="SetValue"
repeat_command="1"
set_number_command="SetNumberOfContours"
number_of_elements_per_command="1"
use_index="1"
label="Slice Offset Values">
The key attributes you're missing are repeat_command,
set_number_command, and use_index.
Utkarsh
On Tue, Mar 27, 2012 at 4:26 PM, Boettcher, Prof. Dr. Peter
<Boettcher at kleintierklinik.uni-leipzig.de> wrote:
> Dear All
>
>
>
> I would like to make the vtkImageMarchingCubes filter visible in ParaView.
> However I struggle when writing the GUI XML-File implementing the SetValue()
> parameter. I didn’t find an example of an XML-File showing the syntax of a
> composed command: SetValue(int i, double value).
>
>
>
> <DoubleVectorProperty
>
> name="Value"
>
> label="Value for Isosurface"
>
> command="SetValue"
>
> number_of_elements="1"
>
> animateable="1"
>
> default_values="1500.5" >
>
> </DoubleVectorProperty>
>
>
>
>
>
> Any help would be highly appreciated.
>
>
>
> Peter.
>
>
> _______________________________________________
> 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
>
More information about the ParaView
mailing list