VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
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 "vtkInteractionWidgetsModule.h"
// For export macro
41
#include "
vtkBorderWidget.h
"
42
43
class
vtkCameraRepresentation
;
44
45
46
class
VTKINTERACTIONWIDGETS_EXPORT
vtkCameraWidget
:
public
vtkBorderWidget
47
{
48
public
:
50
static
vtkCameraWidget
*
New
();
51
53
54
vtkTypeMacro(
vtkCameraWidget
,
vtkBorderWidget
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
59
62
void
SetRepresentation
(
vtkCameraRepresentation
*r)
63
{this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
65
67
void
CreateDefaultRepresentation
();
68
69
protected
:
70
vtkCameraWidget
();
71
~
vtkCameraWidget
();
72
76
virtual
void
SelectRegion
(
double
eventPos[2]);
77
78
private
:
79
vtkCameraWidget
(
const
vtkCameraWidget
&);
//Not implemented
80
void
operator=(
const
vtkCameraWidget
&);
//Not implemented
81
};
82
83
#endif
Generated on Thu May 24 2012 22:22:27 for VTK by
1.8.1