VTK
|
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 "vtkArrayDataAlgorithm.h" 00038 00039 class VTK_INFOVIS_EXPORT vtkNormalizeMatrixVectors : public vtkArrayDataAlgorithm 00040 { 00041 public: 00042 static vtkNormalizeMatrixVectors* New(); 00043 vtkTypeMacro(vtkNormalizeMatrixVectors, vtkArrayDataAlgorithm); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00049 vtkGetMacro(VectorDimension, int); 00050 vtkSetMacro(VectorDimension, int); 00052 00054 00056 vtkGetMacro(PValue, double); 00057 vtkSetMacro(PValue, double); 00059 00060 protected: 00061 vtkNormalizeMatrixVectors(); 00062 ~vtkNormalizeMatrixVectors(); 00063 00064 int RequestData( 00065 vtkInformation*, 00066 vtkInformationVector**, 00067 vtkInformationVector*); 00068 00069 int VectorDimension; 00070 double PValue; 00071 00072 private: 00073 vtkNormalizeMatrixVectors(const vtkNormalizeMatrixVectors&); // Not implemented 00074 void operator=(const vtkNormalizeMatrixVectors&); // Not implemented 00075 }; 00076 00077 #endif 00078