[Paraview] Sphere Interactor in a c++ plugin
Thomas Félix
Thomas.Felix at inrialpes.fr
Thu Mar 13 05:31:50 EDT 2008
As I need a sphere widget for a short time, I started to write a
dedicated plug in, base on the pqImplicitPlaneWidget.
I wrote both client and server side code and related xml files too. But
I now have a problem when I try to instanciate my
"pqImplicitSphereWidget" (using the 3D widget factory) because the
"ImplicitSphereRepresentation" can't be created by Paraview. It seems to
be due to the server side "vtkSMImplicitSphere..." classes which can't
be instanciated...
How can those server manager classes (present in my server side plug in)
be recognized and instanciated by Paraview ?
Thanks...
clinton at elemtech.com a écrit :
> On Wednesday 05 March 2008 7:17:03 am Thomas Félix wrote:
>
>> Hi,
>>
>> I'm writting c++ plugins for paraview, and I'm using ImplicitFunction
>> properties. I'd like to be able to interact with spheres as it is
>> possible with planes (by moving an interactor in the view of instance...)
>> Is it possible with a c++ plugin ?
>>
>
> Yes it is possible to add 3d widgets from plugins. I've added a specialized
> contour widget from a plugin. I added a custom panel to use those 3d
> widgets.
> You'll have to write both server and client side code, and I don't think there
> is a wiki to say how, so you can look at the pqCutPanel and
> pqImplicitPlaneWidet code in ParaView3/Qt/Components and start there.
>
> Clint
>
>
>
More information about the ParaView
mailing list