[Paraview] vtkImageMarchingCubes as PlugIn XML-File: Problem with SetValue(int i, double value)

Boettcher, Prof. Dr. Peter Boettcher at kleintierklinik.uni-leipzig.de
Tue Mar 27 17:38:36 EDT 2012


Unfortunately that doesn't work for me. I do not get a window where I could enter my contour value. Is there a documentation available regarding the XML syntax used for ParaView plugins? So I could look it up.

Thanks - Peter



-----Ursprüngliche Nachricht-----
Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Gesendet: Dienstag, 27. März 2012 22:50
An: Boettcher, Prof. Dr. Peter
Cc: paraview at paraview.org
Betreff: Re: [Paraview] vtkImageMarchingCubes as PlugIn XML-File: Problem with SetValue(int i, double value)

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