[vtkusers] How to adjust the grey level for Volume Rendering

Shawn Waldon swaldon at cs.unc.edu
Thu Jun 6 09:29:04 EDT 2013


Which of these do you mean by "grey range":

The color map and translucency mapping?

Then try looking at:
http://www.cmake.org/Wiki/VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper
http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html

The background color:
Use the setBackground()<http://www.vtk.org/doc/nightly/html/classvtkViewport.html#a85eaf3ee2b0e49423efbaa41de17112d>function
on your vtkRenderer.

I hope this helps,
Shawn


On Thu, Jun 6, 2013 at 9:14 AM, ljp19890525 <ljp19890525 at 163.com> wrote:

> **
>   Hi all,
> I have  done the Volume Rendering,and How to adjust the grey range  for my
> Volume Rendering?  What should I do next?
> heartfelt gratefulness!
> ------------------------------
> ljp19890525
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130606/09991c2a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 28405 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130606/09991c2a/attachment.jpeg>


More information about the vtkusers mailing list