One other question:

If I take this one step further, is it possible to send the data at the
current time step to the PPF?

For example I have a mesh deforming in time (ob1) that is being compared to
a baseline with no time data (ob2).  All of the nodes are similar.  After
looking at some of the previous threads, it looks like I can access the data
for the temporal set with:

     ob1 = self.GetInputDataObject(0,0).GetTimeStep(0)
     ob2 = self.GetinputDataObject(0,1)
     some calculation of ob1.t0 and ob2

This hasn't seemed to work quite right however, as Paraview 3.6.2 doesn't
recognize the "GetTimeStep()" portion.  Are there any suggestions?

Also, in the end I would like to animate this.  Each time step, I would like
the PPF to update to the current time step.  So is it possible to say
something equivalent to:

     ob1 = self.GetInputDataObject(0,0).GetCurrentTimeStep()
     ob2 = self.GetinputDataObject(0,1)
     some calculation of ob1.tcurrent and ob2

Are there any recommended documentation resources for the Python api
available in the PPF?

Thanks,

Matt

On Mon, Feb 22, 2010 at 8:10 AM, Matthew Cragun <mcra...@totalsim.us> wrote:

> I am using one mesh that is deforming in time.  So node1.mesh2 is the the
> same node as node1.mesh1, just in a different location in space.
>
> But your point is well made that if I were using unrelated meshes (i.e.
> roughly similar geometry but with a different number of nodes in each mesh)
> finding the closest node would be a good way to go.
>
> Best Regards,
>
> --
> Matt Cragun
>
> Engineer
> TotalSim LLC
> 7003 Post Road,
> Suite 415
> Dublin, Ohio 43016
> O: (614) 255-7426
> M: (801) 404-6021
> E: mcra...@totalsim.us
>



-- 
Matt Cragun

Engineer
TotalSim LLC
7003 Post Road,
Suite 415
Dublin, Ohio 43016
O: (614) 255-7426
M: (801) 404-6021
E: mcra...@totalsim.us
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to