[Insight-users] paraview calculator

Stephen Yip stephen.fyip1 at gmail.com
Mon Apr 5 18:18:01 EDT 2010


Hi,

I have the x and y vector components store in a mhd file. I'd like to create
a 3d vector by using the calculator filter.

1. How do I find out the names of my x and y components?
2. I attempted to create the 3d vector by entering
Vector_x*iHat+Vector_y*jHat+0*kHat
or Vector_1*iHat+Vector_2*jHat+0*kHat. I then get the following error.

Thank you,
Stephen

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07840DE8): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07840DE8): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (050FE4C8): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07840DE8): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07595D08): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07595D08): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07595D08): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07595D08): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077B3B28): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07595D08): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07811978): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07811978): An error occured when parsing the
calculator's function. See previous errors.

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1505

vtkFunctionParser (077CDF80): Syntax error: expecting a variable name; see
position 0

Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 398

vtkArrayCalculator (07811978): An error occured when parsing the
calculator's function. See previous errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100405/c3f4acf3/attachment.htm>


More information about the Insight-users mailing list