[Ctk-developers] ctkTransferFunctionWidget examples

Ricardo Ortiz ricardo.ortiz at kitware.com
Wed Nov 19 16:19:21 UTC 2014


To give a bit more context...

I am using ctkScalarsToColorsWidget in order to create a color histogram of
the displayed volume using a vtkColorTransferFunction.

The problem is that the widget is not displaying anything.
I am using the widget's view (ctkScalarsToColorsView) and
calling setColorTransferFunctionToPlots to update its color transfer
function (once I have updated it).

Is this the correct way to have the widget display the colors?

Thanks in advance,

/Ricardo



On Wed, Nov 19, 2014 at 10:19 AM, Ricardo Ortiz <ricardo.ortiz at kitware.com>
wrote:

> Hello folks,
>
> Does anyone knows of any examples that use transfer function widgets. I am
> trying to create a simple histogram widget (and being able to select points
> within the widget).
>
> Thanks in advance,
>
> /Ricardo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20141119/ffa44743/attachment.htm>


More information about the Ctk-developers mailing list