// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonDown()
{
- printf("EED %p manualContourBaseControler::OnLeftButtonDown \n",this);
SetKeyBoardMoving( false );
if ( _vtkInteractorStyleBaseView!=NULL )
{
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftButtonUp()
{
- printf("EED %p manualContourBaseControler::OnLeftButtonUp \n",this);
if ( _vtkInteractorStyleBaseView!=NULL )
{
int X,Y;
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnLeftDClick()
{
- printf("EED %p manualContourBaseControler::OnLeftDClick \n",this);
if ( _vtkInteractorStyleBaseView!=NULL )
{
int X,Y;
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonDown()
{
- printf("EED %p manualContourBaseControler::OnRightButtonDown \n",this);
if( _vtkInteractorStyleBaseView!= NULL )
{
int X,Y;
// ----------------------------------------------------------------------------
bool manualContourBaseControler::OnRightButtonUp()
{
- printf("EED %p manualContourBaseControler::OnRightButtonUp \n",this);
return true;
}
// ----------------------------------------------------------------------------
double yy = y;
double zz = z;
-
GetManualViewBaseContour()->TransfromCoordViewWorld(xx,yy,zz);
-printf("EED %p manualContourBaseControler::AddPoint \n", this);
GetManualContourModel()->AddPoint(xx,yy,zz);
GetManualViewBaseContour()->AddPoint();
// GetManualViewBaseContour()->UpdateViewPoint(id);