// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnMouseMove()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnMouseMove()
{
_wxVTKiren= _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor();
_wxVTKiren->GetEventPosition( X , Y );
_wxVTKiren= _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->GetWxVTKRenderWindowInteractor();
_wxVTKiren->GetEventPosition( X , Y );
if ( (_vtkInteractorStyleBaseView->GetInteractor()->GetControlKey()==0) &&
(_vtkInteractorStyleBaseView->GetInteractor()->GetShiftKey()==0) ) {
MouseMove(X,Y);
if ( (_vtkInteractorStyleBaseView->GetInteractor()->GetControlKey()==0) &&
(_vtkInteractorStyleBaseView->GetInteractor()->GetShiftKey()==0) ) {
MouseMove(X,Y);
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonDown()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonDown()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonUp()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonUp()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftDClick()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftDClick()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonDown()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonDown()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonUp()
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonUp()
{
GetManualContourModel()->AddPoint(xx,yy,zz);
GetManualViewBaseContour()->AddPoint();
// GetManualViewBaseContour()->UpdateViewPoint(id);
GetManualContourModel()->AddPoint(xx,yy,zz);
GetManualViewBaseContour()->AddPoint();
// GetManualViewBaseContour()->UpdateViewPoint(id);