VTK
dox/Infovis/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 "vtkArrayDataAlgorithm.h"
00042 
00043 class VTK_INFOVIS_EXPORT vtkMatricizeArray : public vtkArrayDataAlgorithm
00044 {
00045 public:
00046   static vtkMatricizeArray* New();
00047   vtkTypeMacro(vtkMatricizeArray, vtkArrayDataAlgorithm);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00053   vtkGetMacro(SliceDimension, vtkIdType);
00055   
00057 
00059   vtkSetMacro(SliceDimension, vtkIdType);
00061 
00062 protected:
00063   vtkMatricizeArray();
00064   ~vtkMatricizeArray();
00065 
00066   int RequestData(
00067     vtkInformation*, 
00068     vtkInformationVector**, 
00069     vtkInformationVector*);
00070 
00071 private:
00072   vtkMatricizeArray(const vtkMatricizeArray&); // Not implemented
00073   void operator=(const vtkMatricizeArray&);   // Not implemented
00074 
00075 //BTX
00076   class Generator;
00077 //ETX
00078 
00079   vtkIdType SliceDimension;
00080 };
00081 
00082 #endif
00083