VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkContextBufferId.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContextBufferId.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
24
#ifndef __vtkContextBufferId_h
25
#define __vtkContextBufferId_h
26
27
#include "
vtkAbstractContextBufferId.h
"
28
29
class
vtkIntArray
;
30
31
class
VTK_CHARTS_EXPORT
vtkContextBufferId
:
public
vtkAbstractContextBufferId
32
{
33
public
:
34
vtkTypeMacro(
vtkContextBufferId
,
vtkAbstractContextBufferId
);
35
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
36
38
static
vtkContextBufferId
*
New
();
39
42
virtual
void
Allocate
();
43
45
virtual
bool
IsAllocated
()
const
;
46
48
51
virtual
void
SetValues
(
int
srcXmin,
52
int
srcYmin);
54
59
virtual
vtkIdType
GetPickedItem
(
int
x,
int
y);
60
61
protected
:
62
vtkContextBufferId
();
63
virtual
~
vtkContextBufferId
();
64
66
69
void
SetValue(
vtkIdType
i,
70
int
value);
72
75
int
GetValue(
vtkIdType
i);
76
77
vtkIntArray
*
IdArray
;
78
79
private
:
80
vtkContextBufferId
(
const
vtkContextBufferId
&);
// Not implemented.
81
void
operator=(
const
vtkContextBufferId
&);
// Not implemented.
82
};
83
84
#endif // #ifndef __vtkContextBufferId_h
Generated on Sun Sep 15 2013 03:44:18 for VTK by
1.8.4