Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Emit signals from ctkTransferFunctionItem for mouse events #888

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

Sunderlandkyl
Copy link
Contributor

The signals emitted by the ctkTransferFunctionItem provide two values, the function position (x and y values of the function at the location under the mouse), and the button that was pressed.
Additional changes include the wrapping of additional methods in ctkVTKPiecewiseFunction and ctkVTKColorTransferFunction, as well as a function to set the log mode in ctkTransferFunctionBarsItem.

Libs/Visualization/VTK/Widgets/ctkVTKPiecewiseFunction.h Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkTransferFunctionItem.cpp Outdated Show resolved Hide resolved
@Sunderlandkyl Sunderlandkyl force-pushed the transfer_function_changes branch from 1829d25 to e94900e Compare October 22, 2019 23:27
Additional changes include the wrapping of additional methods in ctkVTKPiecewiseFunction, ctkVTKColorTransferFunction, ctkTransferFunctionItem, ctkTransferFunction, and ctkTransferFunctionRepresentation.
@Sunderlandkyl Sunderlandkyl force-pushed the transfer_function_changes branch from e94900e to a82823f Compare October 23, 2019 19:36
@lassoan lassoan merged commit f71df20 into commontk:master Oct 23, 2019
@lassoan
Copy link
Member

lassoan commented Oct 23, 2019

Thank you! This looks good now.

@Sunderlandkyl Sunderlandkyl deleted the transfer_function_changes branch October 24, 2019 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants