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
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:49
VTK_CHARTS_EXPORT
#define VTK_CHARTS_EXPORT
Definition:
vtkWin32Header.h:285
vtkProp::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkContextActor::Context
vtkContext2D * Context
Definition:
vtkContextActor.h:75
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:45
vtkProp::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
Definition:
vtkProp.h:174
vtkContextActor::Scene
vtkContextScene * Scene
Definition:
vtkContextActor.h:74
vtkProp::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition:
vtkProp.h:236
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkContextActor::Initialized
bool Initialized
Definition:
vtkContextActor.h:76
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
vtkContextActor
provides a vtkProp derived object.
Definition:
vtkContextActor.h:34
vtkProp.h
vtkObject::New
static vtkObject * New()
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6