VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/IO/Xdmf3/vtkXdmf3SILBuilder.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkXdmf3SILBuilder.h
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00032 #ifndef vtkXdmf3SILBuilder_h
00033 #define vtkXdmf3SILBuilder_h
00034 
00035 #include "vtkIOXdmf3Module.h" // For export macro
00036 #include "vtkType.h"
00037 
00038 class vtkMutableDirectedGraph;
00039 class vtkStringArray;
00040 class vtkUnsignedCharArray;
00041 
00042 class VTKIOXDMF3_EXPORT vtkXdmf3SILBuilder
00043 {
00044 public:
00045   vtkStringArray* NamesArray;
00046   vtkUnsignedCharArray* CrossEdgesArray;
00047   vtkMutableDirectedGraph* SIL;
00048   vtkIdType RootVertex;
00049   vtkIdType BlocksRoot;
00050   vtkIdType HierarchyRoot;
00051   vtkIdType VertexCount;
00052 
00054   void Initialize();
00055 
00057 
00058   vtkIdType AddVertex(const char* name);
00059   vtkIdType AddChildEdge(vtkIdType parent, vtkIdType child);
00060   vtkIdType AddCrossEdge(vtkIdType src, vtkIdType dst);
00062 
00064 
00065   vtkIdType GetRootVertex();
00066   vtkIdType GetBlocksRoot();
00067   vtkIdType GetHierarchyRoot();
00069 
00070   bool IsMaxedOut();
00071 
00072   vtkXdmf3SILBuilder();
00073   ~vtkXdmf3SILBuilder();
00074 };
00075 
00076 #endif //vtkXdmf3SILBuilder_h