VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkContextView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContextView.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
=========================================================================*/
33
#ifndef __vtkContextView_h
34
#define __vtkContextView_h
35
36
#include "
vtkRenderViewBase.h
"
37
#include "
vtkSmartPointer.h
"
// Needed for SP ivars
38
39
class
vtkContext2D
;
40
class
vtkContextScene
;
41
42
class
VTK_CHARTS_EXPORT
vtkContextView
:
public
vtkRenderViewBase
43
{
44
public
:
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
vtkTypeMacro(
vtkContextView
,
vtkRenderViewBase
);
47
48
static
vtkContextView
*
New
();
49
51
virtual
void
SetContext(
vtkContext2D
*context);
52
54
virtual
vtkContext2D
* GetContext();
55
57
virtual
void
SetScene(
vtkContextScene
*scene);
58
60
virtual
vtkContextScene
* GetScene();
61
62
protected
:
63
vtkContextView
();
64
~
vtkContextView
();
65
66
vtkSmartPointer<vtkContextScene>
Scene
;
67
vtkSmartPointer<vtkContext2D>
Context
;
68
69
private
:
70
vtkContextView
(
const
vtkContextView
&);
// Not implemented.
71
void
operator=(
const
vtkContextView
&);
// Not implemented.
72
};
73
74
#endif
Generated on Wed May 30 2012 13:21:49 for VTK by
1.8.1