VTK  9.5.2
vtkOBJReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
130#ifndef vtkOBJReader_h
131#define vtkOBJReader_h
132
134#include "vtkIOGeometryModule.h" // For export macro
135
136VTK_ABI_NAMESPACE_BEGIN
137class VTKIOGEOMETRY_EXPORT vtkOBJReader : public vtkAbstractPolyDataReader
138{
139public:
140 static vtkOBJReader* New();
142 void PrintSelf(ostream& os, vtkIndent indent) override;
143
148 vtkGetStringMacro(Comment);
149
150protected:
152 ~vtkOBJReader() override;
153
155
159 vtkSetStringMacro(Comment);
160
161 char* Comment;
162
163private:
165
166 vtkOBJReader(const vtkOBJReader&) = delete;
167 void operator=(const vtkOBJReader&) = delete;
168};
169
170VTK_ABI_NAMESPACE_END
171#endif
Superclass for algorithms that read models from a file.
a simple class to control print indentation
Definition vtkIndent.h:108
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()
Hold a reference to a vtkObjectBase instance.