Dear all,<br><br><br>I am new to VTK and for some time I have been trying to get an answer on the <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a> mailing list to some of my (many) questions related to VTK.<br>
<br>I am trying to write a VTK class for implementing multidimensional transfer functions (color and opacity alike). VTK&#39;s vtkColorTransferFunction only works with scalar data, and vtkPiecewiseFunction works on opacity, as I could understand. There is another toolkit, MITK, that claims to have multidimensional transfer functions implemented, but their documentation says that the multidimensional transfer function is working for opacity only. Could someone comment on the use of multidimensional transfer functions in MITK? Are they really working only for opacity?<br>

<br>As VTK is concerned, I would like to know how to write a filter that takes multiple inputs (from files) given by vtkStructuredPointsReader::GetOutputPort(), and outputs color and opacity values. The inputs are defined over the same domain and vtkImageData grid, but instead of one value at each location there can be N such values. <br>

Should I subclass from vtkFixedPointVolumeRayCastMapper? Or should I rather subclass from vtkAlgorithm? Could anyone who has experience with extending VTK help me?<br><br>Many thanks,<br>Adrian<br><br clear="all"><br>-- <br>
---------------------------------------------------<br>Adrian Albert<br>School of Engineering and Science<br>Jacobs University Bremen<br>Germany<br>Tel.: 00494212003258