Hi Pierre,

The reason the filter does not show up is that it has the same name as
an existing one. Try changing the name from CellDerivatives to
CellDerivatives2.

-berk

On Thu, Dec 18, 2008 at 5:35 PM, Pierre JUILLARD
<[email protected]> wrote:
> Well, I exactly took the one printed on
> http://www.paraview.org/Wiki/ExtendingParaView#Enable_Existing_VTK_Class
>
> Here it is.
>
> Thanks in advance for your help!
>
> Pierre
>
>
>
>
>
> 2008/12/18 Berk Geveci <[email protected]>
>>
>> Can you post your xml file?
>>
>> -berk
>>
>> On Thu, Dec 18, 2008 at 7:08 AM, Pierre JUILLARD
>> <[email protected]> wrote:
>> >
>> > I'm really sorry, I miss a key on my keyboard, and there was it, the
>> > mail
>> > already left...
>> >
>> > So, I wanted first pointing out a possible interesting feature: having
>> > two
>> > buttons when dealing with plug-ins:
>> >
>> > - "select" having the functionality of the current "load" one: selection
>> > of
>> > an XML file
>> > - a "load" or "apply" button to confirm the selection of the XML file
>> > and
>> > maybe achieving some controls:
>> >                        - is the file empty?
>> >                        - does it start with the
>> > <ServerManagerConfiguration>
>> > tag?
>> >                        - and so on... (well, the standard controls that
>> > allow the use of an XML file I guess...)
>> >
>> >
>> >
>> > Then, here is my main question: I'm not sure at all the loading worked
>> > correctly:
>> > Where am I supposed to find the loaded filter to apply it on an example?
>> >
>> > I went in the Filter tab and I couldn't see it anywhere...
>> >
>> > (see attached picture)
>> >
>> > I am of course not interest in the vtkCellDerivatives lcass: I know that
>> > it
>> > is availabe with the filter "Compute Derivatives".
>> > It is just a test.
>> >
>> > Could you point me out where is the mistake?
>> >
>> > I have to say that I didn't use any GUI XML, as it is said being
>> > "optional"
>> > in the page:
>> > http://www.paraview.org/Wiki/Plugin_HowTo#Enabling_a_filter_in_VTK
>> >
>> >
>> >
>> > In addition, just for information: where does the name displayed in the
>> > Filter tab comes from?
>> > Is it the value of the "SourceProxy" tag \"name" attribute?
>> > In this case, are we forced to prepend "vtk" from the vtk class name to
>> > obtain it?
>> > It would indeed mean that we cannot have blank in the name.
>> >
>> >
>> >
>> > Concerning the wiki, I have also few questions.
>> >
>> > - First, once I have this working for HyperStreamLine, I guess that it
>> > may
>> > interest other users.
>> > Wouldn't it be interesting to have a section in the wiki where users
>> > could
>> > drop validated server manager configuration files for VTK classes that
>> > could
>> > then be downloaded by others?
>> >
>> > - Finally, I found the old page:
>> > http://www.paraview.org/Wiki/ExtendingParaView#Enable_Existing_VTK_Class
>> > more detailed than the new one.
>> > Shouldn't they be merged?
>> >
>> > Tell me if I can help on this topic.
>> >
>> >
>> >
>> >
>> > Cheers,
>> >
>> > Pierre
>> >
>> >
>> >
>> >
>> > 2008/12/18 Pierre JUILLARD <[email protected]>
>> >>
>> >> Hi all!
>> >>
>> >> I had a look on the wiki, and indeed, one can find information at the
>> >> page
>> >> you pointed me:
>> >> http://www.paraview.org/Wiki/Plugin_HowTo#Enabling_a_filter_in_VTK
>> >> but also at that one:
>> >>
>> >> http://www.paraview.org/Wiki/ExtendingParaView#Enable_Existing_VTK_Class
>> >>
>> >> Very interesting information are given, however, I think I am missing
>> >> something.
>> >>
>> >> Just to try out, I copy/past the given Server Manager Configuration
>> >> file
>> >> in a xml, naming it "vtkCellDerivatives.xml".
>> >>
>> >> I loaded it as it is indicated (using the Plugins Manager), as shown on
>> >> the following picture.
>> >>
>> >> (By the way, I'm surprised that there is no confirmation of the correct
>> >> loading. It may be intersting to have two buttons:
>> >> - "select" having thefunctionality of the current "load" one: selection
>> >> of
>> >> an XML file
>> >> - "load" or "apply" confirming the selection of the XL file and may
>> >> achieveing some control:
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> 2008/12/9 David E DeMarle <[email protected]>
>> >>>
>> >>> On Tue, Dec 9, 2008 at 9:55 AM, Pierre JUILLARD
>> >>> <[email protected]> wrote:
>> >>> >
>> >>> > Hi ParaView user,
>> >>> >
>> >>> >
>> >>> > Having stress tensor in VTK file, I would like to visualize them.
>> >>> >
>> >>> > Different solutions may exist:
>> >>> >
>> >>> >
>> >>> > 1). For instance, evaluate the principal components (vectors) from
>> >>> > stress
>> >>> > tensor and use the 'stream tracer' filter to visualize each
>> >>> > principal
>> >>> > component individually. However, in the 'Calculator' filter, I see
>> >>> > neither
>> >>> > 'extract principal component' function, nor the possibility to
>> >>> > interact
>> >>> > with
>> >>> > tensor at all: only the access to scalars and vectors is allowed.
>> >>> > Could you confirm me this?
>> >>> >
>> >>> >
>> >>> > 2). Another actually much more interesting way would be to use the
>> >>> > Hyperstreamline method available in the VTK library
>> >>> > (http://www.vtk.org/doc/release/5.2/html/a00565.html). Nonetheless,
>> >>> > I
>> >>> > don't
>> >>> > see the equivalent filter in ParaView.
>> >>> > Is there a way to 'activate' it simply in ParaView?
>> >>> > Or should an external filter be developped (based on the existing
>> >>> > VTK
>> >>> > class)?
>> >>> >
>> >>> >
>> >>> > I thank youfor your help!
>> >>> > Regards
>> >>> >
>> >>> >
>> >>> > Pierre
>> >>> > _______________________________________________
>> >>> > ParaView mailing list
>> >>> > [email protected]
>> >>> > http://www.paraview.org/mailman/listinfo/paraview
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>> I  recommend solution 2.
>> >>> See
>> >>> http://www.paraview.org/Wiki/Plugin_HowTo#Enabling_a_filter_in_VTK
>> >>>
>> >>> --
>> >>> David E DeMarle
>> >>> Kitware, Inc.
>> >>> R&D Engineer
>> >>> 28 Corporate Drive
>> >>> Clifton Park, NY 12065-8662
>> >>> Phone: 518-371-3971 x109
>> >>
>> >
>> >
>> >
>> > _______________________________________________
>> > ParaView mailing list
>> > [email protected]
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
>
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to