VTK
vtkXdmf3SILBuilder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXdmf3SILBuilder.h
5  Language: C++
6 
7  Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
29 #ifndef vtkXdmf3SILBuilder_h
30 #define vtkXdmf3SILBuilder_h
31 
32 #include "vtkIOXdmf3Module.h" // For export macro
33 #include "vtkType.h"
34 
36 class vtkStringArray;
38 
39 class VTKIOXDMF3_EXPORT vtkXdmf3SILBuilder
40 {
41 public:
49 
51  void Initialize();
52 
54 
55  vtkIdType AddVertex(const char* name);
56  vtkIdType AddChildEdge(vtkIdType parent, vtkIdType child);
57  vtkIdType AddCrossEdge(vtkIdType src, vtkIdType dst);
59 
61 
62  vtkIdType GetRootVertex();
63  vtkIdType GetBlocksRoot();
64  vtkIdType GetHierarchyRoot();
66 
67  bool IsMaxedOut();
68 
71 };
72 
73 #endif //vtkXdmf3SILBuilder_h
vtkUnsignedCharArray * CrossEdgesArray
a vtkAbstractArray subclass for strings
int vtkIdType
Definition: vtkType.h:247
vtkStringArray * NamesArray
vtkMutableDirectedGraph * SIL
An editable directed graph.
helper to allow block selection
dynamic, self-adjusting array of unsigned char