Dear all,

I am trying to get the input of a mapper briefly as follows:

    *vtkMapper* mapper = actor->GetMapper();
    vtkDataSet* input = mapper->GetInput();
    int numPoints = input->GetNumberOfPoints();*

but faild.

I found that the numPoints is A (such as 400) when the representation of a
data is *Outline*, and B (such as 5500) when the representation of the same
data is *Surface*.

It seems that I only got part(s) of the whole data. What is wrong and how to
get the whole data?

Any advice would be appreciated!

Thanks!
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to