VTK  9.5.20250803
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
133#ifndef vtkOBJReader_h
134#define vtkOBJReader_h
135
137#include "vtkIOGeometryModule.h" // For export macro
138
139VTK_ABI_NAMESPACE_BEGIN
140class VTKIOGEOMETRY_EXPORT vtkOBJReader : public vtkAbstractPolyDataReader
141{
142public:
143 static vtkOBJReader* New();
145 void PrintSelf(ostream& os, vtkIndent indent) override;
146
151 vtkGetStringMacro(Comment);
152
153protected:
155 ~vtkOBJReader() override;
156
158
162 vtkSetStringMacro(Comment);
163
164 char* Comment;
165
166private:
168
169 vtkOBJReader(const vtkOBJReader&) = delete;
170 void operator=(const vtkOBJReader&) = delete;
171};
172
173VTK_ABI_NAMESPACE_END
174#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.