VTK
vtkScaleDimension.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkScaleDimension.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
49 #ifndef __vtkScaleDimension_h
50 #define __vtkScaleDimension_h
51 
52 #include <vtkArrayDataAlgorithm.h>
53 
56 {
57 public:
58  static vtkScaleDimension* New();
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
63 
64  vtkGetMacro(Dimension, int);
65  vtkSetMacro(Dimension, int);
67 
69 
70  vtkSetMacro(Invert, int);
71  vtkGetMacro(Invert, int);
73 
74 //BTX
75 protected:
78 
79  virtual int FillInputPortInformation(int, vtkInformation*);
80 
81  int RequestData(
85 
86 private:
87  vtkScaleDimension(const vtkScaleDimension&); // Not implemented
88  void operator=(const vtkScaleDimension&); // Not implemented
89 
90  int Dimension;
91  int Invert;
92 //ETX
93 };
94 
95 #endif
96 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_TEXT_ANALYSIS_EXPORT
Store vtkAlgorithm input/output information.
virtual int FillInputPortInformation(int port, vtkInformation *info)
scales every element in an N-way array along one dimension.
a simple class to control print indentation
Definition: vtkIndent.h:37
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.