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 "vtkFiltersGeneralModule.h" // For export macro
42 #include "vtkArrayDataAlgorithm.h"
43 
45 {
46 public:
47  static vtkMatricizeArray* New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
54  vtkGetMacro(SliceDimension, vtkIdType);
56 
58 
60  vtkSetMacro(SliceDimension, vtkIdType);
62 
63 protected:
66 
67  int RequestData(
71 
72 private:
73  vtkMatricizeArray(const vtkMatricizeArray&); // Not implemented
74  void operator=(const vtkMatricizeArray&); // Not implemented
75 
76 //BTX
77  class Generator;
78 //ETX
79 
80  vtkIdType SliceDimension;
81 };
82 
83 #endif
84 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:275
a simple class to control print indentation
Definition: vtkIndent.h:38
Convert an array of arbitrary dimensions to a matrix.
#define VTKFILTERSGENERAL_EXPORT
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.