VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtk3DWidget.h
"
40
41
class
vtkPolyDataAlgorithm
;
42
class
vtkPolyDataSource
;
43
44
class
VTK_WIDGETS_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
68
74
virtual
vtkPolyDataSource
* GetPolyDataSource();
75
virtual
vtkPolyDataAlgorithm
* GetPolyDataAlgorithm() = 0;
77
81
virtual
void
UpdatePlacement() = 0;
82
83
protected
:
86
vtkPolyDataSourceWidget
();
87
88
private
:
89
// this copy constructor and assignment operator are deliberately not
90
// implemented so that any "accidental" invocation of a copy (pass by value)
91
// or assignment will trigger linker errors; the class is not meant to
92
// be used in these ways. I couldn't resist adding this explanation. :)
93
vtkPolyDataSourceWidget
(
const
vtkPolyDataSourceWidget
&);
// Not implemented.
94
void
operator=(
const
vtkPolyDataSourceWidget
&);
// Not implemented.
95
};
96
97
#endif
Generated on Fri Aug 2 2013 12:20:03 for VTK by
1.8.4