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 "vtkArrayExtents.h"
50 #include <vtksys/stl/vector> // STL Header
51 
53 {
54 public:
57 
60 
63 
66 
69 
71  vtkIdType GetCount() const;
72 
76  void SetCount(vtkIdType count);
77 
78 
80  vtkArrayExtents& operator[](vtkIdType i);
81 
83  const vtkArrayExtents& operator[](vtkIdType i) const;
84 
85 private:
86  //BTX
87  vtkstd::vector<vtkArrayExtents> Storage;
88  //ETX
89 };
90 
91 #endif
92 
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
int vtkIdType
Definition: vtkType.h:255
#define VTK_COMMON_EXPORT
Stores a collection of vtkArrayExtents objects.