VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkAbstractContextBufferId.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAbstractContextBufferId.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
37
#ifndef __vtkAbstractContextBufferId_h
38
#define __vtkAbstractContextBufferId_h
39
40
#include "
vtkObject.h
"
41
42
class
VTK_CHARTS_EXPORT
vtkAbstractContextBufferId
:
public
vtkObject
43
{
44
public
:
45
vtkTypeMacro(
vtkAbstractContextBufferId
,
vtkObject
);
46
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
47
49
50
vtkGetMacro(Width,
int
);
52
54
55
vtkSetMacro(Width,
int
);
57
59
60
vtkGetMacro(Height,
int
);
62
64
65
vtkSetMacro(Height,
int
);
67
70
virtual
void
Allocate()=0;
71
73
virtual
bool
IsAllocated()
const
=0;
74
76
79
virtual
void
SetValues(
int
srcXmin,
80
int
srcYmin)=0;
82
87
virtual
vtkIdType
GetPickedItem(
int
x,
int
y)=0;
88
91
virtual
void
ReleaseGraphicsResources();
92
93
protected
:
94
vtkAbstractContextBufferId
();
95
virtual
~
vtkAbstractContextBufferId
();
96
97
int
Width
;
98
int
Height
;
99
100
private
:
101
vtkAbstractContextBufferId
(
const
vtkAbstractContextBufferId
&);
// Not implemented.
102
void
operator=(
const
vtkAbstractContextBufferId
&);
// Not implemented.
103
};
104
105
#endif // #ifndef __vtkAbstractContextBufferId_h
Generated on Sun Sep 9 2012 13:03:25 for VTK by
1.8.1.2