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 "vtkAlgorithm.h"
29 
30 class vtkContext2D;
31 class vtkTable;
32 class vtkDataArray;
33 class vtkAbstractArray;
34 
36 {
37 public:
39  virtual void PrintSelf(ostream &os, vtkIndent indent);
40  static vtkContextMapper2D *New();
41 
43 
44  virtual void SetInput(vtkTable *input);
45  virtual vtkTable * GetInput();
47 
49 
51  vtkDataObject* input)
52  {
53  return this->vtkAlgorithm::GetInputArrayToProcess(idx, input);
54  }
56 
58  vtkDataObject* input)
59  {
60  return this->vtkAlgorithm::GetInputAbstractArrayToProcess(idx, input);
61  }
62 
63 //BTX
64 protected:
67 
69  virtual int FillInputPortInformation(int port, vtkInformation *info);
70 
71 private:
72  vtkContextMapper2D(const vtkContextMapper2D &); // Not implemented.
73  void operator=(const vtkContextMapper2D &); // Not implemented.
74 //ETX
75 };
76 
77 #endif //__vtkContextMapper2D_h
#define VTK_CHARTS_EXPORT
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:54
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:59
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
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)
static vtkAlgorithm * New()
helper class to get VTK data object types as string and instantiate them
void PrintSelf(ostream &os, vtkIndent indent)