VTK  9.3.1
vtkArrayExtentsList.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4 
30 #ifndef vtkArrayExtentsList_h
31 #define vtkArrayExtentsList_h
32 
33 #include "vtkArrayExtents.h"
34 #include "vtkCommonCoreModule.h" // For export macro
35 #include <vector> // STL Header
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class VTKCOMMONCORE_EXPORT vtkArrayExtentsList
39 {
40 public:
45 
50 
55 
60 
65  const vtkArrayExtents& l);
66 
70  vtkIdType GetCount() const;
71 
77  void SetCount(vtkIdType count);
78 
82  vtkArrayExtents& operator[](vtkIdType i);
83 
87  const vtkArrayExtents& operator[](vtkIdType i) const;
88 
89 private:
90  std::vector<vtkArrayExtents> Storage;
91 };
92 
93 VTK_ABI_NAMESPACE_END
94 #endif
95 
96 // VTK-HeaderTest-Exclude: vtkArrayExtentsList.h
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
int vtkIdType
Definition: vtkType.h:315
Stores a collection of vtkArrayExtents objects.