• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Common/vtkArraySlices.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkArraySlices.h,v $
00005   
00006 -------------------------------------------------------------------------
00007   Copyright 2008 Sandia Corporation.
00008   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00009   the U.S. Government retains certain rights in this software.
00010 -------------------------------------------------------------------------
00011 
00012   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00013   All rights reserved.
00014   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00015 
00016      This software is distributed WITHOUT ANY WARRANTY; without even
00017      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018      PURPOSE.  See the above copyright notice for more information.
00019 
00020 =========================================================================*/
00021 
00044 #ifndef __vtkArraySlices_h
00045 #define __vtkArraySlices_h
00046 
00047 #include "vtkArraySlice.h"
00048 #include <vtksys/stl/vector>
00049 
00050 class VTK_COMMON_EXPORT vtkArraySlices
00051 {
00052 public:
00054   vtkArraySlices();
00055   
00057   vtkArraySlices(const vtkArraySlice& i);
00058   
00060   vtkArraySlices(const vtkArraySlice& i, const vtkArraySlice& j);
00061   
00063   vtkArraySlices(const vtkArraySlice& i, const vtkArraySlice& j, const vtkArraySlice& k);
00064   
00066   vtkArraySlices(const vtkArraySlice& i, const vtkArraySlice& j, const vtkArraySlice& k, const vtkArraySlice& l);
00067 
00069   vtkIdType GetCount() const;
00070   
00074   void SetCount(vtkIdType count);
00075 
00077   vtkArraySlice& operator[](vtkIdType i);
00078   
00080   const vtkArraySlice& operator[](vtkIdType i) const;
00081 
00082 private:
00083   vtkstd::vector<vtkArraySlice> Storage;
00084 };
00085 
00086 #endif
00087 

Generated by  doxygen 1.7.1