VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Rendering
Context2D
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 "
vtkRenderingContext2DModule.h
"
// For export macro
41
#include "
vtkObject.h
"
42
43
class
VTKRENDERINGCONTEXT2D_EXPORT
vtkAbstractContextBufferId
:
public
vtkObject
44
{
45
public
:
46
vtkTypeMacro(
vtkAbstractContextBufferId
,
vtkObject
);
47
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
48
50
51
vtkGetMacro(Width,
int
);
53
55
56
vtkSetMacro(Width,
int
);
58
60
61
vtkGetMacro(Height,
int
);
63
65
66
vtkSetMacro(Height,
int
);
68
71
virtual
void
Allocate()=0;
72
74
virtual
bool
IsAllocated()
const
=0;
75
77
80
virtual
void
SetValues(
int
srcXmin,
81
int
srcYmin)=0;
83
88
virtual
vtkIdType
GetPickedItem(
int
x
,
int
y
)=0;
89
92
virtual
void
ReleaseGraphicsResources();
93
94
protected
:
95
vtkAbstractContextBufferId
();
96
virtual
~
vtkAbstractContextBufferId
();
97
98
int
Width
;
99
int
Height
;
100
101
private
:
102
vtkAbstractContextBufferId
(
const
vtkAbstractContextBufferId
&);
// Not implemented.
103
void
operator=(
const
vtkAbstractContextBufferId
&);
// Not implemented.
104
};
105
106
#endif // #ifndef __vtkAbstractContextBufferId_h
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:61
vtkAbstractContextBufferId::Height
int Height
Definition:
vtkAbstractContextBufferId.h:99
vtkIdType
int vtkIdType
Definition:
vtkType.h:268
vtkgl::y
GLint GLint GLint GLint GLint GLint y
Definition:
vtkgl.h:11318
vtkAbstractContextBufferId::Width
int Width
Definition:
vtkAbstractContextBufferId.h:98
vtkgl::x
GLint GLint GLint GLint GLint x
Definition:
vtkgl.h:11318
vtkObject::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
VTKRENDERINGCONTEXT2D_EXPORT
#define VTKRENDERINGCONTEXT2D_EXPORT
Definition:
vtkRenderingContext2DModule.h:15
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkAbstractContextBufferId
2D array of ids, used for picking.
Definition:
vtkAbstractContextBufferId.h:43
vtkRenderingContext2DModule.h
vtkObject.h
Generated on Thu Mar 12 2015 20:31:56 for VTK by
1.8.8