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
Views
Context2D
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 "vtkViewsContext2DModule.h"
// For export macro
37
#include "
vtkRenderViewBase.h
"
38
#include "vtkSmartPointer.h"
// Needed for SP ivars
39
40
class
vtkContext2D;
41
class
vtkContextScene;
42
43
class
VTKVIEWSCONTEXT2D_EXPORT
vtkContextView
:
public
vtkRenderViewBase
44
{
45
public
:
46
void
PrintSelf
(ostream& os, vtkIndent indent);
47
vtkTypeMacro(
vtkContextView
,
vtkRenderViewBase
);
48
49
static
vtkContextView
*
New
();
50
52
virtual
void
SetContext(vtkContext2D *context);
53
55
virtual
vtkContext2D* GetContext();
56
58
virtual
void
SetScene(vtkContextScene *scene);
59
61
virtual
vtkContextScene* GetScene();
62
63
protected
:
64
vtkContextView
();
65
~
vtkContextView
();
66
67
vtkSmartPointer<vtkContextScene>
Scene
;
68
vtkSmartPointer<vtkContext2D>
Context
;
69
70
private
:
71
vtkContextView
(
const
vtkContextView
&);
// Not implemented.
72
void
operator=(
const
vtkContextView
&);
// Not implemented.
73
};
74
75
#endif
vtkContextView::Scene
vtkSmartPointer< vtkContextScene > Scene
Definition:
vtkContextView.h:67
vtkRenderViewBase
A base view containing a renderer.
Definition:
vtkRenderViewBase.h:48
vtkRenderViewBase::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkContextView::Context
vtkSmartPointer< vtkContext2D > Context
Definition:
vtkContextView.h:68
vtkRenderViewBase.h
vtkRenderViewBase::New
static vtkRenderViewBase * New()
vtkContextView
provides a view of the vtkContextScene.
Definition:
vtkContextView.h:43
Generated on Sat Apr 12 2014 01:07:57 for VTK by
1.8.6