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 "vtkInfovisCoreModule.h" // For export macro 00043 #include <vtkArrayDataAlgorithm.h> 00044 #include <vtkArrayRange.h> 00045 00046 class VTKINFOVISCORE_EXPORT vtkArrayNorm : public vtkArrayDataAlgorithm 00047 { 00048 public: 00049 static vtkArrayNorm* New(); 00050 vtkTypeMacro(vtkArrayNorm, vtkArrayDataAlgorithm); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00057 vtkGetMacro(Dimension, int); 00058 vtkSetMacro(Dimension, int); 00060 00062 00063 vtkGetMacro(L, int); 00064 void SetL(int value); 00066 00068 00069 vtkSetMacro(Invert, int); 00070 vtkGetMacro(Invert, int); 00072 00073 //BTX 00075 00077 void SetWindow(const vtkArrayRange& window); 00078 vtkArrayRange GetWindow(); 00080 00081 protected: 00082 vtkArrayNorm(); 00083 ~vtkArrayNorm(); 00084 00085 int RequestData( 00086 vtkInformation*, 00087 vtkInformationVector**, 00088 vtkInformationVector*); 00089 00090 private: 00091 vtkArrayNorm(const vtkArrayNorm&); // Not implemented 00092 void operator=(const vtkArrayNorm&); // Not implemented 00093 00094 int Dimension; 00095 int L; 00096 int Invert; 00097 vtkArrayRange Window; 00098 //ETX 00099 }; 00100 00101 #endif 00102 00103 // VTK-HeaderTest-Exclude: vtkArrayNorm.h