[vtkusers] update

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Sep 19 14:12:09 EDT 2001


hi,

>>>>> "GG" == Gowri Gopalakrishnan <Gopalakrishnan> writes:

    GG> I read data from bore.vtk - I use the following

    GG> 	vtkPolyDataReader *wellData =
    GG> vtkPolyDataReader::New(); wellData -> SetFileName("bore.vtk");

    GG> I rendered this and everything is alright. Now I would like to
    GG> re-render this every time the file / data is changed.  Any of
    GG> you have any suggestions as to how this could be done?.  Would
    GG> really appreciate some ideas/possibilities.

If you know when the file changes then, whenever the data changes in
the file just do a

wellData->Modified();
wellData->Update();

prabhu



More information about the vtkusers mailing list