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 =========================================================================*/
35 #ifndef __vtkPLYReader_h
36 #define __vtkPLYReader_h
37 
38 #include "vtkIOPLYModule.h" // For export macro
39 #include "vtkPolyDataAlgorithm.h"
40 
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48  static vtkPLYReader *New();
49 
51 
52  vtkSetStringMacro(FileName);
53  vtkGetStringMacro(FileName);
55 
57  static int CanReadFile(const char *filename);
58 
59 protected:
60  vtkPLYReader();
61  ~vtkPLYReader();
62 
63  char *FileName;
64 
66 private:
67  vtkPLYReader(const vtkPLYReader&); // Not implemented.
68  void operator=(const vtkPLYReader&); // Not implemented.
69 };
70 
71 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:94
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
char * FileName
Definition: vtkPLYReader.h:63
#define vtkGetStringMacro(name)
Definition: vtkSetGet.h:120
read Stanford University PLY polygonal file format
Definition: vtkPLYReader.h:41
Store zero or more vtkInformation instances.
#define VTKIOPLY_EXPORT