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 =========================================================================*/
32 #ifndef vtkXdmf3SILBuilder_h
33 #define vtkXdmf3SILBuilder_h
34 
35 #include "vtkIOXdmf3Module.h" // For export macro
36 #include "vtkType.h"
37 
39 class vtkStringArray;
41 
42 class VTKIOXDMF3_EXPORT vtkXdmf3SILBuilder
43 {
44 public:
52 
54  void Initialize();
55 
57 
58  vtkIdType AddVertex(const char* name);
59  vtkIdType AddChildEdge(vtkIdType parent, vtkIdType child);
60  vtkIdType AddCrossEdge(vtkIdType src, vtkIdType dst);
62 
64 
65  vtkIdType GetRootVertex();
66  vtkIdType GetBlocksRoot();
67  vtkIdType GetHierarchyRoot();
69 
70  bool IsMaxedOut();
71 
74 };
75 
76 #endif //vtkXdmf3SILBuilder_h
vtkUnsignedCharArray * CrossEdgesArray
a vtkAbstractArray subclass for strings
int vtkIdType
Definition: vtkType.h:275
vtkStringArray * NamesArray
vtkMutableDirectedGraph * SIL
An editable directed graph.
helper to allow block selection
dynamic, self-adjusting array of unsigned char