VTK
9.1.0
IO
Geometry
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
=========================================================================*/
134
#ifndef vtkOBJReader_h
135
#define vtkOBJReader_h
136
137
#include "
vtkAbstractPolyDataReader.h
"
138
#include "vtkIOGeometryModule.h"
// For export macro
139
140
class
VTKIOGEOMETRY_EXPORT
vtkOBJReader
:
public
vtkAbstractPolyDataReader
141
{
142
public
:
143
static
vtkOBJReader
*
New
();
144
vtkTypeMacro(
vtkOBJReader
,
vtkAbstractPolyDataReader
);
145
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
146
148
152
vtkGetStringMacro(Comment);
154
155
protected
:
156
vtkOBJReader
();
157
~vtkOBJReader
()
override
;
158
159
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
160
164
vtkSetStringMacro(Comment);
165
166
char
*
Comment
;
167
168
private
:
169
vtkOBJReader
(
const
vtkOBJReader
&) =
delete
;
170
void
operator=(
const
vtkOBJReader
&) =
delete
;
171
};
172
173
#endif
vtkOBJReader::New
static vtkOBJReader * New()
vtkOBJReader::~vtkOBJReader
~vtkOBJReader() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkOBJReader::Comment
char * Comment
Definition:
vtkOBJReader.h:164
vtkOBJReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOBJReader::vtkOBJReader
vtkOBJReader()
vtkAbstractPolyDataReader
Superclass for algorithms that read models from a file.
Definition:
vtkAbstractPolyDataReader.h:37
vtkOBJReader
read Wavefront .obj files
Definition:
vtkOBJReader.h:141
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkOBJReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkAbstractPolyDataReader.h
Generated on Fri Nov 5 2021 00:11:12 for VTK by
1.8.20