VTK
vtkSimplePointsReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSimplePointsReader.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 =========================================================================*/
27 #ifndef vtkSimplePointsReader_h
28 #define vtkSimplePointsReader_h
29 
30 #include "vtkIOLegacyModule.h" // For export macro
31 #include "vtkPolyDataAlgorithm.h"
32 
33 class VTKIOLEGACY_EXPORT vtkSimplePointsReader : public vtkPolyDataAlgorithm
34 {
35 public:
36  static vtkSimplePointsReader* New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
41 
44  vtkSetStringMacro(FileName);
45  vtkGetStringMacro(FileName);
47 
48 protected:
50  ~vtkSimplePointsReader() VTK_OVERRIDE;
51 
52  char* FileName;
53 
54  int RequestData(vtkInformation*,
56  vtkInformationVector*) VTK_OVERRIDE;
57 private:
58  vtkSimplePointsReader(const vtkSimplePointsReader&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkSimplePointsReader&) VTK_DELETE_FUNCTION;
60 };
61 
62 #endif
Store vtkAlgorithm input/output information.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
Read a list of points from a file.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.