Commit 193e0f72 authored by Felipe Bordeu's avatar Felipe Bordeu Committed by David Partyka
Browse files

Change of the pointer class inside the vtkXdmfHeavyData from "vtkXdmfReader*...

Change of the pointer class inside the vtkXdmfHeavyData from "vtkXdmfReader* Reader" to vtkAlgorithm* Reader"

this enable the utilisation of the vtkXdmfDocument class in others reader (customs readers).
parent 0dd21e6b
......@@ -61,7 +61,7 @@ static void vtkGetDims(int exts[6], int dims[3])
//----------------------------------------------------------------------------
vtkXdmfHeavyData::vtkXdmfHeavyData(vtkXdmfDomain* domain,
vtkXdmfReader* reader)
vtkAlgorithm* reader)
{
this->Reader = reader;
this->Piece = 0;
......
......@@ -31,7 +31,7 @@ class vtkRectilinearGrid;
class vtkStructuredGrid;
class vtkUnstructuredGrid;
class vtkXdmfDomain;
class vtkXdmfReader;
class vtkAlgorithm;
// vtkXdmfHeavyData helps in reading heavy data from Xdmf and putting that into
// vtkDataObject subclasses.
......@@ -39,7 +39,7 @@ class vtkXdmfHeavyData
{
vtkXdmfDomain* Domain;
XdmfDataItem DataItem;
vtkXdmfReader* Reader;
vtkAlgorithm* Reader;
public:
// These must be set before using this class.
int Piece;
......@@ -51,7 +51,7 @@ public:
XdmfFloat64 Time;
public:
vtkXdmfHeavyData(vtkXdmfDomain* domain, vtkXdmfReader* reader);
vtkXdmfHeavyData(vtkXdmfDomain* domain, vtkAlgorithm* reader);
~vtkXdmfHeavyData();
// Description:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment