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=========================================================================*/
137#ifndef vtkOBJReader_h
138#define vtkOBJReader_h
139
141#include "vtkIOGeometryModule.h" // For export macro
142
143class VTKIOGEOMETRY_EXPORT vtkOBJReader : public vtkAbstractPolyDataReader
144{
145public:
146 static vtkOBJReader* New();
148 void PrintSelf(ostream& os, vtkIndent indent) override;
149
151
155 vtkGetStringMacro(Comment);
157
158protected:
160 ~vtkOBJReader() override;
161
163
167 vtkSetStringMacro(Comment);
168
169 char* Comment;
170
171private:
172 vtkOBJReader(const vtkOBJReader&) = delete;
173 void operator=(const vtkOBJReader&) = delete;
174};
175
176#endif
Superclass for algorithms that read models from a file.
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read Wavefront .obj files
Definition: vtkOBJReader.h:144
~vtkOBJReader() override
char * Comment
Definition: vtkOBJReader.h:169
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()