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
42class VTKIOPLY_EXPORT vtkPLYReader : public vtkAbstractPolyDataReader
43{
44public:
46 void PrintSelf(ostream& os, vtkIndent indent);
47
51 static vtkPLYReader *New();
52
56 static int CanReadFile(const char *filename);
57
58protected:
61
63private:
64 vtkPLYReader(const vtkPLYReader&) VTK_DELETE_FUNCTION;
65 void operator=(const vtkPLYReader&) VTK_DELETE_FUNCTION;
66};
67
68#endif
Superclass for algorithms that read models from a file.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read Stanford University PLY polygonal file format
Definition: vtkPLYReader.h:43
static vtkPLYReader * New()
Construct object with merging set to true.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static int CanReadFile(const char *filename)
A simple, non-exhaustive check to see if a file is a valid ply file.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.