VTK
vtkContextMapper2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContextMapper2D.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
25 #ifndef vtkContextMapper2D_h
26 #define vtkContextMapper2D_h
27 
28 #include "vtkRenderingContext2DModule.h" // For export macro
29 #include "vtkAlgorithm.h"
30 
31 class vtkContext2D;
32 class vtkTable;
33 class vtkDataArray;
34 class vtkAbstractArray;
35 
37 {
38 public:
40  virtual void PrintSelf(ostream &os, vtkIndent indent);
41  static vtkContextMapper2D *New();
42 
44 
45  virtual void SetInputData(vtkTable *input);
46  virtual vtkTable * GetInput();
48 
50 
52  vtkDataObject* input)
53  {
54  return this->vtkAlgorithm::GetInputArrayToProcess(idx, input);
55  }
57 
59  vtkDataObject* input)
60  {
61  return this->vtkAlgorithm::GetInputAbstractArrayToProcess(idx, input);
62  }
63 
64 //BTX
65 protected:
68 
71 
72 private:
73  vtkContextMapper2D(const vtkContextMapper2D &); // Not implemented.
74  void operator=(const vtkContextMapper2D &); // Not implemented.
75 //ETX
76 };
77 
78 #endif //vtkContextMapper2D_h
Store vtkAlgorithm input/output information.
Abstract superclass for all arrays.
Abstract class for 2D context mappers.
vtkAbstractArray * GetInputAbstractArrayToProcess(int idx, vtkInformationVector **inputVector)
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:56
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
#define VTKRENDERINGCONTEXT2D_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataArray * GetInputArrayToProcess(int idx, vtkDataObject *input)
vtkDataArray * GetInputArrayToProcess(int idx, vtkInformationVector **inputVector)
vtkAbstractArray * GetInputAbstractArrayToProcess(int idx, vtkDataObject *input)
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64
void PrintSelf(ostream &os, vtkIndent indent)