VTK
dox/Filters/General/vtkNormalizeMatrixVectors.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkNormalizeMatrixVectors.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 
00034 #ifndef __vtkNormalizeMatrixVectors_h
00035 #define __vtkNormalizeMatrixVectors_h
00036 
00037 #include "vtkFiltersGeneralModule.h" // For export macro
00038 #include "vtkArrayDataAlgorithm.h"
00039 
00040 class VTKFILTERSGENERAL_EXPORT vtkNormalizeMatrixVectors : public vtkArrayDataAlgorithm
00041 {
00042 public:
00043   static vtkNormalizeMatrixVectors* New();
00044   vtkTypeMacro(vtkNormalizeMatrixVectors, vtkArrayDataAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00050   vtkGetMacro(VectorDimension, int);
00051   vtkSetMacro(VectorDimension, int);
00053 
00055 
00057   vtkGetMacro(PValue, double);
00058   vtkSetMacro(PValue, double);
00060 
00061 protected:
00062   vtkNormalizeMatrixVectors();
00063   ~vtkNormalizeMatrixVectors();
00064 
00065   int RequestData(
00066     vtkInformation*,
00067     vtkInformationVector**,
00068     vtkInformationVector*);
00069 
00070   int VectorDimension;
00071   double PValue;
00072 
00073 private:
00074   vtkNormalizeMatrixVectors(const vtkNormalizeMatrixVectors&); // Not implemented
00075   void operator=(const vtkNormalizeMatrixVectors&);   // Not implemented
00076 };
00077 
00078 #endif
00079