<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi!<br>I扉e written a new filter for paraview and built it as a plugin. This works fine, apart the fact that my filter does not work correctly, i.e. paraview breaks down when I execute it. <br>Well, I扉e started debugging it using a std::ofstream, which writes some values of my filter in a logfile so I can check them for correctness (i.e. did I get the correct point data, do I set the output points correctly, etc. ) <br>Strangely, I noticed that paraview does not call my filter once, but twice when I press the apply button. According to the logfile, the first time my function is called, there are no problems, i.e. it gets to the end and returns, later it is called again and does not finish because an error occurs. <br>I wanted to find out if this behaviour, that a filter愀 Execute function is called twice is normal, and let the vtkShrinkFilter write something in my file when it is called. The vtkShrinkFilter is just called once, as I would expect. <br><br>Does anyone have an idea why my filter is called twice? If you need more information, just tell me, I惴 not sure how much or how little to write so you can understand my problem.. <br><br>thx,<br>NH<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>