forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvtkStructuredPointsSource.h
58 lines (42 loc) · 1.82 KB
/
vtkStructuredPointsSource.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*=========================================================================
Program: Visualization Toolkit
Module: vtkStructuredPointsSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkStructuredPointsSource - Abstract class whose subclasses generates structured Points data
// .SECTION Description
// vtkStructuredPointsSource is an abstract class whose subclasses generate
// structured Points data.
// .SECTION See Also
// vtkStructuredPointsReader vtkPLOT3DReader
#ifndef __vtkStructuredPointsSource_h
#define __vtkStructuredPointsSource_h
#include "vtkSource.h"
class vtkStructuredPoints;
class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource
{
public:
vtkTypeMacro(vtkStructuredPointsSource,vtkSource);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set/Get the output of this source.
void SetOutput(vtkStructuredPoints *output);
vtkStructuredPoints *GetOutput();
vtkStructuredPoints *GetOutput(int idx);
protected:
vtkStructuredPointsSource();
~vtkStructuredPointsSource() {};
// Default method performs Update to get information. Not all the old
// structured points sources compute information
void ExecuteInformation();
virtual int FillOutputPortInformation(int, vtkInformation*);
private:
vtkStructuredPointsSource(const vtkStructuredPointsSource&); // Not implemented.
void operator=(const vtkStructuredPointsSource&); // Not implemented.
};
#endif