VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkContextActor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContextActor.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
=========================================================================*/
26
#ifndef __vtkContextActor_h
27
#define __vtkContextActor_h
28
29
#include "
vtkProp.h
"
30
31
class
vtkContext2D
;
32
class
vtkContextScene
;
33
34
class
VTK_CHARTS_EXPORT
vtkContextActor
:
public
vtkProp
35
{
36
public
:
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
vtkTypeMacro(
vtkContextActor
,
vtkProp
);
39
40
static
vtkContextActor
*
New
();
41
43
virtual
int
RenderOverlay
(
vtkViewport
*viewport);
44
46
virtual
void
SetContext(
vtkContext2D
*context);
47
49
50
vtkGetObjectMacro(Context,
vtkContext2D
);
52
54
55
vtkGetObjectMacro(
Scene
,
vtkContextScene
);
57
59
virtual
void
SetScene(
vtkContextScene
*scene);
60
64
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*window);
65
66
protected
:
67
vtkContextActor
();
68
~
vtkContextActor
();
69
72
void
Initialize(
vtkViewport
* viewport);
73
74
vtkContextScene
*
Scene
;
75
vtkContext2D
*
Context
;
76
bool
Initialized
;
77
78
private
:
79
vtkContextActor
(
const
vtkContextActor
&);
// Not implemented.
80
void
operator=(
const
vtkContextActor
&);
// Not implemented.
81
};
82
83
#endif
Generated on Sun Sep 9 2012 13:03:25 for VTK by
1.8.1.2