VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
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
vtkBorderWidget::CreateDefaultRepresentation
virtual void CreateDefaultRepresentation()
vtkCameraWidget::SetRepresentation
void SetRepresentation(vtkCameraRepresentation *r)
Definition:
vtkCameraWidget.h:62
vtkBorderWidget
place a border around a 2D rectangular region
Definition:
vtkBorderWidget.h:87
vtkBorderWidget::New
static vtkBorderWidget * New()
vtkBorderWidget.h
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition:
vtkInteractionWidgetsModule.h:15
vtkCameraWidget
2D widget for saving a series of camera views
Definition:
vtkCameraWidget.h:46
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkBorderWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkCameraRepresentation
represent the vtkCameraWidget
Definition:
vtkCameraRepresentation.h:52
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkBorderWidget::SelectRegion
virtual void SelectRegion(double eventPos[2])
vtkInteractionWidgetsModule.h
Generated by
1.8.9.1