VTK
dox
Interaction
Widgets
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
=========================================================================*/
37
#ifndef vtkPolyDataSourceWidget_h
38
#define vtkPolyDataSourceWidget_h
39
40
#include "vtkInteractionWidgetsModule.h"
// For export macro
41
#include "
vtk3DWidget.h
"
42
43
class
vtkPolyDataAlgorithm
;
44
45
class
VTKINTERACTIONWIDGETS_EXPORT
vtkPolyDataSourceWidget
:
public
vtk3DWidget
46
{
47
public
:
48
vtkTypeMacro(
vtkPolyDataSourceWidget
,
vtk3DWidget
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
50
55
void
PlaceWidget
()
override
;
56
63
void
PlaceWidget
(
double
bounds[6])
override
= 0;
64
68
void
PlaceWidget
(
double
xmin,
double
xmax,
double
ymin,
double
ymax,
69
double
zmin,
double
zmax)
override
70
{this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
71
79
virtual
vtkPolyDataAlgorithm
* GetPolyDataAlgorithm() = 0;
80
86
virtual
void
UpdatePlacement() = 0;
87
88
protected
:
93
vtkPolyDataSourceWidget
();
94
95
private
:
96
// this copy constructor and assignment operator are deliberately not
97
// implemented so that any "accidental" invocation of a copy (pass by value)
98
// or assignment will trigger linker errors; the class is not meant to
99
// be used in these ways. I couldn't resist adding this explanation. :)
100
vtkPolyDataSourceWidget
(
const
vtkPolyDataSourceWidget
&) =
delete
;
101
void
operator=(
const
vtkPolyDataSourceWidget
&) =
delete
;
102
};
103
104
#endif
vtk3DWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtk3DWidget
an abstract superclass for 3D widgets
Definition:
vtk3DWidget.h:67
vtkPolyDataSourceWidget::PlaceWidget
void PlaceWidget(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) override
Convenience method brought over from vtkPlaneWidget.
Definition:
vtkPolyDataSourceWidget.h:68
vtk3DWidget::PlaceWidget
virtual void PlaceWidget()
vtkPolyDataSourceWidget
abstract PolyDataSource-based 3D widget
Definition:
vtkPolyDataSourceWidget.h:45
vtk3DWidget.h
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16