VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkArrayNorm.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 00039 #ifndef __vtkArrayNorm_h 00040 #define __vtkArrayNorm_h 00041 00042 #include <vtkArrayDataAlgorithm.h> 00043 #include <vtkArrayRange.h> 00044 00045 class VTK_INFOVIS_EXPORT vtkArrayNorm : public vtkArrayDataAlgorithm 00046 { 00047 public: 00048 static vtkArrayNorm* New(); 00049 vtkTypeMacro(vtkArrayNorm, vtkArrayDataAlgorithm); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 00056 vtkGetMacro(Dimension, int); 00057 vtkSetMacro(Dimension, int); 00059 00061 00062 vtkGetMacro(L, int); 00063 void SetL(int value); 00065 00067 00068 vtkSetMacro(Invert, int); 00069 vtkGetMacro(Invert, int); 00071 00072 //BTX 00074 00076 void SetWindow(const vtkArrayRange& window); 00077 vtkArrayRange GetWindow(); 00079 00080 protected: 00081 vtkArrayNorm(); 00082 ~vtkArrayNorm(); 00083 00084 int RequestData( 00085 vtkInformation*, 00086 vtkInformationVector**, 00087 vtkInformationVector*); 00088 00089 private: 00090 vtkArrayNorm(const vtkArrayNorm&); // Not implemented 00091 void operator=(const vtkArrayNorm&); // Not implemented 00092 00093 int Dimension; 00094 int L; 00095 int Invert; 00096 vtkArrayRange Window; 00097 //ETX 00098 }; 00099 00100 #endif 00101