[Paraview] vtkBoxWidget2 RotationEnabledOff doesn't work

2011-08-25 Thread Jorge Gerardo Peña Pastor
Hi, I'm getting stuck with the following piece of code: vtkSMProxy *boxProxy = builder->createProxy("implicit_functions","Box",pqApplicationCore::instance()->getActiveServer(),"widgets"); QList widgets = pq3DWidget::createWidgets(refProxy, boxProxy); vtkBoxWidget2 *boxwidget = dynamic_cast(wid

Re: [Paraview] vtkBoxWidget2 RotationEnabledOff doesn't work

2011-08-29 Thread Eric E. Monson
Hello Jorge, It's been quite a while since I dealt with widgets in ParaView, but I just thought I'd let you know that it wasn't until very recently (sometime late in July 2011) that features like disabling Rotation was actually implemented in the BoxWidget2 in VTK. The API has indicated it was

Re: [Paraview] vtkBoxWidget2 RotationEnabledOff doesn't work

2011-08-30 Thread Jorge Peña
Hello Eric, I figured out after reading the source code. I couldn't find any use of these variables, but still I wasn't sure if there was some paraview/cmake magic xD. I'm using 3.8.1 and yesterday morning I finally decided to subclass vtkBoxRepresentation to vtkNonrotatingBoxRepresentation and