VTK
vtkPLYReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPLYReader.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 vtkPLYReader_h
37 #define vtkPLYReader_h
38 
39 #include "vtkIOPLYModule.h" // For export macro
41 
42 class vtkStringArray;
43 
44 class VTKIOPLY_EXPORT vtkPLYReader : public vtkAbstractPolyDataReader
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
53  static vtkPLYReader *New();
54 
58  static int CanReadFile(const char *filename);
59 
60  vtkGetObjectMacro(Comments, vtkStringArray);
61 
62 protected:
63  vtkPLYReader();
64  ~vtkPLYReader() override;
65 
67 
69 private:
70  vtkPLYReader(const vtkPLYReader&) = delete;
71  void operator=(const vtkPLYReader&) = delete;
72 };
73 
74 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkStringArray * Comments
Definition: vtkPLYReader.h:66
a vtkAbstractArray subclass for strings
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that read models from a file.
a simple class to control print indentation
Definition: vtkIndent.h:39
read Stanford University PLY polygonal file format
Definition: vtkPLYReader.h:44
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.