<?xml version="1.0"?>
        
        
                I think I will wait for the next release of activiz and hope that things will become better then.
                <br/>
                In between I will write my own filters by simply iterating over own vtkPolydata structures.
                <br/>
                I am very successfull with this although not getting the data processed in parallel.
                <br/>
                <br/>
                Meanwhile I tried paraview and python custom filters which is OK for prototyping purposes.
                <br/>
                <br/>
                Would be glad to stay in contact and get some news on this, if any...
                <br/>
                <br/>
                greets
                <br/>
                <br/>
                <br/>
                ----- Ursprüngliche Nachricht -----
                <br/>
                Von: "Benjamin Jähn [via VTK]"
                <ml-node n5.nabble.com="n5.nabble.com" s1045678n5717361h83="s1045678n5717361h83">
                        <br/>
                        Erhalten: 01.12.2012 11:01
                        <br/>
                        An: "I_like_activiz"
                        <martin.buerger aon.at="aon.at">
                                <br/>
                                <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'>
                                        <!--?xml version="1.0"?-->
                                        <br/>
                                        I found a topic where someone was able to inherit successfully from a
                                        <br/>
                                        Activiz/vtk class.
                                        <br/>
                                        <br/>
                                        [QUOTE]
                                        <br/>
                                        Note: All classes are static, that's the reason why you cannot inherit
                                        <br/>
                                        from any wrapped vtk class.
                                        <br/>
                                        But as I learned a few days ago there's a way to extent a static class.
                                        <br/>
                                        If you like I can show you how to do that.
                                        <br/>
                                        [/QUOTE]
                                        <br/>
                                        <a href="http://vtk.1045678.n5.nabble.com/vtkCallbackCommand-in-ActiveViz-td5714143.html#a5714197" link="external" mce="mce" rel="nofollow" target="_blank">http://vtk.1045678.n5.nabble.com/vtkCallbackCommand-in-ActiveViz-td5714143.html#a5714197</a>
                                        <br/>
                                        <br/>
                                        And there is also an example how the guy managed it to do that. The
                                        <br/>
                                        example he wrote worked for me but I have tried it with another class
                                        <br/>
                                        and I get a InvalidCastException at the constructor.
                                        <br/>
                                        <br/>
                                         public class myCommand : vtkCommand
                                        <br/>
                                         {
                                        <br/>
                                         private vtkPolyData Points;
                                        <br/>
                                        <br/>
                                         public myCommand()
                                        <br/>
                                         {
                                        <br/>
                                         Points = vtkPolyData.New();
                                        <br/>
                                         }
                                        <br/>
                                        <br/>
                                         //public override void Execute(vtkObject caller, uint eventId,
                                        <br/>
                                        IntPtr callData)
                                        <br/>
                                         //{
                                        <br/>
                                         // base.Execute(caller, eventId, callData);
                                        <br/>
                                         // Console.WriteLine("Callback!");
                                        <br/>
                                         //}
                                        <br/>
                                         }
                                        <br/>
                                        <br/>
                                        I did not understand so far why this not work and the other example works.
                                        <br/>
                                        <br/>
                                        <br/>
                                        Am 24.11.2012 11:21, schrieb I_like_activiz:
                                        <div class="shrinkable-quote">
                                                <br/>
                                                > Basically you can write something like
                                                <br/>
                                                >
                                                <br/>
                                                > public class myFilter: vtkPolydataAlgorithm
                                                <br/>
                                                >
                                                <br/>
                                                > but if it would work to override any method, I can not say either.
                                                <br/>
                                                > I did not subclass any avtiviz class before. I tried it the first time,
                                                <br/>
                                                > but was not able to make it work and so I opened this topic.
                                                <br/>
                                                >
                                                <br/>
                                                > So maybe you are right.
                                                <br/>
                                                >
                                                <br/>
                                                >
                                                <br/>
                                                >
                                                <br/>
                                                > --
                                                <br/>
                                                > View this message in context:
                                                <a href="http://vtk.1045678.n5.nabble.com/activiz-vtkPolydataAlgorithm-tp5717071p5717263.html" link="external" mce="mce" rel="nofollow" target="_blank">http://vtk.1045678.n5.nabble.com/activiz-vtkPolydataAlgorithm-tp5717071p5717263.html</a>
                                                <br/>
                                                > Sent from the VTK - Users mailing list archive at Nabble.com.
                                                <br/>
                                                > _______________________________________________
                                                <br/>
                                                > Powered by www.kitware.com
                                                <br/>
                                                >
                                                <br/>
                                                > Visit other Kitware open-source projects at
                                                <a href="http://www.kitware.com/opensource/opensource.html" link="external" mce="mce" rel="nofollow" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
                                                <br/>
                                                >
                                                <br/>
                                                > Please keep messages on-topic and check the VTK FAQ at:
                                                <a href="http://www.vtk.org/Wiki/VTK_FAQ" link="external" mce="mce" rel="nofollow" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
                                                <br/>
                                                >
                                                <br/>
                                                > Follow this link to subscribe/unsubscribe:
                                                <br/>
                                                >
                                                <a href="http://www.vtk.org/mailman/listinfo/vtkusers" link="external" mce="mce" rel="nofollow" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
                                        </div>
                                        <br/>
                                        _______________________________________________
                                        <br/>
                                        Powered by www.kitware.com
                                        <br/>
                                        <br/>
                                        Visit other Kitware open-source projects at
                                        <a href="http://www.kitware.com/opensource/opensource.html" link="external" mce="mce" rel="nofollow" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
                                        <br/>
                                        <br/>
                                        Please keep messages on-topic and check the VTK FAQ at:
                                        <a href="http://www.vtk.org/Wiki/VTK_FAQ" link="external" mce="mce" rel="nofollow" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
                                        <br/>
                                        <br/>
                                        Follow this link to subscribe/unsubscribe:
                                        <br/>
                                        <a href="http://www.vtk.org/mailman/listinfo/vtkusers" link="external" mce="mce" rel="nofollow" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <hr color="#cccccc" noshade="noshade" size="1"/>
                                        <div style="color: #444444; font: 12px tahoma,geneva,helvetica,arial,sans-serif">
                                                <div style="font-weight: bold">If you reply to this email, your message will be added to the discussion below:</div>
                                                <a href="http://vtk.1045678.n5.nabble.com/activiz-vtkPolydataAlgorithm-tp5717071p5717361.html" mce="mce" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/activiz-vtkPolydataAlgorithm-tp5717071p5717361.html</a>
                                        </div>
                                        <div style="color: #666666; font: 11px/1.5em tahoma,geneva,helvetica,arial,sans-serif; margin-top: 0.4em">
                                                To unsubscribe from activiz vtkPolydataAlgorithm,
                                                <a href="" mce="mce" target="_blank" rel="nofollow" link="external">click here</a>
                                                .
                                                <br/>
                                                <a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" mce="mce" rel="nofollow" style="font: 9px serif" target="_blank" link="external">NAML</a>
                                        </div>
                                </blockquote>
                        </martin.buerger>
                </ml-node>
        
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/activiz-vtkPolydataAlgorithm-tp5717071p5717362.html">Re: activiz vtkPolydataAlgorithm</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>