VTK
dox/TextAnalysis/vtkScaleDimension.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkScaleDimension.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 
00049 #ifndef __vtkScaleDimension_h
00050 #define __vtkScaleDimension_h
00051 
00052 #include <vtkArrayDataAlgorithm.h>
00053 
00054 class VTK_TEXT_ANALYSIS_EXPORT vtkScaleDimension :
00055   public vtkArrayDataAlgorithm
00056 {
00057 public:
00058   static vtkScaleDimension* New();
00059   vtkTypeMacro(vtkScaleDimension, vtkArrayDataAlgorithm);
00060   void PrintSelf(ostream& os, vtkIndent indent);
00061 
00063 
00064   vtkGetMacro(Dimension, int);
00065   vtkSetMacro(Dimension, int);
00067 
00069 
00070   vtkSetMacro(Invert, int);
00071   vtkGetMacro(Invert, int);
00073 
00074 //BTX
00075 protected:
00076   vtkScaleDimension();
00077   ~vtkScaleDimension();
00078 
00079   virtual int FillInputPortInformation(int, vtkInformation*);
00080 
00081   int RequestData(
00082     vtkInformation*, 
00083     vtkInformationVector**, 
00084     vtkInformationVector*);
00085 
00086 private:
00087   vtkScaleDimension(const vtkScaleDimension&); // Not implemented
00088   void operator=(const vtkScaleDimension&);   // Not implemented
00089 
00090   int Dimension;
00091   int Invert;
00092 //ETX
00093 };
00094 
00095 #endif
00096