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
VTK_CHARTS_EXPORT
#define VTK_CHARTS_EXPORT
Definition:
vtkWin32Header.h:285
vtkSmartPointer< vtkContextScene >
vtkContextView::Scene
vtkSmartPointer< vtkContextScene > Scene
Definition:
vtkContextView.h:66
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:54
vtkContextScene
Provides a 2D scene for vtkContextItem objects.
Definition:
vtkContextScene.h:46
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkSmartPointer.h
vtkContextView::Context
vtkSmartPointer< vtkContext2D > Context
Definition:
vtkContextView.h:67
vtkContextView
provides a view of the vtkContextScene.
Definition:
vtkContextView.h:42
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6