[Paraview] Fail to get the mapper of a volume actor!

2011-10-01 Thread 沈恩亚
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


[Paraview] Fail to get the mapper of a volume actor

2011-09-30 Thread 沈恩亚
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