VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
vtkCameraWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCameraWidget.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
=========================================================================*/
37
#ifndef __vtkCameraWidget_h
38
#define __vtkCameraWidget_h
39
40
#include "
vtkBorderWidget.h
"
41
42
class
vtkCameraRepresentation
;
43
44
45
class
VTK_WIDGETS_EXPORT
vtkCameraWidget
:
public
vtkBorderWidget
46
{
47
public
:
49
static
vtkCameraWidget
*
New
();
50
52
53
vtkTypeMacro(
vtkCameraWidget
,
vtkBorderWidget
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
61
void
SetRepresentation
(
vtkCameraRepresentation
*r)
62
{this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
64
66
void
CreateDefaultRepresentation
();
67
68
protected
:
69
vtkCameraWidget
();
70
~
vtkCameraWidget
();
71
75
virtual
void
SelectRegion
(
double
eventPos[2]);
76
77
private
:
78
vtkCameraWidget
(
const
vtkCameraWidget
&);
//Not implemented
79
void
operator=(
const
vtkCameraWidget
&);
//Not implemented
80
};
81
82
#endif
Generated on Wed May 30 2012 13:22:26 for VTK by
1.8.1