VTK
dox/Filters/General/vtkMatricizeArray.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMatricizeArray.h
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 
00038 #ifndef __vtkMatricizeArray_h
00039 #define __vtkMatricizeArray_h
00040 
00041 #include "vtkFiltersGeneralModule.h" // For export macro
00042 #include "vtkArrayDataAlgorithm.h"
00043 
00044 class VTKFILTERSGENERAL_EXPORT vtkMatricizeArray : public vtkArrayDataAlgorithm
00045 {
00046 public:
00047   static vtkMatricizeArray* New();
00048   vtkTypeMacro(vtkMatricizeArray, vtkArrayDataAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00054   vtkGetMacro(SliceDimension, vtkIdType);
00056 
00058 
00060   vtkSetMacro(SliceDimension, vtkIdType);
00062 
00063 protected:
00064   vtkMatricizeArray();
00065   ~vtkMatricizeArray();
00066 
00067   int RequestData(
00068     vtkInformation*,
00069     vtkInformationVector**,
00070     vtkInformationVector*);
00071 
00072 private:
00073   vtkMatricizeArray(const vtkMatricizeArray&); // Not implemented
00074   void operator=(const vtkMatricizeArray&);   // Not implemented
00075 
00076 //BTX
00077   class Generator;
00078 //ETX
00079 
00080   vtkIdType SliceDimension;
00081 };
00082 
00083 #endif
00084