-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
}
//----------------------------------------------------------------------------
+ /* Unused
void CalculatePickPosition( vtkRenderer *theRenderer, double theSelectionX,
double theSelectionY, double theSelectionZ, double thePickPosition[3] )
{
}
}
}
+ */
}
vtkStandardNewMacro( SVTK_AreaPicker )
-;
SVTK_AreaPicker::SVTK_AreaPicker()
{
double aDX[3];
theRenderer->GetDisplayPoint( aDX );
- bool isInSelection;
+ bool isInSelection = false;
if ( theMode == RectangleMode ) isInSelection = aDX[0] >= mySelection[0]
&& aDX[0] <= mySelection[2] && aDX[1] >= mySelection[1]
&& aDX[1] <= mySelection[3];
double aDX[3];
theRenderer->GetDisplayPoint( aDX );
- bool isInSelection;
+ bool isInSelection = false;
if ( theMode == RectangleMode ) isInSelection = aDX[0] >= mySelection[0]
&& aDX[0] <= mySelection[2] && aDX[1] >= mySelection[1]
&& aDX[1] <= mySelection[3];