VTK
vtkMatricizeArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMatricizeArray.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 
38 #ifndef __vtkMatricizeArray_h
39 #define __vtkMatricizeArray_h
40 
41 #include "vtkArrayDataAlgorithm.h"
42 
44 {
45 public:
46  static vtkMatricizeArray* New();
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
53  vtkGetMacro(SliceDimension, vtkIdType);
55 
57 
59  vtkSetMacro(SliceDimension, vtkIdType);
61 
62 protected:
65 
66  int RequestData(
70 
71 private:
72  vtkMatricizeArray(const vtkMatricizeArray&); // Not implemented
73  void operator=(const vtkMatricizeArray&); // Not implemented
74 
75 //BTX
76  class Generator;
77 //ETX
78 
79  vtkIdType SliceDimension;
80 };
81 
82 #endif
83