Hi All, I used the codes following to get the mapper of a volume actor, but I get NULL while *volume *is not NULL.
* vtkAbstractMapper3D *mapper = NULL; if ( (volume = vtkVolume::SafeDownCast(propCandidate)) != NULL ) mapper = volume->GetMapper(); * Why? Thanks for any advice! Best wishes!
_______________________________________________ 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