VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
=========================================================================*/
36
#ifndef vtkPolyDataSourceWidget_h
37
#define vtkPolyDataSourceWidget_h
38
39
#include "
vtkInteractionWidgetsModule.h
"
// For export macro
40
#include "
vtk3DWidget.h
"
41
42
class
vtkPolyDataAlgorithm
;
43
44
class
VTKINTERACTIONWIDGETS_EXPORT
vtkPolyDataSourceWidget
:
public
vtk3DWidget
45
{
46
public
:
47
vtkTypeMacro
(
vtkPolyDataSourceWidget
,
vtk3DWidget
);
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
:
83
vtkPolyDataSourceWidget
();
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
vtkPolyDataSourceWidget::GetPolyDataAlgorithm
virtual vtkPolyDataAlgorithm * GetPolyDataAlgorithm()=0
vtkPolyDataSourceWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkPolyDataSourceWidget::vtkPolyDataSourceWidget
vtkPolyDataSourceWidget()
vtkInteractionWidgetsModule.h
vtkPolyDataSourceWidget::PlaceWidget
virtual void PlaceWidget(double bounds[6])=0
vtkPolyDataSourceWidget::PlaceWidget
void PlaceWidget(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Definition:
vtkPolyDataSourceWidget.h:62
vtkPolyDataSourceWidget::UpdatePlacement
virtual void UpdatePlacement()=0
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtk3DWidget
an abstract superclass for 3D widgets
Definition:
vtk3DWidget.h:70
vtkPolyDataSourceWidget::PlaceWidget
virtual void PlaceWidget()
vtkgl::zmax
GLclampd zmax
Definition:
vtkgl.h:17479
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition:
vtkInteractionWidgetsModule.h:15
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.20