myDevice->Delete();
myTransform->Delete();
- SetSelectionTolerance();
-
myPointPicker->Delete();
myCellPicker->Delete();
{
myInteractor = theInteractor;
mySelector = theSelector;
+ SetSelectionTolerance();
}
/*!
void
SVTK_Renderer
::SetSelectionTolerance(const double& theTolNodes,
- const double& theTolCell)
+ const double& theTolCell,
+ const double& theTolObjects)
{
myPointPicker->SetTolerance( theTolNodes );
myCellPicker->SetTolerance( theTolCell );
myPointRectPicker->SetTolerance( theTolNodes );
myCellRectPicker->SetTolerance( theTolCell );
+
+ mySelector->SetTolerance( theTolObjects );
}
//! Setup requested tolerance for the picking
void
SetSelectionTolerance(const double& theTolNodes = 0.025,
- const double& theTolCell = 0.001);
+ const double& theTolCell = 0.001,
+ const double& theTolObjects = 0.025);
//----------------------------------------------------------------------------
//! Adjust all intenal actors (trihedron and graduated rules) to the scene