Hi<br>
<br>
I am trying create a new vtkLineWidget, name vtkHMLineWidget.<br>
My initial idea is create a copy of vtkLineWidget and modify it to provide others funtionalities.<br>
<br>
I have rewrite the xml files and their are ok.<br>
Rewrite too the classes vtkSMHMLineWidget and vtkPVHMLineWidget.<br>
I can visualize the widgets and interact with them.<br>
But, in the interaction, I can only manipulate de widget on the viewer.
This is, I can select and move the widgets, and the new points are
writed in left interface. It is ok.<br>
Nevertheless, when I want change the point by the left interface,
occurs a beep system, a error is returned and none change is achieved.<br>
<br>
The error message:<br>
<br>
*******************************************************************************<br>
ErrorMessage<br>
# Error or warning: There was a VTK Error in file:
/home/workspace/HeMoLab/utilities/paraview-2.4.2/GUI/Client/vtkPVApplication.cxx
(1732)<br>
vtkPVApplication (0xb99bfe0): TclTk error: vtk bad argument, type conversion failed for object vtkTemp1022.<br>
Could not type convert vtkTemp1022 which is of type vtkPVHMLineWidget, to type vtkKWWidget.<br>
Object named: vtkTemp17, could not find requested method: TriggerCallback<br>
or the method was called with incorrect arguments.<br>
vtk bad argument, type conversion failed for object vtkTemp1022.<br>
Could not type convert vtkTemp1022 which is of type vtkPVHMLineWidget, to type vtkKWWidget.<br>
Object named: vtkTemp17, could not find requested method: TriggerCallback<br>
or the method was called with incorrect arguments.<br>
<br>
while executing<br>
"vtkTemp17 TriggerCallback vtkTemp1022"<br>
(command bound to event)<br>
ErrorMessage end<br>
*******************************************************************************<br>
<br>
I can't change none parameter in the left interface. If I only move the mouse on the left interface, this error is reported.<br>
<br>
Can anyone help me?<br>
<br>
Thanks<br>
-- <br>Diego Mazala<br><br>