VTK
9.0.1
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
=========================================================================*/
25
#ifndef vtkOBJReader_h
26
#define vtkOBJReader_h
27
28
#include "
vtkAbstractPolyDataReader.h
"
29
#include "vtkIOGeometryModule.h"
// For export macro
30
31
class
VTKIOGEOMETRY_EXPORT
vtkOBJReader
:
public
vtkAbstractPolyDataReader
32
{
33
public
:
34
static
vtkOBJReader
*
New
();
35
vtkTypeMacro(
vtkOBJReader
,
vtkAbstractPolyDataReader
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
43
vtkGetStringMacro(Comment);
45
46
protected
:
47
vtkOBJReader
();
48
~
vtkOBJReader
()
override
;
49
50
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
51
55
vtkSetStringMacro(Comment);
56
57
char
*
Comment
;
58
59
private
:
60
vtkOBJReader
(
const
vtkOBJReader
&) =
delete
;
61
void
operator=(
const
vtkOBJReader
&) =
delete
;
62
};
63
64
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkOBJReader::Comment
char * Comment
Definition:
vtkOBJReader.h:55
vtkAbstractPolyDataReader
Superclass for algorithms that read models from a file.
Definition:
vtkAbstractPolyDataReader.h:36
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkOBJReader
read Wavefront .obj files
Definition:
vtkOBJReader.h:31
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkAbstractPolyDataReader.h
vtkAbstractPolyDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17