[vtk-developers] undo / redo for vtkContourWidget +exposeSelectedNodesCursorShape

Dean Inglis dean.inglis at camris.ca
Wed Nov 25 15:44:31 EST 2009


Yumin - 

> I sure can add it once I get a chance.

great!

>Regarding the DeleteAction,
>how about Ctrl+Delete to delete the last selected Node (vs Ctrl+Click
>to set a selected node), and Ctrl+Shift+Delete to delete all selected
>nodes?

sounds perfectly reasonable to me.

Dean

On Wed, Nov 25, 2009 at 2:19 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
> Hi Yumin,
>
> as you already have implemented this functionality,
> will you commit it subject to internal approval?
> Also, if a user selects specific nodes, could
> the vtkContourWidget::DeleteAction(vtkAbstractWidget *w)
> be modified to loop over and delete selected nodes?
> Im not sure if it would save time over hovering and hitting the
> delete key one by one, but there may be scenarios where the user
> wants to select a number of nodes first to maintain a visual
> cue and then delete all at once.
>
> thanks,
> Dean
>
> -----Original Message-----
> From: vtk-developers-bounces at vtk.org
[mailto:vtk-developers-bounces at vtk.org]
> On Behalf Of Yumin Yuan
> Sent: November-25-09 2:05 PM
> To: dean.inglis at camris.ca
> Cc: VTK Developers
> Subject: Re: [vtk-developers] undo / redo for vtkContourWidget +
> exposeSelectedNodesCursorShape
>
> On Wed, Nov 25, 2009 at 1:33 PM, Dean Inglis <dean.inglis at sympatico.ca>
> wrote:
>
>>
>> Also, can the SelectedNodesCursorShape be exposed through the public API
>> of vtkOrientedGlyphContourRepresentation as is done for SetCursorShape
and
>> SetActiveCursorShape ?
>>
>
> I added the SelectedNodesCursorShape for an internal project at
> Kitware a couple month ago, and I don't see any reason why it can't be
> exposed.
>
> Yumin
>
> ~~~~~~~~~~~~~~~~
> Yumin Yuan
> R&D Engineer
> Kitware Inc.
> www.kitware.com
> Phone : (518) 881-4936
> email : yumin.yuan at kitware.com
> ~~~~~~~~~~~~~~~~
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
~~~~~~~~~~~~~~~~
Yumin Yuan
R&D Engineer
Kitware Inc.
www.kitware.com
Phone : (518) 881-4936
email : yumin.yuan at kitware.com
~~~~~~~~~~~~~~~~
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers




More information about the vtk-developers mailing list