VTK
vtkPolyDataSourceWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataSourceWidget.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 =========================================================================*/
36 #ifndef vtkPolyDataSourceWidget_h
37 #define vtkPolyDataSourceWidget_h
38 
39 #include "vtkInteractionWidgetsModule.h" // For export macro
40 #include "vtk3DWidget.h"
41 
43 
45 {
46  public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
52  virtual void PlaceWidget();
53 
58  virtual void PlaceWidget(double bounds[6]) = 0;
59 
61 
62  void PlaceWidget(double xmin, double xmax, double ymin, double ymax,
63  double zmin, double zmax)
64  {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
66 
73  virtual vtkPolyDataAlgorithm* GetPolyDataAlgorithm() = 0;
74 
78  virtual void UpdatePlacement() = 0;
79 
80 protected:
84 
85 private:
86  // this copy constructor and assignment operator are deliberately not
87  // implemented so that any "accidental" invocation of a copy (pass by value)
88  // or assignment will trigger linker errors; the class is not meant to
89  // be used in these ways. I couldn't resist adding this explanation. :)
90  vtkPolyDataSourceWidget(const vtkPolyDataSourceWidget&); // Not implemented.
91  void operator=(const vtkPolyDataSourceWidget&); // Not implemented.
92 };
93 
94 #endif
abstract PolyDataSource-based 3D widget
void PlaceWidget(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
#define VTKINTERACTIONWIDGETS_EXPORT
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
an abstract superclass for 3D widgets
Definition: vtk3DWidget.h:69
virtual void PlaceWidget()