[Paraview-developers] Segmentation fault
Girish Ramesh
rgirish28 at gmail.com
Tue Aug 26 09:41:28 EDT 2014
Hi,
I am writing my own plugin but each time I try to add another check box,
the plugin suddenly segfaults. I have no idea why. The XML and C++ code are
attached.
XML:
<IntVectorProperty
name="FieldLoadStatus"
command="SetFieldLoadStatus"
number_of_elements="1"
default_values="0"
panel_visibility="default" >
<BooleanDomain name="bool"/>
<Documentation>
The values of this property sets the run number.
</Documentation>
</IntVectorProperty>
C++:
public:
vtkTypeMacro(ReadUALGrid, vtkUnstructuredGridAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
static ReadUALGrid *New();
vtkGetMacro(Shot,int)
vtkSetMacro(Shot,int);
vtkGetMacro(Run,int);
vtkSetMacro(Run,int);
vtkGetMacro(RefRun,int);
vtkSetMacro(RefRun,int);
vtkGetMacro(CPOLoad,int);
vtkSetMacro(CPOLoad,int);
vtkGetMacro(FieldLoadStatus,int);
vtkSetMacro(FieldLoadStatus,int);
protected:
ReadUALGrid();
~ReadUALGrid(){}
int Shot;
int Run;
int RefRun;
int CPOLoad;
int FieldLoadStatus;
I have no idea why because it worked perfectly for other check boxes. Thank
you.
Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140826/b0842417/attachment.html>
More information about the Paraview-developers
mailing list