VTK  9.2.6
vtkOBJReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOBJReader.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=========================================================================*/
37#ifndef vtkOBJReader_h
38#define vtkOBJReader_h
39
41#include "vtkIOGeometryModule.h" // For export macro
42
43class VTKIOGEOMETRY_EXPORT vtkOBJReader : public vtkAbstractPolyDataReader
44{
45public:
46 static vtkOBJReader* New();
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
55 vtkGetStringMacro(Comment);
57
58protected:
60 ~vtkOBJReader() override;
61
63
67 vtkSetStringMacro(Comment);
68
69 char* Comment;
70
71private:
72 vtkOBJReader(const vtkOBJReader&) = delete;
73 void operator=(const vtkOBJReader&) = delete;
74};
75
76#endif
Superclass for algorithms that read models from a file.
a simple class to control print indentation
Definition vtkIndent.h:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read Wavefront .obj files
~vtkOBJReader() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkOBJReader * New()