[vtkusers] Switch off bounding box

Paul Tait - OPES Paul at opes.com.au
Fri Jul 28 00:58:03 EDT 2006


In my mainline I do this

	pickCmd = vtkCallbackCommand::New();
	pickCmd->SetCallback(Fpm3D::PickCells);
	pickCmd->SetClientData(this);
	this->Interactor->AddObserver(vtkCommand::EndPickEvent, pickCmd);

In my pick function I do this

// static
void Fpm3D::PickCells(vtkObject *caller, unsigned long eid, void
*clientdata, void *calldata)

	// switch off bounding box
	vtkInteractorStyle *ptr;
	if (ptr =
vtkInteractorStyle::SafeDownCast(fpm3d->Interactor->GetInteractorStyle())) {
		ptr->HighlightProp(NULL);
	}

BUT the bounding box stays on. Its been asked many times before in the NG
why doesn't it work?

Thanks Paul Tait

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27/07/2006
 




More information about the vtkusers mailing list