[vtk-developers] [VTK 0012851]: Expose CellLocators in widgets

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 9 11:10:23 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12851 
====================================================================== 
Reported By:                Bryn Lloyd
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12851
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       feature 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-01-09 11:10 EST
Last Modified:              2012-01-09 11:10 EST
====================================================================== 
Summary:                    Expose CellLocators in widgets
Description: 
It would be nice if the cell locator(s) were accessible from the widgets (e.g.
vtkPlaneWidget, vtkBoxWidget, vtkSplineWidget , etc.).

This would allow to observe 'PickEvents' in codes using these widgets. I would
like to attach a custom callback to these events, but cannot obtain a reference
to the locator, which invokes them.

A simple API change would include the functions:

	// Description:
	// Get picker used for handles, e.g. if you want to observe events from
	// this picker
	vtkGetObjectMacro(HandlePicker,vtkCellPicker);

	// Description:
	// Get picker used for handles (See GetHandlePicker() ).
	vtkGetObjectMacro(ControlPicker,vtkCellPicker);


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-01-09 11:10 Bryn Lloyd     New Issue                                    
======================================================================




More information about the vtk-developers mailing list