Dear all,<br><br>I am trying to get the input of a mapper briefly as follows:<br><br> <i>vtkMapper* mapper = actor->GetMapper();<br> vtkDataSet* input = mapper->GetInput();<br> int numPoints = input->GetNumberOfPoints();</i><br>
<br>but faild.<br><br>I found that the numPoints is A (such as 400) when the representation of a data is <b>Outline</b>, and B (such as 5500) when the representation of the same data is <b>Surface</b>.<br><br>It seems that I only got part(s) of the whole data. What is wrong and how to get the whole data? <br>
<br>Any advice would be appreciated! <br><br>Thanks!