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 "vtkBorderWidget.h"
41 
43 
44 
46 {
47 public:
49  static vtkCameraWidget *New();
50 
52 
54  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
62  {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
64 
67 
68 protected:
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
virtual void CreateDefaultRepresentation()
void SetRepresentation(vtkCameraRepresentation *r)
place a border around a 2D rectangular region
static vtkBorderWidget * New()
2D widget for saving a series of camera views
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_WIDGETS_EXPORT
represent the vtkCameraWidget
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
virtual void SelectRegion(double eventPos[2])