return true;
}
-
bool InteractorwxVtkBaseView::OnLeftDClick()
{
if (_box!=NULL)
{
_box->SetwxVtkBaseViewOutputs( _wxvtkbaseview );
_box->bbSignalOutputModification();
- return false;
+ return _box->bbGetInputWithEventPropagation();
} // if _vtkbaseview
} // if _box
return true;
bbSetOutputDirection(2);
bbSetOutputInterpolation(true);
bbSetOutputvtkRenderer(NULL);
- interactorwxvtkbaseview=NULL;
- interactorwxvtkbaseview2=NULL;
- interactorwxvtkbaseview3=NULL;
+ bbSetInputWithEventPropagation(false);
+ interactorwxvtkbaseview = NULL;
+ interactorwxvtkbaseview2 = NULL;
+ interactorwxvtkbaseview3 = NULL;
bbSetOutputInteractorwxVtkBaseView_model( interactorwxvtkbaseview );
bbSetOutputInteractorwxVtkBaseView_model1( interactorwxvtkbaseview1 );
bbSetOutputInteractorwxVtkBaseView_model2( interactorwxvtkbaseview2 );
// but this is where you should allocate the internal/output pointers
// if any
-// bbSetInputWithEventPropagation(false);
bbSetOutputInteractorwxVtkBaseView_model(NULL);
bbSetOutputInteractorwxVtkBaseView_model1(NULL);
bbSetOutputInteractorwxVtkBaseView_model2(NULL);
BBTK_DECLARE_INPUT(wxVtkBaseView2,wxVtkBaseView*);
BBTK_DECLARE_INPUT(wxVtkBaseView3,wxVtkBaseView*);
BBTK_DECLARE_INPUT(InteractionType,int);
-// BBTK_DECLARE_INPUT(WithEventPropagation,bool);
+ BBTK_DECLARE_INPUT(WithEventPropagation,bool);
BBTK_DECLARE_OUTPUT(vtkRenderer,vtkRenderer*);
BBTK_DECLARE_OUTPUT(Direction,int);
BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView2,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView3,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
BBTK_INPUT(wxVtkBaseView_Info,InteractionType,"(default 0) 0:Nothing 1:LeftButtonDown 2:LeftButtonUp 3:MouseMove 4:RightButtonDown 5:RightButtonUp 6:LeftDClick 7:RightDClick 8:DragLeft 9:DragRight 10:MiddleButtonDown 11:MiddleButtonUp 12:DragMiddle ",int,"");
-// BBTK_INPUT(wxVtkBaseView_Info,WithEventPropagation,"(default false) (In MouseMove envet) false:No Event propagation true:With event propagation",bool,"");
+ BBTK_INPUT(wxVtkBaseView_Info,WithEventPropagation,"(default false) (In LeftDClick envet) false:No Event propagation true:With event propagation",bool,"");
BBTK_OUTPUT(wxVtkBaseView_Info,Direction,"Direction -1=3D 0=YZ 1=XZ 2=XY(default)",int,"");
BBTK_OUTPUT(wxVtkBaseView_Info,vtkRenderer,"vtkRenderer default=NULL",vtkRenderer*,"");