VTK
vtkArrayExtentsList.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArrayExtentsList.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
46 #ifndef vtkArrayExtentsList_h
47 #define vtkArrayExtentsList_h
48 
49 #include "vtkCommonCoreModule.h" // For export macro
50 #include "vtkArrayExtents.h"
51 #include <vector> // STL Header
52 
54 {
55 public:
58 
61 
64 
67 
70 
72  vtkIdType GetCount() const;
73 
77  void SetCount(vtkIdType count);
78 
79 
81  vtkArrayExtents& operator[](vtkIdType i);
82 
84  const vtkArrayExtents& operator[](vtkIdType i) const;
85 
86 private:
87  //BTX
88  std::vector<vtkArrayExtents> Storage;
89  //ETX
90 };
91 
92 #endif
93 
94 // VTK-HeaderTest-Exclude: vtkArrayExtentsList.h
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
#define VTKCOMMONCORE_EXPORT
int vtkIdType
Definition: vtkType.h:247
Stores a collection of vtkArrayExtents objects.