Hi,<br><br>vtkProp class has methods like PickableOn( ), DragableOn( ).<br><br>The class hierarchy is vtkProp <-- vtkActor2D <--- vtkLegendBoxActor<br><br>I tried <br> this->LegendBoxActor->PickableOn();<br>
this->LegendBoxActor->DragableOn();<br><br>and added to my like this<br> this->GetNonCompositedRenderer()->AddViewProp(this->LegendBoxActor);<br><br>This also did not work. The actor is not pickable/ dragable. If an actor is added to the view, can it be dragable/pickable?? <br>
<br>Please suggest your ideas regarding this.<br><br>Thanks in advance,<br>Pandu.<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 4:03 PM, Pandu tech <span dir="ltr"><<a href="mailto:pandu4tech@gmail.com">pandu4tech@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>In MyCustomRenderView, I used vtkLegendBoxActor, to associate a symbol with a text string. <br><br>I added vtkLegendBoxActor to my view like this:<br>
<br>this->GetNonCompositedRenderer()->AddActor(this->LegendBoxActor);<br>
<br>I need to make this actor Dragable/Movable. I tried this->LegendBoxActor->SetDragable(1); but this is not working.<br><br>Could you please suggest how to make my vtkLegendBoxActor movable/dragable??<br><br>Thanks for your help in advance.<br>
<br>Regards,<br>Pandu.<br>
</blockquote></div><br>