VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkContextClip.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContextItem.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
=========================================================================*/
15
25
#ifndef __vtkContextClip_h
26
#define __vtkContextClip_h
27
28
#include "
vtkAbstractContextItem.h
"
29
#include "
vtkSmartPointer.h
"
// Needed for SP ivars.
30
31
class
VTK_CHARTS_EXPORT
vtkContextClip
:
public
vtkAbstractContextItem
32
{
33
public
:
34
vtkTypeMacro(
vtkContextClip
,
vtkAbstractContextItem
);
35
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
36
38
static
vtkContextClip
*
New
();
39
43
virtual
void
Update
();
44
46
virtual
bool
Paint
(
vtkContext2D
*painter);
47
50
virtual
void
SetClip(
float
x,
float
y,
float
width,
float
height
);
51
52
//BTX
53
protected
:
54
vtkContextClip
();
55
~
vtkContextClip
();
56
57
float
Dims[4];
58
59
private
:
60
vtkContextClip
(
const
vtkContextClip
&);
// Not implemented.
61
void
operator=(
const
vtkContextClip
&);
// Not implemented.
62
//ETX
63
};
64
65
#endif //__vtkContextClip_h
Generated on Thu Mar 13 2014 08:09:43 for VTK by
1.8.1.2