[Paraview] vtkXdmfDataSetWriter

Andy Cedilnik andy . cedilnik at kitware . com
31 Jul 2003 18:25:39 -0400


Hi Daniel,

Check Xdmf CVS and you will see vtkXdmfWriter (not
vtkXdmfDataSetWriter). That one works in most cases. Let me know if you
have any issues.

			Andy

On Thu, 2003-07-31 at 18:10, godach at juno . com wrote:
> Hi Andy,
> 
> While compiling the CVS version, I just want to let you know I added
> FileName Set/Get Macro and a Write method which calls the writer's
> WriteXXX methods and a ofstream:
> 
> int vtkXdmfDataSetWriter::Write( void )
> {
> ofstream outfile (this->GetFileName());
> this->WriteHead();   // Not implemented yet
> this->WriteGrid();
> this->WriteAttributes();  
> this->WriteTail();   // Not implemented yet
> outfile.write(this->Internals->XMLStream->str(), this->Internals->XMLStream->pcount());
> 
> return(1);
> } 
> 
> It seems working pretty fine, except I still have to figure out 
> what WriteXXX to call and in what order. It also seems the WriteHead 
> and WriteTail are not yet fully done. And I will let you know if the 
> CVS version works for me.