• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/IO/vtkXMLHierarchicalBoxDataReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkXMLHierarchicalBoxDataReader.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00031 #ifndef __vtkXMLHierarchicalBoxDataReader_h
00032 #define __vtkXMLHierarchicalBoxDataReader_h
00033 
00034 #include "vtkXMLCompositeDataReader.h"
00035 
00036 class VTK_IO_EXPORT vtkXMLHierarchicalBoxDataReader : public vtkXMLCompositeDataReader
00037 {
00038 public:
00039   static vtkXMLHierarchicalBoxDataReader* New();
00040   vtkTypeRevisionMacro(vtkXMLHierarchicalBoxDataReader,vtkXMLCompositeDataReader);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00043 protected:
00044   vtkXMLHierarchicalBoxDataReader();
00045   ~vtkXMLHierarchicalBoxDataReader();  
00046 
00047   // Get the name of the data set being read.
00048   virtual const char* GetDataSetName();
00049 
00050   virtual int FillOutputPortInformation(int, vtkInformation* info);
00051 
00052   // Read the XML element for the subtree of a the composite dataset.
00053   // dataSetIndex is used to rank the leaf nodes in an inorder traversal.
00054   virtual void ReadComposite(vtkXMLDataElement* element, 
00055     vtkCompositeDataSet* composite, const char* filePath, 
00056     unsigned int &dataSetIndex);
00057 
00058   // Read the vtkDataSet (a leaf) in the composite dataset.
00059   virtual vtkDataSet* ReadDataset(vtkXMLDataElement* xmlElem, const char* filePath);
00060 
00061   // Read v0.1
00062   virtual void ReadVersion0(vtkXMLDataElement* element, 
00063     vtkCompositeDataSet* composite, const char* filePath, 
00064     unsigned int &dataSetIndex);
00065 
00066 
00067 private:
00068   vtkXMLHierarchicalBoxDataReader(const vtkXMLHierarchicalBoxDataReader&);  // Not implemented.
00069   void operator=(const vtkXMLHierarchicalBoxDataReader&);  // Not implemented.
00070 
00071 };
00072 
00073 #endif

Generated by  doxygen 1.7.1