Hi,
<br/><br/>thank you for this answer.
<br/><br/>Actually I was writing it correctly std::endl.
<br/>I tried flushing but it didn’t change anything.
<br/>The print I had added was in
<br/><br/>void vtkLineSource::SetPoint1(float point1f[3])
<br/><br/>I then added another print in
<br/><br/>int vtkLineSource::RequestData(
<br/> vtkInformation *vtkNotUsed(request),
<br/> vtkInformationVector **vtkNotUsed(inputVector),
<br/> vtkInformationVector *outputVector)
<br/><br/>And this one works.
<br/>So I guess the code does not call
<br/><br/>void vtkLineSource::SetPoint1(float point1f[3])
<br/><br/>at all.
<br/><br/>But then what does it call when I write :
<br/><br/> // Create a line
<br/> vtkSmartPointer<vtkLineSource> lineSource =
<br/> vtkSmartPointer<vtkLineSource>::New();
<br/> lineSource->SetPoint1(1.0, 0.0, 0.0);
<br/> lineSource->SetPoint2(0.0, 1.0, 0.0);
<br/><br/>in my code ? Is it because of the smart pointer ?
<br/><br/>Cheers,
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Best-way-to-add-a-print-in-a-distribution-file-tp5743112p5743144.html">Re: Best way to add a print in a distribution file ?</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>