[vtkusers] Change the vtkColorTransferFunction of a vtkSmartVolumeMapper
Jose Miguel Espadero
josemiguel.espadero at urjc.es
Tue Oct 23 13:19:00 EDT 2012
Hi,
I have found a workaround to this problem, by removing the volume from the
renderer and
then adding it again. In the example I attached previously, you can do it
by adding the lines:
ren1->RemoveViewProp(volume);
ren1->AddViewProp(volume);
after the color function change done in TESTLINE2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121023/a803be62/attachment.htm>
More information about the vtkusers
mailing list