VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkUnstructuredGridSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkUnstructuredGridSource.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
=========================================================================*/
25
#ifndef __vtkUnstructuredGridSource_h
26
#define __vtkUnstructuredGridSource_h
27
28
#include "
vtkSource.h
"
29
30
class
vtkUnstructuredGrid
;
31
32
class
VTK_FILTERING_EXPORT
vtkUnstructuredGridSource
:
public
vtkSource
33
{
34
public
:
35
vtkTypeMacro(
vtkUnstructuredGridSource
,
vtkSource
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
40
vtkUnstructuredGrid
*
GetOutput
();
41
vtkUnstructuredGrid
*
GetOutput
(
int
idx);
42
void
SetOutput(
vtkUnstructuredGrid
*output);
44
45
protected
:
46
vtkUnstructuredGridSource
();
47
~vtkUnstructuredGridSource
() {};
48
49
// Since the Outputs[0] has the same UpdateExtent format
50
// as the generic DataObject we can copy the UpdateExtent
51
// as a default behavior.
52
void
ComputeInputUpdateExtents
(
vtkDataObject
*output);
53
54
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
55
private
:
56
vtkUnstructuredGridSource
(
const
vtkUnstructuredGridSource
&);
// Not implemented.
57
void
operator=(
const
vtkUnstructuredGridSource
&);
// Not implemented.
58
};
59
60
#endif
61
62
Generated on Sun Sep 9 2012 13:03:29 for VTK by
1.8.1.2