VTK
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 
44 
45 
47 {
48 public:
50  static vtkCameraWidget *New();
51 
53 
55  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
63  {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
65 
68 
69 protected:
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
virtual void CreateDefaultRepresentation()
void SetRepresentation(vtkCameraRepresentation *r)
place a border around a 2D rectangular region
static vtkBorderWidget * New()
#define VTKINTERACTIONWIDGETS_EXPORT
2D widget for saving a series of camera views
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
represent the vtkCameraWidget
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
virtual void SelectRegion(double eventPos[2])