
11.3 SelectVolumeContextl Plug-in
6 5 3
loc-> deleteLastSphere();
updateViewport( );
void SelectVolumeContextl::completeAction()
{
SelectVolumeToolCmdl &cmd = *(SelectVolumeToolCmdl *)
newTool Command( ) ;
cmd.setPrevSel( prevSel );
cmd.setListAdjust( listAdjust );
unsigned int i;
for( i=O; i < spheres, length(); i++ )
cmd.addSphere( spheres[i] );
cmd. redolt( ) ;
cmd. final ize( ) ;
reset();
void SelectVolumeContextl::abortAction()
{
reset();
}
bool SelectVolumeContextl::processNumericalInput(
const MDoubleArray &values,
const MlntArray &flags,
bool isAbsolute )
{
unsigned int nValues = values.length()